I'd like to be able to configure different cache control responses.
|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.|
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.
Show how to use the configuration option. Mention the default. If possible, show how to change the values based on request rules.