[google-appengine] Re: patterns for expiration settings for static files

2008-10-31 Thread Sylvain
Yes, carefull there is a bug in the SDK, "expiration" does not work. default_expiration works Another thing, for your second handler, if it's a file you should use "static_files" and not "static_dir" On 31 oct, 21:20, dobee <[EMAIL PROTECTED]> wrote: > is it possible to serve a static director

[google-appengine] Re: patterns for expiration settings for static files

2008-11-01 Thread dobee
thx a lot just for the records: you dont need default_expiration but the static_files directive, the specific url needs to be first - url: /static/admin/xy\.nocache\.js expiration: 60s static_files: static/admin/xy.nocache.js upload: static/admin/xy.nocache.js - url: /static expiration:

[google-appengine] Re: patterns for expiration settings for static files

2008-11-01 Thread yejun
Current static file/dir expiration doesn't work very well because there's no Last Modified http header. On Nov 1, 5:00 am, dobee <[EMAIL PROTECTED]> wrote: > thx a lot > > just for the records: you dont need default_expiration but the > static_files directive, the specific url needs to be first >