[appengine-java] Anyway to check if current app instance is default version?

2010-02-11 Thread Peter Liu
Is there anyway to check if current app version is default?

Basically we want to cache the pages with only the default version. We
want testers to hit the new version but won't effect normal users
using the default version.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Anyway to check if current app instance is default version?

2010-02-11 Thread John Patterson

You could check the http host in the request to check for your live url

On 12 Feb 2010, at 05:59, Peter Liu wrote:


Is there anyway to check if current app version is default?

Basically we want to cache the pages with only the default version. We
want testers to hit the new version but won't effect normal users
using the default version.

Thanks!

--  
You received this message because you are subscribed to the Google  
Groups "Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com 
.
To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com 
.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en 
.




--
You received this message because you are subscribed to the Google Groups "Google 
App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.