A free, self-hostable news aggregator…
Cache des icônes : uniformisation à 1 mois
Alexandre Alapetite3fdb20b0811e
diff --git a/public/.htaccess b/public/.htaccessindex 8653826f8..fefe8b226 100644--- a/public/.htaccess+++ b/public/.htaccess@@ -27,7 +27,7 @@ AddDefaultCharset UTF-8ExpiresByType image/gif "access plus 1 month"ExpiresByType image/png "access plus 1 month"ExpiresByType image/svg+xml "access plus 1 month"- ExpiresByType image/x-icon "access plus 1 year"+ ExpiresByType image/x-icon "access plus 1 month"ExpiresByType text/css "access plus 1 month"ExpiresByType text/javascript "access plus 1 month"<FilesMatch "\.php$">diff --git a/public/f.php b/public/f.phpindex 85e73113a..a56d58617 100644--- a/public/f.php+++ b/public/f.php@@ -65,6 +65,6 @@ require(LIB_PATH . '/http-conditional.php');header('Content-Type: image/x-icon');header('Content-Disposition: inline; filename="' . $id . '.ico"');-if (!httpConditional($icoMTime, 31557600, 2)) {+if (!httpConditional($icoMTime, 2592000, 2)) {readfile($ico);}