How to be sure to get last page version without ANY cache?
As developer, you want all the time the last version files on page refresh action.
As I understood, there are 3 kinds of cache :
- Browser cache (Browser settings)
- Website cache (WP plugins)
- Proxy cache (HTTP Headers)
For some reasons, there are some days where I can removed browser cache, download a new browser on WordPress project without any cache plugin…
If I keypress F5, CTRL+F5 or CTRL+Shift+R, I got an old version, sometimes version older.
I can loose hours like this.
One friend told me to see about the proxy cache and force the HTTP Header to get the last files version.
I got this raw header :
GET /preprod/sign-up/ HTTP/2 Host: mysite.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Referer: ... DNT: 1 Connection: keep-alive Cookie: wordpress_test_cookie=WP+Cookie+check; bid_1_password_protected_auth=1111111111111111111111; SERVERID123456=1234 Upgrade-Insecure-Requests: 1 Pragma: no-cache Cache-Control: no-cache
- How can I check if it can be a proxy cache matter ?
- How can I resolve that in this case on a WordPress site ?