项目部署采用 squid+tomcat发现squid会缓存一些500 404等错误页面解决办法很简单在squid.conf中添加一句negative_ttl 0 second即可默认squid要缓存错误页面5分钟