sulu / skeleton

Project template for starting your new project based on the Sulu content management system
https://sulu.io
MIT License
261 stars 81 forks source link

Add caching headers for apache to htaccess #250

Closed alexander-schranz closed 4 months ago

alexander-schranz commented 4 months ago
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT
Documentation PR sulu/sulu-docs#prnum

What's in this PR?

They are currently part of the apache vhost but if htaccess is enabled or a webspace only supports .htaccess configuration the cache headers should be already be defined in that file.

Why?

See https://docs.sulu.io/en/2.5/cookbook/web-server/apache.html

alexander-schranz commented 4 months ago

CI fail is unrelated to the changes