Bring rules in; allow for URL(s) to be expired via a rule.

Comments

mikeytown2’s picture

Status: Active » Fixed

committed new file. reopen for new issues.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

doublejosh’s picture

Curious what the URL should be set to in the rule.
Step by step might be good for a README.txt

  1. Create new rule named "Expire Page Cache"
  2. Choose the event: "After updating existing content"
  3. Recommended, add condition: "Updated content is published"
  4. Action: Clear URL(s) from the page cache. Set path to: __________
  5. Save.

Tried: [node:node-path], [node:node-path-raw] and node/[node:nid]

To be clear, I'm trying to clear code performance page cache #1308252: Getting this to work with core's database caching

doublejosh’s picture

BTW: the text "<front>" in the description is hidden when output. Just need &lt;front&gt;

// line 109
'#description' => t('Full URL (including http://); node/8; taxonomy/term/3; user/5; path alias; & <front> will work. One Per line.'),
evets33’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Hello

I did that :

Create new rule named "Expire Page Cache"
Choose the event: "After updating existing content"
Recommended, add condition: "Updated content is published"
Action: Clear URL(s) from the page cache. Set path to: [node:url]
Save

but when i save my content the cache is not clear... :-(

Help please