Magento website gets garbled and page elements are often scattered
I'm working on a magento website that works great, but sometimes after making changes, I reload the website with CSS, the JS won't load and all the elements are scattered and the website gets messy. After clearing the cache and many reloads, the website starts working normally again. I used the CSS and JS merge option, but now I turned it off, but still I ran into this error. Have any of you ever encountered such an error? Or any idea how to resolve this error? I am really stuck over it.
thank
source to share
CSS and JS files get stuck in the browser cache until they are forcefully flushed.
Reloading the CTL-F5 development page to see the changes or find the browser cache clearing function.
If you make these changes to your website, your customers will hate it. Use the developer's site to test all changes until they are fully fixed before you make any changes to the site.
This is not a bug, it is a persistent browser caching feature.
Several questions related to the problem
force refresh of cached CSS data
source to share