Cache-Monster icon indicating copy to clipboard operation
Cache-Monster copied to clipboard

Craft 3 Version?

Open mark-chief opened this issue 6 years ago • 5 comments

Will you be working on a Craft 3 version?

mark-chief avatar May 15 '18 08:05 mark-chief

Hi Mark, there is actually already a much more solid tool for Craft 3 that is built on similar ideas to this one: https://github.com/ostark/upper

joshangell avatar May 15 '18 08:05 joshangell

Hi Josh, Thanks, do you mean there is another plugin similar to Upper that is available? By the looks of things Upper doesnt bust the default craft {% cache %}(?)

mark-chief avatar May 15 '18 08:05 mark-chief

Sorry that was a bit unclear ... Upper is built on similar ideas to Cache Monster, in that it allows you to automatically bust caches that have dependencies, but it doesn’t support the core {% cache %} tag no, which I actually think is a good thing.

Piggy-backing off the core template caches means you are restricted by what they do, and in a lot of cases if you are starting to need Varnish or whatever in front of your site then you probably don’t want to be using the template caching anyway, for a variety of reasons.

joshangell avatar May 15 '18 09:05 joshangell

OK I get ya.

Am just looking for something to bust the default {% cache %} tag when an entry is saved to prevent the client from having to manually clear cache when changes are made. Cache Monster worked well for this in craft 2.

mark-chief avatar May 15 '18 09:05 mark-chief

Ah fair enough, well if you aren’t using the Varnish side of things then you should be fine with the core offering ... see here: https://docs.craftcms.com/v3/templating/tags/cache.html#cache-clearing

joshangell avatar May 15 '18 09:05 joshangell