diff --git a/src/Services/NetworkingService.php b/src/Services/NetworkingService.php index ddd12f4d..1731e63b 100644 --- a/src/Services/NetworkingService.php +++ b/src/Services/NetworkingService.php @@ -19,7 +19,7 @@ class NetworkingService $secondsToLive = $daysToLive * 24 * 60 * 60; $lastModified = filemtime($fullPath); - $eTag = md5(file_get_contents($fullPath)); //todo: faster + $eTag = md5($fullPath . $lastModified); $ifModifiedSince = isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) ? $_SERVER['HTTP_IF_MODIFIED_SINCE']