Excellent module, pretty easy to set up and use. I got it up and running yesterday and noticed an immediate improvement. Everything's great so far. But...now I need to tweak the CSS on my custom theme, and I can't figure out how to get rid of the Boost cached versions!

Under Boost settings, I disabled Static page cache, Cache CSS, and Ignore cache flushing. Saved and then tried flushing the caches both through Drupal's Performance page and Boost. I cleared Boost's database as well. That seems to have gotten rid of everything except what I wanted to lose, the CSS files. I tried disabling the module. I even tried deleting the CSS files via FTP, but I get Permission Denied.

Am I missing something obvious here?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

CSS files will get overwritten, so if you change it it will auto update with the latest version. In terms of deleting whats in the permanent dir "perm" I haven't thought of doing that yet. If you would like to clear out the CSS anyway, let me know and I'll make some buttons for clearing the CSS and JavaScript. Boost tends to work best with CSS and JS file aggregation turned on.

alrueden’s picture

Just to be entirely thorough, the way I update CSS files is to overwrite the old ones using FTP. So in theory, they should have updated immediately and shown my changes, correct? But when I go back to the site today, the CSS is still the old cached version from yesterday, even though cron runs every hour. It's also the same whether I'm logged in or not. I see this on two different computers and I've cleared my browser cache multiple times on each.

+1 for clear CSS/JS buttons. There may be a larger problem here, but it's probably nothing nuking the cache won't fix.

mikeytown2’s picture

How it works is when the boost cache is set the css files get set, so if you clear the html then the new css will take. Good point though; I'll put in the clear button.

mikeytown2’s picture

Title: How to clear cached CSS? » Clear cached CSS and/or JS button
Category: support » feature
mikeytown2’s picture

Status: Active » Needs review
FileSize
4.52 KB

The Reset button at the bottom of the boost page should clear the cache now :) also gives you a total file count.

mikeytown2’s picture

FileSize
4.97 KB

Decided that the "Clear All Cached Data" button under 'Boost File Cache' will clear the css/js as well.

mikeytown2’s picture

Status: Needs review » Needs work

Need to make it work with the parallel module.

mikeytown2’s picture

FileSize
5.33 KB

Parallel is 1/2 supported, still need to add in the .boost files in the correct directories.

mikeytown2’s picture

Status: Needs work » Needs review
FileSize
8.21 KB
mikeytown2’s picture

Status: Needs review » Fixed

committed

alrueden’s picture

Downloaded the new version, and it works like a dream! Thanks so much!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.