I’m making my website in Adobe Muse (I know about EOL, please don’t point to that).
The problem is, even after publishing the changes, they aren’t immediately reflected by the browser. I have to clear cache and only then, the changes show up. The thing is, I can keep clearing cache to see the changes, but, I can’t keep telling my users to keep clearing cache to view my site.
Also, I’ve used this code in :
which I found out by searching on Google. I also read that it's not much of use and yeah, it indeed isn't much of use.The other thing I read about is versioning i.e., I can add ?v1.1 or something like that in js and css so that browser loads the thing from the source and not from cache. But, I don’t really want to add that to every js and css file. It’s time consuming for me.
Even in CloudFlare, I have set browser cache expiration time as 30 mins. (that’s the minimum value available there). I don’t really know if the cache is expiring after 30 mins. or no because I need to see how my website is looking immediately after I publish it, so, I can’t wait for 30 mins. to check it. Also, I can use the preview function in Adobe Muse, but there are some scripts which only load when the browser’s address bar is showing my domain. So, I need to preview my website in the published state itself. And yeah, just to mention, the problem isn’t with CloudFlare cache as when I clear my cache, the website is reflecting the changes.
Also, there’s this one thing I read somewhere that servers can also set the cache time in browsers, something like that. I don’t remember quite well, but, it basically meant that browser’s cache expiration can also depend on server’s configuration.
So, I want to know, if it’s just my website that’s suffering from this issue, or are other website suffering too? Is the server configuration thing true? And if it’s just my website, what can I do to prevent browser from loading my website from its cache? Or is something wrong with Muse if anyone has any clue about it?
Any help will be appreciated. Thank you.