Go to the Cache tab, then Page cache. Find the Cache rules card.
Keep some pages for a different time
Click Add rule. Type the pages. Pick a time.
Use * to match many pages. For example, /news/* means every page under /news/.
The first rule that matches is used. All other pages use “Keep pages for”.
| Pages | Keep for | Why |
|---|---|---|
/ | 30 minutes | Your homepage shows new posts. |
/news/* | 1 hour | News changes often. |
/about/ | 1 week | This page rarely changes. |
Clear more pages when a post changes
Some pages show a list of posts, like /latest-news/. Add them here, one per line. Then they update as soon as you change a post.
Keep one post out of the cache
Open the post in the editor. Find the Softminal Cache box. Tick Don’t cache this page.
The Cache rules card shows all pages you set this way.