Content Application Developer Manual / Version 2107
Table Of ContentsThe URL pattern based configuration allows you to configure default Cache-Control header based on URL pattern or specific URLs. The URL pattern may be in Ant path style or in Spring URI template pattern style. In case that more than one pattern matches, the more specific pattern wins.
# Use small max-age value, since catalog images urls do not change on editorial change. cae.cache-control.for-url-pattern[/catalogimage/**].max-age=5m # do not cache dynamic requests cae.cache-control.for-url-pattern[/dynamic/**].max-age=0 cae.cache-control.for-url-pattern[/dynamic/**].no-store=true
Example 3.2. Type based Cache-Control Configuration
The Preview/Live CAE App comes with a default configuration. Especially the Live CAE configuration should be reviewed and adapted to your projects needs.
See Section 4.1.3, “Http Cache Control Properties” in Deployment Manual for details.