Skip to content

Instantly share code, notes, and snippets.

@IgorGavrilenko
Created March 26, 2020 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IgorGavrilenko/cc5510f6892f570100820ef9ecd8e9b9 to your computer and use it in GitHub Desktop.
Save IgorGavrilenko/cc5510f6892f570100820ef9ecd8e9b9 to your computer and use it in GitHub Desktop.
сброс кэша
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
header('Expires: Sat, 03 Aug 2013 00:00:00 GMT');
header('Last-Modified: ' . gmdate( 'D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment