Cache Expire Apache

Discussion in 'Apache' started by tohariganesh@gmail.com, Sep 6, 2010.

  1. #1
    Hi Gurus,

    I have to set cache expiry for all files having a .7z extension which are downloaded by my dev team.

    Earlier i had set expiry for all jpeg images by setting below parameter:

    ExpiresActive On
    ExpiresByType image/jpeg A2592000

    And it's working fine.

    But i don't know how to set for files with .7z extension. They have to immediately expire after being downloaded.I tried the following but they don't seem to expire cache.

    ExpiresByType text/7z A0
    ExpiresByType text/plain A0


    Please help.


    Thanks
    HG
     
    tohariganesh@gmail.com, Sep 6, 2010 IP