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
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:
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
>