Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Delete single page from cache

Started by Muut Archive 10 years ago · 3 replies · 498 views
10 years ago

Hello,

first of all: thank you very much for grav and your work here in the forum too!

I'm pretty new with grav but already created a plugin which do some stuff on the new website I build (at this time locally).

Now I need to delete a single page from the cache. I figured out how to delete the complete cache e. g. parts of them, but to delete a single page I have to know the id in the cache of this page.

So my question is: How can I get the id of e. g. 01.home page?

Regards,
Peter

10 years ago

I now truned off the caching for the particular page in the page header. Not really what I want, but better than deleting the complete cache.

May be some one reads this post nevertheless and knows how to delete and/or remove a particular page from the cache via a plugin.

10 years ago

Thank you for your reply. I added this to the issus now.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2307 9 years ago
Archive · by Muut Archive, 9 years ago
2 1512 9 years ago
Archive · by Muut Archive, 9 years ago
2 4767 9 years ago
Archive · by Muut Archive, 9 years ago
1 3584 9 years ago
Archive · by Muut Archive, 9 years ago
3 1642 9 years ago