For checking logs, please go to: https://appengine.google.com/logs?&app_id=YOUR_APP_ID
Where are you serving your html from by the way? If your contents are entirely static, just serve them from static handler like the first entry in your handlers definition. Please don't forget to consider about favicon.ico. Almost all of the browsers look for the favicon file. -- Takashi On Sat, Jun 16, 2012 at 12:48 AM, Apra Barua <[email protected]> wrote: > Hey, I don't know how to check logs to determine which request causes the > instance to spin up. I don't think I have any web.xml file, cause I didn't > upload any. My app.yaml files contains: > > application: MyApplicationName > version: 1 > runtime: python > api_version: 1 > > handlers: > - url: /(.*\.(gif|png|jpg|ico|js|css|pdf)) > static_files: \1 > upload: (.*\.(gif|png|jpg|ico|js|css|pdf)) > > - url: .* > script: main.py > > Does using cache minimize instance hours? If so, how can I use cache? > > Thanks, > Apra B > > > On Friday, June 15, 2012 11:24:51 AM UTC+5:30, Takashi Matsuo (Google) > wrote: > >> >> If you have only static files to serve, any instance shouldn't start. >> Have you checked the logs in order to determine which request cause the >> instance to spin up? >> Can you show us your app.yaml or web.xml? >> >> -- Takashi >> >> On Fri, Jun 15, 2012 at 12:05 PM, Apra Barua wrote: >> >> Hi, >>> >>> I am just testing my website and there are no traffic to speak of except >>> myself visiting the website. The following is my statistics: With just 15 >>> requests to the homepage, it shows 5% of frontend instance hours consumed. >>> If things go like this, I think my site will only serve 300 visitors a day >>> before it runs out of instance hours limit! >>> >>> Do you think people will still be able to access the site with frontend >>> instance hours limit reached since it is a static website and not dynamic. >>> I read somewhere that static content is served by different servers and >>> should still be served, as long as you don't go beyond the bandwidth >>> limits. Is that true? >>> >>> Thanks, >>> Apra B >>> >>> On Thursday, June 14, 2012 11:04:27 PM UTC+5:30, aschmid wrote: >>>> >>>> the app wont be served any more if you reach the quota for the free app. >>>> >>>> how can you have a static html site with low traffic and high instance >>>> hours? >>>> that does not really make sense to me. >>>> >>>> On Jun 14, 2012, at 10:26 AM, Apra Barua wrote: >>>> >>>> Hi, >>>> >>>> I have a static html website hosted on GAE. >>>> I get very less traffic but my frontend instance hours are high. >>>> >>>> What happens when my frontend instance hours limits are reached? >>>> Will my website become unavailable to public? >>>> >>>> Please let me know what happens and also how to reduce the frontend >>>> instance hours used. >>>> >>>> Thanks, >>>> Apra B >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google App Engine" group. >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> ms**g/google-appengine/-/**btEldffPz**P8J<https://groups.google.com/d/msg/google-appengine/-/btEldffPzP8J> >>>> . >>>> To post to this group, send email to google-appengine@googlegroups.**** >>>> com <[email protected]>. >>>> To unsubscribe from this group, send email to >>>> google-appengine+unsubscribe@**g**ooglegroups.com<[email protected]> >>>> . >>>> For more options, visit this group at http://groups.google.com/**group* >>>> */google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en> >>>> . >>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google App Engine" group. >>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/google-appengine/-/**ZXupF76PYWUJ<https://groups.google.com/d/msg/google-appengine/-/ZXupF76PYWUJ> >>> . >>> >>> To post to this group, send email to >>> google-appengine@googlegroups.**com<[email protected]> >>> . >>> To unsubscribe from this group, send email to >>> google-appengine+unsubscribe@**googlegroups.com<google-appengine%[email protected]> >>> . >>> For more options, visit this group at http://groups.google.com/** >>> group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en> >>> . >>> >> >> >> >> -- >> Takashi Matsuo | Developer Advocate | [email protected] >> > > On Friday, June 15, 2012 11:24:51 AM UTC+5:30, Takashi Matsuo (Google) > wrote: > >> >> If you have only static files to serve, any instance shouldn't start. >> Have you checked the logs in order to determine which request cause the >> instance to spin up? >> Can you show us your app.yaml or web.xml? >> >> -- Takashi >> >> >> On Fri, Jun 15, 2012 at 12:05 PM, Apra Barua wrote: >> >>> Hi, >>> >>> I am just testing my website and there are no traffic to speak of except >>> myself visiting the website. The following is my statistics: With just 15 >>> requests to the homepage, it shows 5% of frontend instance hours consumed. >>> If things go like this, I think my site will only serve 300 visitors a day >>> before it runs out of instance hours limit! >>> >>> Do you think people will still be able to access the site with frontend >>> instance hours limit reached since it is a static website and not dynamic. >>> I read somewhere that static content is served by different servers and >>> should still be served, as long as you don't go beyond the bandwidth >>> limits. Is that true? >>> >>> Thanks, >>> Apra B >>> >>> On Thursday, June 14, 2012 11:04:27 PM UTC+5:30, aschmid wrote: >>>> >>>> the app wont be served any more if you reach the quota for the free app. >>>> >>>> how can you have a static html site with low traffic and high instance >>>> hours? >>>> that does not really make sense to me. >>>> >>>> On Jun 14, 2012, at 10:26 AM, Apra Barua wrote: >>>> >>>> Hi, >>>> >>>> I have a static html website hosted on GAE. >>>> I get very less traffic but my frontend instance hours are high. >>>> >>>> What happens when my frontend instance hours limits are reached? >>>> Will my website become unavailable to public? >>>> >>>> Please let me know what happens and also how to reduce the frontend >>>> instance hours used. >>>> >>>> Thanks, >>>> Apra B >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google App Engine" group. >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> ms**g/google-appengine/-/**btEldffPz**P8J<https://groups.google.com/d/msg/google-appengine/-/btEldffPzP8J> >>>> . >>>> To post to this group, send email to google-appengine@googlegroups.**** >>>> com <[email protected]>. >>>> To unsubscribe from this group, send email to >>>> google-appengine+unsubscribe@**g**ooglegroups.com<[email protected]> >>>> . >>>> For more options, visit this group at http://groups.google.com/**group* >>>> */google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en> >>>> . >>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google App Engine" group. >>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/google-appengine/-/**ZXupF76PYWUJ<https://groups.google.com/d/msg/google-appengine/-/ZXupF76PYWUJ> >>> . >>> >>> To post to this group, send email to >>> google-appengine@googlegroups.**com<[email protected]> >>> . >>> To unsubscribe from this group, send email to >>> google-appengine+unsubscribe@**googlegroups.com<google-appengine%[email protected]> >>> . >>> For more options, visit this group at http://groups.google.com/** >>> group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en> >>> . >>> >> >> >> >> -- >> Takashi Matsuo | Developer Advocate | [email protected] >> > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/CaeAB0YLyUIJ. > > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- Takashi Matsuo | Developer Advocate | [email protected] -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
