Stop browser to make HTTP requests for images that should stay cached - mod_expires

后端 未结 10 1040
猫巷女王i
猫巷女王i 2020-12-04 10:01

After reading many articles and some questions on here, I finally succeded in activating the Apache mod_expires to tell the browser it MUST cache images

10条回答
  •  猫巷女王i
    2020-12-04 10:47

    You were using the wrong tool for analysing the requests.

    I'd recommend the really useful Firefox addon Live HTTP headers so you can see what is really going on on the network.

    And just to be sure, you can ssh/putty your server and do something like

    tail -f /var/log/apache2/access.log
    

提交回复
热议问题