croxton / Stash

Stash allows you to stash text and snippets of code for reuse throughout your templates.
GNU General Public License v3.0
198 stars 20 forks source link

Stash | Mustash: Cache Breaking Rules Not Working #180

Closed projectnoontide closed 9 months ago

projectnoontide commented 1 year ago

Hi, Croxton: (still using your great add-ons)

Cache breaking rules don't appear to work with EE 7.

  1. Here's what I'm trying to delete upon an entry update, using the 'after_channel_entry_update' hook:

stash-mustash-cache-breaking-rules-02

  1. And here are my rules:

stash-mustash-cache-breaking-rules-01

Note: I have tried many variations of the Reg Exp as well, to no avail.

ENV:

croxton commented 10 months ago

Hey, sorry this is such a late reply, I missed the notification and maybe you worked around this already? I just tested the exact scenario per the screenshot above, with the latest version of EE7 (7.3.14), and it works for me. It's possible the Channel Entries Mustash plugin extension hooks aren't being triggered, so you could try un-checking and re-checking them on the Settings screen of Mustash, so the extension hooks get reinstalled. Or it could be a conflict with other extensions that you have installed (not allowing other plugins to be subsequently triggered).

projectnoontide commented 9 months ago

Just realized you commented, and I really appreciate you getting back to me. Un-checking and re-checking did the job. Works perfectly now!