Kevin
Well-known member
In my .htaccess file I'm caching jpg images using something like...
XF attachment file names though append the file ID to the end of the file, like
Code:
<FilesMatch "\.(js|jpg|jpeg|png|gif|swf|svg)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
https://mydomain.com/attachments/my-image-jpg.123/
. Is there a way of being able to specify a mask (eg: https://mydomain.com/attachments/*
) in htaccess to specify a cache life span?