Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching by default the sample site #1107

Open
coatpont opened this issue Jul 11, 2023 · 0 comments
Open

Caching by default the sample site #1107

coatpont opened this issue Jul 11, 2023 · 0 comments

Comments

@coatpont
Copy link

Expected Behaviour

The generated dispatcher configuration should include a vhosts file for the created site, including some default caching settings, e.g.

<LocationMatch "^/content/.*.(html)$">
Header unset Cache-Control
Header unset Expires
Header always set Cache-Control "max-age=200"
Header set Age 0

Actual Behaviour

The generated dispatcher configuration doesn't cache any content by default.

Reproduce Scenario (including but not limited to)

Look at the caching headers for the pages on the publishers (coming with a no-cache header by default)

Steps to Reproduce

Platform and Version

Tested on AEM CS

Sample Code that illustrates the problem

Logs taken while reproducing problem

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

No branches or pull requests

1 participant