toolness / mobile-microgame-maker

Attempt at building a mobile microgame maker for Minicade.
http://mmm.minica.de
6 stars 2 forks source link

Set cache-control headers on all resources uploaded to S3 #47

Closed toolness closed 9 years ago

toolness commented 9 years ago

In bin/sync-to-s3.py, right now we set them only on the appcache manifest and the phaser JS.

We should set the cache-control of all game assets to something large-ish like max-age=86400, since we're being quite intentional about keeping those static.

It looks like GitHub pages sets their cache-control headers to max-age=600, which seems like a reasonable default for everything else.