We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Clearing cache for a single page/url?

How Do I?

From EE Slack's avatar
From EE Slack
185 posts
2 years ago
From EE Slack's avatar From EE Slack

When an entry is saved\created, is there a way to clear cache not for the entire website, but just for selected urls? For example, just for this entry page, this entry comments page, sitemap, and a list of entries page.

       
JCOGS Design's avatar
JCOGS Design
148 posts
2 years ago
JCOGS Design's avatar JCOGS Design

I think EE caching will clear the cache for the entry being saved automatically, but not sure what else it will do - doubt it will clear other entries etc. at same time. For that kind of multiple application cache clearing you will need a caching system that supports rules based cache clearing (so you can set up an instruction to clear x and y and so on). For that right now I think your best (perhaps only) option is Speedy - which is BoldMinded’s (expensive) updated version of CE-Cache. There is also Rocket, which is much cheaper but I’m not sure how comprehensive the cache clearing rules are. Or you could write your own custom add-on. HTH 🐾

? 1
       
shbchk's avatar
shbchk
15 posts
2 years ago
shbchk's avatar shbchk

Thanks! Yeah, I think Speedy is the only choice here. BTW, with native caching there is only two choices on save: clear everything, or clear nothing

? 1
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.