diff --git a/src/Templates/DeferredRequirements.php b/src/Templates/DeferredRequirements.php index a7587b7..ef0718c 100755 --- a/src/Templates/DeferredRequirements.php +++ b/src/Templates/DeferredRequirements.php @@ -249,7 +249,7 @@ class DeferredRequirements implements TemplateGlobalProvider ); $absolutePath = Director::getAbsFile($path); - $hash = sha1_file($absolutePath); + $hash = filemtime($absolutePath); $version = $config['version'] ? '&v='.$config['version'] : ''; //$static_domain = $config['static_domain'];