Newbie with performance... Starting with htaccess? - Joomla! Forum - community, help and support


this htaccess:

########## graf performance
#
<ifmodule mod_deflate.c>
<filesmatch "\.(css|js|x?html?|php)$">
setoutputfilter deflate
</filesmatch>
</ifmodule>

# begin compress text files
<ifmodule mod_deflate.c>
<filesmatch "\.(css|js|x?html?|php)$">
setoutputfilter deflate
</filesmatch>
</ifmodule>
# end compress text files
 
# begin expire headers
<ifmodule mod_expires.c>
expiresactive on
expiresdefault a600
expiresbytype image/x-icon a2592000
expiresbytype application/x-javascript a604800
expiresbytype text/css a604800
expiresbytype image/gif a2592000
expiresbytype image/png a2592000
expiresbytype image/jpeg a2592000
expiresbytype text/plain a86400
expiresbytype text/php a21600
expiresbytype text/js a21600
expiresbytype application/x-shockwave-flash a2592000
expiresbytype video/x-flv a2592000
expiresbytype application/pdf a2592000
expiresbytype text/html a600
</ifmodule>
# set expiry error pages 0
<filesmatch "^(error¦authentication¦forbidden)\.html$">
expiresdefault a0
</filesmatch>
# end expire headers
 
# begin cache-control headers
<ifmodule mod_headers.c>
<filesmatch "\\.(ico|jpe?g|png|gif|swf)$">
header set cache-control "max-age=2592000, public"
</filesmatch>
<filesmatch "\\.(css)$">
header set cache-control "max-age=604800, public"
</filesmatch>
<filesmatch "\\.(js)$">
header set cache-control "max-age=216000, private"
</filesmatch>
<filesmatch "\\.(x?html?|php)$">
header set cache-control "max-age=600, private, must-revalidate"
</filesmatch>
</ifmodule>
# end cache-control headers
 
# begin turn etags off
<ifmodule mod_headers.c>
header unset etag
</ifmodule>
fileetag none
# end turn etags off
 
# begin remove last-modified header
<ifmodule mod_headers.c>
header unset last-modified
</ifmodule>
# end remove last-modified header
#
########## end

i don’t know start....

o, trying do?
and joomla htaccess content?





Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support