disallow cache

This commit is contained in:
lopar 2019-01-14 22:58:18 +02:00
parent dbc01aa09d
commit 88c06b3b58
1 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,13 @@ ini_set('display_errors', 'On');
error_reporting(E_ALL);
define("GAMEDOMAIN","combats.loc");
/*
* Запрещвем кэшировать
*/
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
/**
* Классы для работы с базой данных.
*/