TOMCAT中禁用304返回
时间:2010-04-06 来源:gflei
为了调试js文件下载问题,查看网上已有的解决方案:
比较完整的方案: http://blog.bcarlso.net/2007/10/19/tomcat-weak-etags-and-javascript-css-caching
相关讨论:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200806.mbox/<[email protected]>
apache对应的配置方法: http://www.geekride.com/index.php/configure-remove-etags-apache-http-optimize-site/
中文参考网页: 从分析网页缓存机制到解决网页缓存问题 - [JAVA技术] http://itcdn.net/NewsView.asp?id=232
为了快速解决,采用直接修改tomcat源文件:
public class DefaultServlet extends HttpServlet
比较完整的方案: http://blog.bcarlso.net/2007/10/19/tomcat-weak-etags-and-javascript-css-caching
相关讨论:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200806.mbox/<[email protected]>
apache对应的配置方法: http://www.geekride.com/index.php/configure-remove-etags-apache-http-optimize-site/
中文参考网页: 从分析网页缓存机制到解决网页缓存问题 - [JAVA技术] http://itcdn.net/NewsView.asp?id=232
http 304优化,了解客户端缓存
http://blog.csdn.net/JeamKing/archive/2010/01/07/5153741.aspx为了快速解决,采用直接修改tomcat源文件:
public class DefaultServlet extends HttpServlet
// For GET and HEAD, we should respond with |
相关阅读 更多 +