在Google App Engine上载的版本中的问题 [英] Issues in version uploaded on google app engine

查看:98
本文介绍了在Google App Engine上载的版本中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将我的应用程序上载到GAE for Java,该应用程序已映射到我们的域www.sakshum.org

I uploaded my app to GAE for java which is mapped to our domain www.sakshum.org

默认版本为 http://3.sakshumweb.appspot.com/

问题是,当我们使用域名访问时,它似乎具有一些旧版本,但是如果我们访问直接URL,则似乎工作正常.

The problem is when we access using the domain name it seems to have some old version but if we access the direct url it seems to be working fine.

关于可能是什么问题的任何想法?

Any idea on what could be the issue?

推荐答案

GAE上的静态文件被缓存了大约10分钟.您应该尝试为GWT相关文件禁用缓存.将其放入您的appengine-web.xml:

Static files on GAE get cached for about 10 minutes. You should try disabling cache for GWT related files. Put this into your appengine-web.xml:

<!-- Configure serving/caching of GWT files -->
<static-files>
  <include path="**" />

  <!-- The following line requires App Engine 1.3.2 SDK -->
  <include path="**.nocache.*" expiration="0s" />

  <include path="**.cache.*" expiration="365d" />
  <exclude path="**.gwt.rpc" />
</static-files>

这篇关于在Google App Engine上载的版本中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆