[appengine-java] After how much time of no traffic does GAE shut-down the instance

2010-01-09 Thread Yossi
Hi,

I've noticed that the same request that takes in average 2 seconds
could take more then 20 seconds after around 10 minutes that the
application is idle (no requests are received). I assume that after
~10 minutes of no requests, the GAE shuts-down the instance.
Is there an official information about this period of time? Is there a
way to extend this period of time (besides writing a cron job that
runs every minute)?

Thanks.

Yossi
-- 
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.




[appengine-java] Re: Cache-Controle Expiration on static files

2009-09-06 Thread Yossi

I also have the same issue - the header is not impacted by the
expiration value.

Yossi

On Sep 4, 3:50 pm, Patou patou.de.saint.ste...@gmail.com wrote:
 hello,

 I test the new sdk, and I see that we now add a expiration attribut in
 the include tag in appengine-web.xml to set the expiration cache time.
 But it's not seems to work .
 My appengine-web.xml :
     static-files
         include path=/ressource/css/*.css expiration=10d/
 include
         include path=/ressource/css/img/*.* expiration=10d/
 include
         exclude path=**/*.gwt.rpc/
     /static-files

 When I deploy on internet, the header of all css and img file is :
 Cache-Control:  max-age=0

 Has anybody try to do works it ?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---