Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Need config option to recognize custom cache bust query arg #246

Open
chuckdumont opened this issue Nov 6, 2014 · 0 comments
Open

Need config option to recognize custom cache bust query arg #246

chuckdumont opened this issue Nov 6, 2014 · 0 comments

Comments

@chuckdumont
Copy link
Contributor

Jaggr doesn't include Cache-Control:max-age= using the expires server-side config property in responses that don't include a cb= or cacheBust = query arg. This is to prevent unwanted far-future caching of resources. Now that jaggr can be configured as a regular resource servlet, this is too inflexible as applications may not always have control over what query arg is used to specify the cachebust argument (e.g. ckeditor uses t=XXX). A mechanism is needed to specify custom URL patterns that will include the Cache-Control:max-age= header even if the request URL doesn't include the cb= or cacheBust= query args.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant