adobe / adobe/aem-project-archetype

Caching by default the sample site

Open
#1,107 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
596
Forks
431
Avg merge
10d 6h
Merged PRs (30d)
1

Description

### Expected Behaviour

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

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

Contributor guide

Open the contributing guide

Research direction

Start by locating the generated dispatcher configuration and its vhosts file, then inspect the caching headers produced for publisher pages. Done means the generated site includes the requested default caching settings for HTML content and no longer sends the default no-cache behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.