Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML: force proxy server to fetch new copy of page

Tags:

html

caching

I know this is a duplicate question, but I've tried:

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> 
<META HTTP-EQUIV="EXPIRES" CONTENT="-1">
<meta http-equiv="pragma" content="no-cache" />

And yet I still sometimes get cached pages. (old data etc.)

And this is the solution I've always seen when searching stackoverflow for a sollution.

like image 385
jack Avatar asked Dec 05 '25 15:12

jack


1 Answers

You should send the cache-control headers with the HTTP protocol. The proxy you are using may not parse HTML for meta tags.

Cache-Control: no-cache

like image 106
Utku Zihnioglu Avatar answered Dec 08 '25 07:12

Utku Zihnioglu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!