Fork me on GitHub

Comment by quy (2016-02-01 17:16:10)

Edited by quy (2016-02-01 17:18:10)

 1:  1:
-Based on the [url=https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching?cache-control-1#defining-optimal-cache-control-policy]flowchart[/url] that Visman provided, I assume the following would be enough:+Based on the [url=https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching?cache-control-1#defining-optimal-cache-control-policy]flowchart[/url] under Defining optimal Cache-Control policy from the link Visman provided, I assume the following would be enough:
 [code]  [code]
 header('Cache-Control: no-cache, no-store');  header('Cache-Control: no-cache, no-store');
 header('Pragma: no-cache'); // For HTTP/1.0 compatibility  header('Pragma: no-cache'); // For HTTP/1.0 compatibility
 [/code] [/code]