Website not updating - no cache plugins active!

I've a problem with my WordPress website getting updated after I make changes to its code:

I'm using phpStorm with auto-save, running the website on WAMP, locally. Therefore, right after I right new code, the file in which I write the code in should be updated, and the website quickly after that.

Yet the website doesn't update.

I'm not using any cache plugins, and in my browser, Chrome, I disabled caching.

Also, it does get updated, but only after I make changes to the website - like disable and then enable again a plugin - so it can store new cache, but for some reason, it doesn't do it automatically, and keeps using old cache when I don't make any changes via the dashboard.

Why does this happen and how can I fix it?

Topic cache automatic-updates updates Wordpress

Category Web


This is related to expire header. Try to add a time less than 180 seconds

ExpiresByType text/html "access plus 180 seconds"

either in server or htaccess.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.