google-code-export / sandy-disaster-recovery

Automatically exported from code.google.com/p/sandy-disaster-recovery
2 stars 2 forks source link

Static directories have long experiations #215

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As per current app.yaml, standard expiration for all statics (inc javascript) 
is 7 days - too long for some?

Original issue reported on code.google.com by cpw...@gmail.com on 12 Mar 2013 at 5:42

GoogleCodeExporter commented 9 years ago
The app version number should be appended to all Javascript references, meaning 
that whenever a new version of the app is pushed, the caches are ignored.

It wouldn't hurt to double check that this is the case.

This naturally makes local testing a little bit trickier, so we need some sort 
of feature to put a random value in that field when testing locally.

Original comment by rostovp...@gmail.com on 12 Mar 2013 at 7:28

GoogleCodeExporter commented 9 years ago
I wonder: is it possible to
(a) require that app version numbers are given, for safety?
(b) disable caching entirely on the dev_appengine server?

Original comment by cpw...@gmail.com on 12 Mar 2013 at 11:05

GoogleCodeExporter commented 9 years ago
Closing (best to force a hard refresh in the browser if concerned when 
developing).

Original comment by cpw...@gmail.com on 18 Mar 2013 at 11:15