Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
5.9.5
-
-
Empty show more show less
-
Yes
-
Yes
-
DevX 45
-
5
-
Yes
Description
I'd like to be able to configure different cache control responses.
Examples
Cache-Control value | Description |
---|---|
max-age=86400 | For up to one day (60 seconds x 60 minutes x 24 hours), the response can be cached by browsers and intermediary caches. |
private, max-age=600 | Browsers can cache responses for 60 seconds (but not intermediary caches) for up to 10 minutes. |
public, max-age=31536000 | Any cache can store the response for 1 year. |
Notes
Currently I only have control over the expiration (max-age). The value public is hard coded. Add a configuration option where public is the default but can be changed to one of the other options.
Documentation
Show how to use the configuration option. Mention the default. If possible, show how to change the values based on request rules.
Checklists
Attachments
Issue Links
- relates to
-
MAGNOLIA-8068 Cache control header lost in virtual uri mapping redirect (if using cache)
-
- Accepted
-
-
MAGNOLIA-4135 m_main-trunk-forked-test fail now and then because of test-failure in m-m-cache
-
- Closed
-
- to be documented by
-
MGNLCACHE-339 DOC: Expand options for browser cache control headers
-
- Closed
-
- links to
1.
|
Implement |
|
Completed | Dai Ha |
2.
|
Review |
|
Completed | Milan Divilek |
3.
|
piQA |
|
Completed | Milan Divilek |
4.
|
QA |
|
Completed | Robert Šiška |