Closed ozten closed 12 years ago
Mostly fixed in
https://github.com/mozilla/connect-cachify/commit/fe8df0c486071d304def714bf61a3a79f3ed0dc3
https://github.com/mozilla/connect-cachify/blob/master/docs/API.md
Adding a last patch so that urls can be used in the prefix
option.
Okay, I think that does it. Pushed version 0.0.4.
url_prefix - A url prefix to append to links generated in
cachify_js
andcachify_css
.Examples:
Using
url_prefix
, one could support dark launches, since all assets are revisioned with hashes and the CDN network would service your request.Using a string instead of a CDN url ("cachify") would make the middleware more efficient when determining if an inbound request is a cachify request that should have it's url re-written.