Ensuring browser does not cache a page

Is the following sufficient to instruct browsers not to cache a page, or do I need more directives?

header('Cache-Control: no-store, must-revalidate');


I would say so, but you know browsers, they do what they want. I can’t think of anything else you need or use.

1 Like

Thank, squire. Yes, there’s always a “but”…

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.