Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

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

solved

Started by Ivan Ilarionov 8 years ago · 3 replies · 2360 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 jean-louis67, 3 days ago
2 80 2 days ago
General · by Andy Miller, 6 days ago
0 144 6 days ago
General · by Veehem, 1 week ago
0 144 1 week ago
General · by milkboy, 1 week ago
0 138 1 week ago
General · by ian russell, 2 weeks ago
2 226 2 weeks ago