I need to do browser caching with an htaccess file.
From this question, I learned how to add extensions to the htaccess file.
<FilesMatch "\.(js|jpeg|jpg)$">
But I need to add extensions. But exclude some of the files.
I found something like this from this question
<FilesMatch ^((myfile|myfile2)\.js$|myphoto\.jpe?g)$>
Add all js and jpeg files except "myfile.js", "myfile2.js", "myphoto.jpg" How can I do this? Thanks you
regex caching browser-cache .htaccess
trante
source share