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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

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

solved

Started by Ivan Ilarionov 8 years ago · 3 replies · 2254 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 Jerry Hunt, 4 days ago
2 85 13 hours ago
General · by pamtbaau, 18 hours ago
1 60 17 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 350 5 days ago
General · by Duc , 6 days ago
3 44 5 days ago