Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Image caching

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #199706
    srv5706
    Participant

    I have updated my server resources like webpage, images and pdf files. But I havnt changed the URL for those resources.

    So I am getting old resources on those URL in a browser if i dont clear the cache.

    Please let me know any way to load my new resources without clearing cache of browser .

    I dont want to add parmameters on URL.

    Please help.

    Thank You,

    #199709
    Shikkediel
    Participant

    You can put a htaccess file in your directories with this in it :

    FileETag None
    
    Header unset ETag
    Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.