New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

I can't get cache to clear. Any ideas?

Scott Westerfield December 12, 2018 by Scott Westerfield

I've put a file on the system here: https://SITE.com/site/themes/THEME/js/FILENAME.js

When I go to make a change, the change does not appear.

Looked in /local/framework/storage/cache but the cache is empty.

Logged on to the server and ran these:
php please clear:cache
php please clear:static

Restarted Apache:
sudo /etc/init.d/httpd restart

Rebooted the Server

Installed Cache Mager and PowerTools and used their functionality to clear cache.

I've update caching.yaml to include:
static_caching_exclude:
- /site/themes/THEME/js/FILE.js

Nothing works. The file won't update. And then, mysteriously, sometime later, it will update.

Answered by Scott Westerfield!
>>>>>>> Answered <<<<<<<
2 Replies
2 Followers