css applying slowly with google app engine -


whenever update webpage google app engine, html works fine css files don't applied right away. , makes me deploy several times. have cache? or else?

my app.yaml

version: 1 runtime: python27 api_version: 1 threadsafe: yes  handlers: - url: /static   static_dir: application/static  - url: .*   script: application.app  libraries: - name: jinja2   version: "2.6"  - name: markupsafe   version: "0.15" 

hope me

thx in advance!

sounds cache issue. performance google cache static files on front-end servers , in addition browser may caching them depending on cache headers set.

as andrei mentioned can debug things using browser developer tools better understanding of happening. it's desired behaviour (for performance) if both google , browser caches static files .css extended periods - while possible explicitly set short expires headers it's not want doing.

a simple reliable solution in experience use different name css file each time deploy (v1.css, v2.css ...). way request can't return cached version , you'll have expected behavour.

through use of css compressor/minifier or tools sass/less in build process easy , results in compressed css. frameworks may support @ runtime.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -