• cool!

    and if people will add in .htaccess like this:

    # Set up caching on media files for 1 year (forever?)
    <filesMatch “\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$”>
    ExpiresDefault “access plus 1 year”
    Header append Cache-Control “public”
    </filesMatch>

    # Set up caching on media files for 1 week
    <filesMatch “\.(gif|jpg|jpeg|png|swf)$”>
    ExpiresDefault “access plus 1 week”
    Header append Cache-Control “public, max-age=604800”
    </filesMatch>

    # Set up 2 Hour caching on commonly updated files
    <filesMatch “\.(xml|txt|html|js|css)$”>
    ExpiresDefault “access plus 1 day”
    Header append Cache-Control “must-revalidate, proxy-revalidate, max-age=86400”
    </filesMatch>

    # Force no caching for dynamic files
    <filesMatch “\.(php|cgi|pl|htm)$”>
    ExpiresDefault “access plus 1 day”
    Header append Cache-Control “max-age=86400, proxy-revalidate, must-revalidate “
    ExpiresActive Off
    # Header set Pragma “no-cache”
    </filesMatch>

    all just f@cking fast!

  • The topic ‘wow’ is closed to new replies.