Softminal Cache keeps each page for the time you choose under Keep pages for, 10 hours by default. That suits most pages. But a news page changes every hour, while your terms page may not change for a year.
Cache rules let you treat some pages differently. You find them on the Cache tab, under Page cache, in the Cache rules card.
Keep some pages for a different time
Click Add rule, type which pages it is for, and pick a time from 15 minutes to 7 days. For example:
/news/*for 15 minutes, so new stories show up fast./docs/*for 7 days, because they rarely change.
A * matches anything, and a pattern that starts with ~ is a regular expression, just like the Exclusions card. When a page matches more than one rule, the first rule wins. Every other page keeps your normal time.
Clear more pages when you update a post
When you update a post, Softminal Cache already clears the post, your homepage and its archives. If another page shows your posts, for example a page with a Latest Posts block, add its address under Also clear these pages when a post is updated, one per line, like /latest-news/.
Never cache for some apps or tools
Some apps or monitoring tools must always get a live page. Add a part of their name (their user agent) under Never cache for these browsers in the Exclusions card, like MyCompanyApp. Everyone else still gets the fast cached page.
Keep one page out of the cache
For a single post or page that shows something live, open it in the editor. In the sidebar, the Softminal Cache box has Don’t cache this page. Tick it and update. That page is now built fresh on every visit.
All the pages you ticked are listed in the Cache rules card, with an Edit link, so you never forget one.
Bonus: the widget cache
Pages for logged-in members are never cached as a whole, so they are built every time. Their widgets can still be reused. Turn on Cache widgets under Cache, then Widgets and fragments. Widgets like Recent Posts are then built once and reused, while search, carts and forms always stay live.
If you have any question or face any problem, please do write to us at support.softminal.com. Our team reads every message.

Leave a Reply