CrisisCleanup / crisiscleanup-1

[OLD] Legacy Crisis Cleanup on GAE/Python
https://sandy-disaster-recovery.appspot.com
Other
8 stars 4 forks source link

Static directories have long experiations #215

Closed aarontitus closed 11 years ago

aarontitus commented 11 years ago

Original author: cpw...@gmail.com (March 12, 2013 17:42:13)

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

Original issue: http://code.google.com/p/sandy-disaster-recovery/issues/detail?id=215

aarontitus commented 11 years ago

From rostovp...@gmail.com on March 12, 2013 19:28:05 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.

aarontitus commented 11 years ago

From cpw...@gmail.com on March 12, 2013 23:05:09 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?

aarontitus commented 11 years ago

From cpw...@gmail.com on March 18, 2013 23:15:35 Closing (best to force a hard refresh in the browser if concerned when developing).