![]() |
How do you REALLY disable website caching?
So I check news sites like CNN a few times a day, and one thing I've noticed is that they never show me cached pages. I've tried the usual HTML tricks to disable caching but I never seem to have perfect success. How do sites like CNN.com do it?
|
HTTP/1.1 200 OK
Server: Powered by Acwebconnecting Date: Tue, 04 Oct 2016 16:20:52 GMT Content-Type: text/html; Charset=UTF-8 Transfer-Encoding: chunked Connection: keep-alive Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Vary: Accept-Encoding, Accept-Encoding CDN-Region: n-cdn-us-ec Content-Encoding: gzip You need to set the right headers How to set HTTP headers (for cache-control)? - Stack Overflow 2Much.net | Webcam pay-per-minute billing & streaming software HTTP/1.1 200 OK Date: Tue, 04 Oct 2016 16:34:24 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Cache-Control: max-age=2592000 Expires: Thu, 03 Nov 2016 16:34:24 GMT Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 |
All times are GMT -7. The time now is 03:07 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc