Theme changes not showing up in the browser

I just had a question about the theme files: it seems that when I try to add new styles to them, it takes a really long time for them to get picked up and display. Is there something I can do?

1 Like

Sure thing – Manually hard-refreshing in your browser can be a starting point to seeing changes. In general though, those types of edits should be picked up relatively quickly—occasionally a little bit longer with the load balancer that syncs the changes to web2 (up to a 60sec sync). Also sometimes included LESS/SCSS partials don’t always auto-detect, so re-saving the parent file might be necessary.

We’ve seen that some SFTP browsers where it’s possible to update a file without updating its Last Modified timestamp—that’s what LiveWhale uses to know when to clear the cache.

If you’re still running into any issues where your changes aren’t picked up, you can refresh individual files (CSS, HTML components) in your web inspector by appending ?refresh=1 to the URL. Hope that helps!

While this does work, is there not a way to either disable cache, or speed up the compile rate (or whatever is causing this delay)?

Hi Ben,

Sure thing – sometimes if you’re not seeing changes it can be because of an .scss or .less syntax error, if that’s helpful. Typically an error log file will end up in the /styles/ folder if that’s the case.

Otherwise, when logged in you can go to “Hi, Your Name” > User Settings in the top right navigation and disable certain caching there. Otherwise, on dev sites where development_mode is enabled, most caching layers are disabled so hopefully that improves things there. Let us know if you’re continuing to see delays or issues with this even with those tips implemented and we can advise further, or can check out your code in a hands-on way via personalized email support or via the help request form. Thanks!

1 Like

I did discover the LESS compilation issue :slight_smile: Thank you for the User Settings tip!

1 Like

This topic was automatically closed after 360 days. New replies are no longer allowed.