adobe/aem-project-archetype

Caching by default the sample site

coatpont opened this issue · 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

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