Re: [google-appengine] Re: Some of my applications appear to have stale caches in Australia

2015-11-17 Thread Emlyn
Thanks Greg, that's really useful. We've had that setting (24 hour
expiry) for a long time, but I've never seen it actually honoured like
this (and weirdly only for Australia). But I'll file this under "not a
bug but a feature" and go fix our cache settings.

On 18 November 2015 at 07:28, Greg Jones  wrote:
> Your page is setting cache-control with a max age of 24hrs, so if it's been
> less than that then things are working as they're supposed to - if you need
> new content to be reflected more quickly, you should change the
> cache-control. If you check the headers on the response and see a non-zero
> 'Age', then it means the response has come from an intermediate cache.
> Google has caches on it's "edge", but it's possible there are others
> depending on how you connect.
>
> (https://redbot.org/?uri=http%3A%2F%2Fnickdemo.tes-testing.appspot.com is a
> useful tool for testing these kinds of things)
>
> Greg
>
>
> On Tuesday, 17 November 2015 08:52:59 UTC, Emlyn wrote:
>>
>> Hi,
>>
>> If you go to this appengine app link:
>>
>> http://nickdemo.tes-testing.appspot.com/#/login?returl=%2F
>>
>> you'll see one of two things.
>>
>> If you are in Australia, it'll say "Please Login" (old code)
>> If you are not in Australia, it'll say "Please Loggin" (new code)
>>
>> Does anyone understand why this is happening? So far it's been like
>> this all day. Is there a problem in Google's infrastructure?
>>
>> --
>> Emlyn
>>
>> http://point7.wordpress.com - My blog
>> https://plus.google.com/u/0/100281903174934656260 - Google+
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/9bcc4f8e-d304-4438-8f23-0301db5a5a04%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
Emlyn

http://point7.wordpress.com - My blog
https://plus.google.com/u/0/100281903174934656260 - Google+

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAMp1VPD5SfuDxcqGW9dmTR%2BuRGwfzuZket716%3D81CEAxDP7yGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Some of my applications appear to have stale caches in Australia

2015-11-17 Thread Greg Jones
Your page is setting cache-control with a max age of 24hrs, so if it's been 
less than that then things are working as they're supposed to - if you need 
new content to be reflected more quickly, you should change the 
cache-control. If you check the headers on the response and see a non-zero 
'Age', then it means the response has come from an intermediate cache. 
Google has caches on it's "edge", but it's possible there are others 
depending on how you connect.

(https://redbot.org/?uri=http%3A%2F%2Fnickdemo.tes-testing.appspot.com is a 
useful tool for testing these kinds of things)

Greg

On Tuesday, 17 November 2015 08:52:59 UTC, Emlyn wrote:
>
> Hi, 
>
> If you go to this appengine app link: 
>
> http://nickdemo.tes-testing.appspot.com/#/login?returl=%2F 
>
> you'll see one of two things. 
>
> If you are in Australia, it'll say "Please Login" (old code) 
> If you are not in Australia, it'll say "Please Loggin" (new code) 
>
> Does anyone understand why this is happening? So far it's been like 
> this all day. Is there a problem in Google's infrastructure? 
>
> -- 
> Emlyn 
>
> http://point7.wordpress.com - My blog 
> https://plus.google.com/u/0/100281903174934656260 - Google+ 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9bcc4f8e-d304-4438-8f23-0301db5a5a04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Some of my applications appear to have stale caches in Australia

2015-11-17 Thread Nick
We've been seeing this too, we had assumed that there was an intentional 
infrastructure change.

When deploying new app versions, static resources served through Google front 
end are old assets for quite a while, where previously they update straight 
away.

This is pretty bad for one page apps (we use angular) - it sounds like this 
isn't an intentional change?

This impacts all of our applications as far as we can tell, anywhere from 2 to 
5 minutes delay - we're in aus 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8a5068b7-c476-42a2-8c86-b16989908909%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Some of my applications appear to have stale caches in Australia

2015-11-17 Thread Patrice (Cloud Platform Support)
Hi Emlyn,

How long ago did you change your code? I just want to make sure it isn't a 
question of propagation and it won't eventually go through.

I can confirm on my end I see the new code. Are you also certain that 
whoever uses your app in Australia isn't using a different version?

Cheers

On Tuesday, November 17, 2015 at 3:52:59 AM UTC-5, Emlyn wrote:
>
> Hi, 
>
> If you go to this appengine app link: 
>
> http://nickdemo.tes-testing.appspot.com/#/login?returl=%2F 
>
> you'll see one of two things. 
>
> If you are in Australia, it'll say "Please Login" (old code) 
> If you are not in Australia, it'll say "Please Loggin" (new code) 
>
> Does anyone understand why this is happening? So far it's been like 
> this all day. Is there a problem in Google's infrastructure? 
>
> -- 
> Emlyn 
>
> http://point7.wordpress.com - My blog 
> https://plus.google.com/u/0/100281903174934656260 - Google+ 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8d7db2cd-d649-4953-8f11-b8f3f6261179%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.