You can improve your site’s transfer speed by enabling file caching. Using time in seconds to indicate the duration for which cached content should endure, we may generalize the htaccess rules as such:

# cache images and flash content for one month

Header set Cache-Control “max-age=2592000″

# cache text, css, and javascript files for one week

Header set Cache-Control “max-age=604800″

# cache html and htm files for one day

Header set Cache-Control “max-age=43200″

Read the rest of this entry

, ,