1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Experimental Image-Caching performance enhancement.

This commit is contained in:
Cameron
2017-10-25 15:17:53 -07:00
parent 028e43d80b
commit a2d49a1ce5
3 changed files with 79 additions and 6 deletions

View File

@@ -344,7 +344,7 @@ class ecache {
if($type === 'image')
{
$path = e_CACHE_IMAGE;
$mask = ($mask == null) ? '.*\.cache\.bin' : $mask;
$mask = ($mask == null) ? '.*(\.cache\.bin|\.jpg|\.jpeg|\.png|\.gif)' : $mask;
}
if($type === 'js')