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

Grav doesn't update existing pages when twig template is changed

solved

Started by Ivan Ilarionov 9 years ago · 3 replies · 2499 views
9 years ago

Hi All,
I have the following problem with grav. I'm trying to edit the twig code of one of my page tamplates, but after I save the twig file and refresh the website (CTRL+F5), the existing pages that use this tamplate don't change. Only when I make a new page, the updated twig file is used. Is there any way to refresh the whole grav, in order to update the state of all existing pages?

Thanks!

9 years ago

In the terminal, from the root folder, type bin/grav clearcache. If you're only using the Admin screen, then I'm not sure. I assume there's a "Clear Cache" feature somewhere on the Admin screen.

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 6 days ago
0 108 6 days ago
General · by lynbor, 1 month ago
3 437 2 weeks ago
General · by lynbor, 3 weeks ago
7 557 2 weeks ago
General · by Harry, 2 weeks ago
0 159 2 weeks ago
General · by Old Man Umby, 1 month ago
2 308 3 weeks ago