Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- <FilesMatch ".(js|css)$"> vs <filesMatch "\.(js|css)$">


ewwatson - 1:44 pm on Nov 11, 2012 (gmt 0)


Specifically "\."

Should I include the slash or no? Whats it do?

this is part of a deflate htacces rule

<FilesMatch ".(js|css|html|htm|php|xml)$">
SetOutputFilter DEFLATE
</FilesMatch>

or there is this version

<filesMatch "(?i)^.*\.(ico|flv|jpg|jpeg|png|gif|js|css)$">

So..

"(?i)^.*\." vs "\." vs "."


Thread source:: http://www.webmasterworld.com/apache/4518015.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com