mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-14 23:02:45 -04:00
Commentaire ETag
This commit is contained in:
1 parent
7cdc477c45
commit
2a798e544b
1 file changed
+1
-1
+1
-1
@@ -31,7 +31,7 @@ if (file_exists ('install.php')) {
|
||||
@filemtime(LOG_PATH . '/application.log'),
|
||||
@filemtime(DATA_PATH . '/application.ini')
|
||||
);
|
||||
$_SERVER['QUERY_STRING'] .= '&utime=' . file_get_contents(DATA_PATH . '/touch.txt');
|
||||
$_SERVER['QUERY_STRING'] .= '&utime=' . file_get_contents(DATA_PATH . '/touch.txt'); //For ETag
|
||||
if (httpConditional($dateLastModification, 0, 0, false, false, true)) {
|
||||
exit(); //No need to send anything
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user