Back
caches()
1. Cache a single action (default 60 minutes)
caches("termsOfUse");
2. Cache multiple actions for 30 minutes
caches(actions="browseByUser, browseByTitle", time=30);
3. Cache actions as static pages, skipping filters
caches(actions="termsOfUse, codeOfConduct", static=true);
4. Cache content separately based on runtime variable
caches(action="home", appendToKey="request.region");
Copied!