Vik
Vik

Reputation: 9289

Issues in version uploaded on google app engine

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

The default version is http://3.sakshumweb.appspot.com/

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?

Upvotes: 0

Views: 183

Answers (1)

Peter Knego
Peter Knego

Reputation: 80330

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>

Upvotes: 1

Related Questions