HTML and CSS Reference
In-Depth Information
plus 1 month"
# HTC files (css3pie)
ExpiresByType text/x-component "access
plus 1 month"
# Webfonts
ExpiresByType application/x-font-ttf "access
plus 1 month"
ExpiresByType font/opentype "access
plus 1 month"
ExpiresByType application/x-font-woff "access
plus 1 month"
ExpiresByType image/svg+xml "access
plus 1 month"
ExpiresByType application/vnd.ms-fontobject
"access plus 1 month"
# CSS and JavaScript
ExpiresByType text/css "access
plus 1 year"
ExpiresByType application/javascript "access
plus 1 year"
</IfModule>
This tells the server to cache requests for files of each type as soon as it is accessed
freshly for the period specified by the text "access plus…" . For example, consider
the following code snippet:
# CSS and JavaScript
ExpiresByType text/css "access
plus 1 year"
ExpiresByType application/javascript "access
plus 1 year"
Search WWH ::




Custom Search