Forbidden 403 - cached in squid proxy?

纵饮孤独 提交于 2019-12-11 18:00:38

问题


It seems that squid proxy somehow remembers the 403 Forbidden response and remembers it even if you reload the page which is already accessible.

Steps to reproduce:

  1. Put some restriction to .htaccess (like deny from all). Open in browser, connected via squid proxy, error 403 appears.
  2. Remove the restriction from .htaccess.
  3. Reload the page - the error 403 is still present!

回答1:


Look at negative_ttl parameter.



来源:https://stackoverflow.com/questions/9807123/forbidden-403-cached-in-squid-proxy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!