mirror of
https://github.com/mrclay/minify.git
synced 2025-09-09 21:50:55 +02:00
Allow long expires with "v" query string param
This commit is contained in:
@@ -60,7 +60,7 @@ if ($min_errorLogger) {
|
||||
}
|
||||
|
||||
// check for URI versioning
|
||||
if (preg_match('/&\\d/', $_SERVER['QUERY_STRING'])) {
|
||||
if (preg_match('/&\\d/', $_SERVER['QUERY_STRING']) || isset($_GET['v'])) {
|
||||
$min_serveOptions['maxAge'] = 31536000;
|
||||
}
|
||||
if (isset($_GET['g'])) {
|
||||
|
Reference in New Issue
Block a user