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

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

@chuckdumont

Description

@chuckdumont

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions