HTML and CSS Reference
In-Depth Information
Allowing concatenation from within specific JS
and CSS files
Sometimes, you may want the server to combine multiple script or stylesheet files
into one response when a request is made. Note that doing so does not make it any
faster for your page to load, as the server takes its own time to stitch these files to-
gether.
This is an option I recommend you consider last, when every other solution has
failed. Ideally, you should never be doing this.
To do this, first uncomment the following lines in the .htaccess file from:
#<FilesMatch "\.combined\.js$">
# Options +Includes
# AddOutputFilterByType INCLUDES application/
javascript application/json
# SetOutputFilter INCLUDES
#</FilesMatch>
#<FilesMatch "\.combined\.css$">
# Options +Includes
# AddOutputFilterByType INCLUDES text/css
Search WWH ::




Custom Search