close

Filter

loading table of contents...

Content Application Developer Manual / Version 2406.0

Table Of Contents

3.3.2 URL Pattern based Configuration

The 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 3.1.3, “Http Cache Control Properties” in Deployment Manual for details.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.