Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

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

solved

Started by Ivan Ilarionov 8 years ago · 3 replies · 2439 views
8 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!

8 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 jeremycherfas, 1 week ago
4 180 2 days ago
General · by lynbor, 5 days ago
2 119 3 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 1 week ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 248 3 weeks ago