aem-project-archetype icon indicating copy to clipboard operation
aem-project-archetype copied to clipboard

Caching by default the sample site

Open coatpont opened this issue 2 years ago • 0 comments

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 </LocationMatch>

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

coatpont avatar Jul 11 '23 14:07 coatpont