Clear cached CSS and/or JS button
| Project: | Boost |
| Version: | 6.x-1.13 |
| Component: | Caching logic |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
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?

#1
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.
#2
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.
#3
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.
#4
#5
The Reset button at the bottom of the boost page should clear the cache now :) also gives you a total file count.
#6
Decided that the "Clear All Cached Data" button under 'Boost File Cache' will clear the css/js as well.
#7
Need to make it work with the parallel module.
#8
Parallel is 1/2 supported, still need to add in the
.boostfiles in the correct directories.#9
#10
committed
#11
Downloaded the new version, and it works like a dream! Thanks so much!
#12
Automatically closed -- issue fixed for 2 weeks with no activity.