MR-VL / Consolidev

GNU Affero General Public License v3.0
0 stars 3 forks source link

Determine if browser cache affects any pages #55

Closed MR-VL closed 2 weeks ago

MR-VL commented 1 month ago

Lilly put in some code to prevent browser cache but it seems to work fine without it, The program should not really be cache anything because it isn't set to do so

One place where if may cache is the login/register

// Prevent browser caching //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");

MR-VL commented 2 weeks ago

Fixed in #69 Moved the Cache control header to init.php which should be global