Hot answers tagged

4 votes
Accepted

Clearing the cache via API

ref: https://docs.expressionengine.com/latest/development/legacy/libraries/cache.html#class-methods ee()->cache->delete('/myaddon/');
Jim Wyse's user avatar
  • 1,987
2 votes

Stash static cache and Freeform

Static caching A static cached page is just plain old HTML, it doesn't pass through EE or PHP at all. You cannot therefore escape regions of the page from caching: https://github.com/croxton/Stash/...
Mark Croxton's user avatar
  • 5,234
2 votes

Clearing cache manually

You could allow the authors member group access to System utilities, you can restrict it so they only have access to "Data operations" which has the clear cache facility. Also add a custom ...
Bluedreamer's user avatar
  • 1,577
2 votes
Accepted

Can I cache templates indefinitely?

You can set the template refresh to a really high number (e.g. 14400 minutes which is 10 days), or you can change to using a static cache - for example the one that is built in to the stash add-on. ...
JCOGS Design's user avatar
  • 3,587
1 vote

EE6: Tag Cache growing very big

I would start off with enabling Output Profiler and inspect the template log on few pages, to see if something's not completely expected there (specifically related to cache) The next thing I would ...
Yuri Salimovskiy's user avatar
  • 2,846
1 vote
Accepted

Can I load pages into cache en masse?

You can achieve this using CE Cache; however, the add-on hasn't been updated since EE 3 (it works with EE 4 and 5 though). This allows you have to have cache tags and cache breaking set-up, with the ...
jrothafer's user avatar
  • 5,900
1 vote

CE Image, Assets, S3 and Caching

A good way to do this is to cache the output of the tag. You can use built-in EE tag caching or something like CE cache, either with fragment caching or full page static. This way you're getting the ...
Matt's user avatar
  • 1,232
1 vote
Accepted

How can I set up nginx to serve Stash's static cache?

So I dug into it, and here's what I've come up with. I've tested it extensive on my setup (Laravel Forge), but of course YMMV. The methodology is a little different than the Apache version. Since we ...
Kevin Smith's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible