Confusing caching at web hosting provider
I kept on adding debugging code to a webpage, but nothing showed up.
I thought maybe the browser was not working.
But it was my hosting provider caching the little JavaScript file. When I clicked the 'Clear cache' button, everything worked.
Chrome's Lighthouse does complain about the response times from my cheap hosting plan with Hostinger. So caching is probably a good idea.
This problem always seems to happen to small CSS and JavaScript files.

Comments
Post a Comment