Re: [google-appengine] Caching certain pages for long periods

2013-06-29 Thread Phil McDonnell
Hi Barry,

Thanks so much for the advice here. I think it helps me understand the
options a lot better. I've added PageSpeed as it seems like a good idea
generally. I've also added the below cache-control snippet. We'll see if
this works and if Google respects it. Hopefully it'll help.

<%
response.setHeader("Cache-Control", "max-age=60, must-revalidate"); //
HTTP 1.1
%>


Thanks,
Phil

On Sat, Jun 29, 2013 at 12:45 PM, Barry Hunter wrote:

> If you set good Cache-Control headers, then you are allowing proxies to
> cache the file for you.
>
> Google sometimes (or least did) have a optimistic caching-proxy - you
> would often get that caching your pages (if the headers allowed it to!)
>
> But with PageSpeed, its more explicit, that will cache if you allow it to.
> So that's definitely an option.
>
> However there are many 'front end caches' (be it PageSpeed, or the other
> optimistic one) - so even though one caches it, you might still get
> requests from the other caches. So wont mean your server only generate it
> once per week, but it does mean it wont generate it for every request.
>
>
> But you also have MemCache at your disposal. Thats specificity designed as
> cache, and should work well in this situation.
> (you can also cache the file explicitly in the Datastore or Google
> Storage/Blobstore)
>  so your instance can just fetch a regenerated file, rather generating it
> from scratch.
>
>
>
>
> On Sat, Jun 29, 2013 at 8:34 PM, Phil McDonnell <
> phil.a.mcdonn...@gmail.com> wrote:
>
>> I have certain pages (sitemaps, etc) that are very expensive for my site
>> to render. The underlying data changes often, but I could live with only
>> updating these pages once a week. Is there a way to configure app engine to
>> cache dynamic pages for long periods and not serve a new one? Would this be
>> effective given that server instances regularly turn over?
>>
>> I do not have PageSpeed service enabled although I could enable it. I am
>> on Java.
>>
>> Thanks,
>> Phil
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-appengine+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Caching certain pages for long periods

2013-06-29 Thread Barry Hunter
If you set good Cache-Control headers, then you are allowing proxies to
cache the file for you.

Google sometimes (or least did) have a optimistic caching-proxy - you would
often get that caching your pages (if the headers allowed it to!)

But with PageSpeed, its more explicit, that will cache if you allow it to.
So that's definitely an option.

However there are many 'front end caches' (be it PageSpeed, or the other
optimistic one) - so even though one caches it, you might still get
requests from the other caches. So wont mean your server only generate it
once per week, but it does mean it wont generate it for every request.


But you also have MemCache at your disposal. Thats specificity designed as
cache, and should work well in this situation.
(you can also cache the file explicitly in the Datastore or Google
Storage/Blobstore)
 so your instance can just fetch a regenerated file, rather generating it
from scratch.




On Sat, Jun 29, 2013 at 8:34 PM, Phil McDonnell
wrote:

> I have certain pages (sitemaps, etc) that are very expensive for my site
> to render. The underlying data changes often, but I could live with only
> updating these pages once a week. Is there a way to configure app engine to
> cache dynamic pages for long periods and not serve a new one? Would this be
> effective given that server instances regularly turn over?
>
> I do not have PageSpeed service enabled although I could enable it. I am
> on Java.
>
> Thanks,
> Phil
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Caching certain pages for long periods

2013-06-29 Thread Phil McDonnell
I have certain pages (sitemaps, etc) that are very expensive for my site to
render. The underlying data changes often, but I could live with only
updating these pages once a week. Is there a way to configure app engine to
cache dynamic pages for long periods and not serve a new one? Would this be
effective given that server instances regularly turn over?

I do not have PageSpeed service enabled although I could enable it. I am on
Java.

Thanks,
Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] is there an open source for Appcfg.cmd

2013-06-29 Thread Eman Hossny
what is this parameter? is there an equivalent parameter of it in
appcfg.cmd?

On Sat, Jun 29, 2013 at 4:07 PM, Stefano Ciccarelli
wrote:

> appcfg.sh has a parameter to provide a password via standard input.
>
> Il giorno sabato 29 giugno 2013, ha scritto:
>
>> Hello All,
>>   I'm wondering if there is an open source for appcfg.cmd. Actually, I
>> hope to add password parameter to its commands, currently it only supports
>> adding email.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-appengine+unsubscr...@googlegroups.com.
>>
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
> --
> Nel mondo esistono 10 categorie di persone, quelle che capiscono il
> binario e quelle che non lo capiscono.
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/0sxUAs1_HQ8/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Eman Hossny,
Teacher Assistant,
Computer Science Department,
Faculty of Computers and Information
Cairo University, Egypt

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] is there an open source for Appcfg.cmd

2013-06-29 Thread Stefano Ciccarelli
appcfg.sh has a parameter to provide a password via standard input.

Il giorno sabato 29 giugno 2013, ha scritto:

> Hello All,
>   I'm wondering if there is an open source for appcfg.cmd. Actually, I
> hope to add password parameter to its commands, currently it only supports
> adding email.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com  'cvml', 'google-appengine%2bunsubscr...@googlegroups.com');>.
> To post to this group, send email to 
> google-appengine@googlegroups.com 'google-appengine@googlegroups.com');>
> .
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
Nel mondo esistono 10 categorie di persone, quelle che capiscono il binario
e quelle che non lo capiscono.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] open source for appengine- java-sdk

2013-06-29 Thread Eman Hossny
Ok, many thanks for ur help

On Fri, Jun 28, 2013 at 4:40 PM, Jeff Schnitzer  wrote:

> https://code.google.com/p/googleappengine/source/checkout
>
> It's the API portion. The implementation of the dev appserver is not
> public. But Java decompiles easily, so have at it.
>
> Jeff
>
>
> On Fri, Jun 28, 2013 at 4:04 AM,  wrote:
>
>> Hello All,
>>   is there is an opensource for appengine-java-sdk? if yes, can u provide
>> me with its link. Actually, I searched with no luck
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-appengine+unsubscr...@googlegroups.com.
>>
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/NCz1Pdsn8BQ/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Eman Hossny,
Teacher Assistant,
Computer Science Department,
Faculty of Computers and Information
Cairo University, Egypt

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] "GWT module <...> may need to be (re)complied" - only on GAE Cloud?

2013-06-29 Thread kodyrecords
I have a project that works fine on my local tomcat, as well as deployed 
locally as GAE version.
But when I push it to the cloud, I'm constantly getting:

"GWT module <...> may need to be (re)complied"

What might be the problem here? The appengine logs don't show any further 
hints.
I've done serveral project cleanups, reimports etc.

How can I found out what the problem with GAE might be?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.