1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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