On GAE python 2.7 I have a single folder where I serve my CSS and JS files. The handler in my app.yaml looks like this:
- url: /scripts
static_dir: scripts
expiration: '30d'
Some of the JS files are cached the first time around, and subsequent page loads will fetch the JS directly from the browser cache. However, the browser uses conditional GET requests to fetch the CSS. The latency for this request is still sluggish on a 3G connection.
Is there any specification that says CSS can't be cached in the browser? Any idea why GAE caches the different files differently?
My site is accessible at http://test.dine-o.com/dine
Notice the difference between zepto.min.js or plate-min-####.js which are fetched from the browser cache, and plate-min.####.css which is fetched with a conditional GET.