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.

Support

Page-Navigation broken | Deleted Pages still available | Changes on Pages do not apply

Solved by David Seßner View solution

Started by David Seßner 2 years ago · 2 replies · 79 views
2 years ago

The title is way too long, but I am sure these problems are linked...

Hello everyone,
something seems to be completely messed up and I don't know why and what it is:
When I change something inside a page-file (for example default.md) and safe it, the changes do not apply and when visiting the page, there are no changes. Also when deleting a page, it is still available and listed in the page-navigation.

And the page-navigation is completly wild: In my pages-folder I have 3 subfolder: 01.home, 02.formpage and 03.test.
When I visit "Home", I can navigate to "Home", "Typography" (deleted) and "A Page with Form" (Wich should have the changed name "Formpage").
When I visit "Typography", wich should be deleted, I can navigate to "Home" and "Typography", but not to "A Page with Form".
When I visit "A Page with Form", the name of that Site in the navigation is changed to "Formpage". I then can navigate to "Home", "Formpage" and "Test". "Typography is not shown.

I then created a new page named "Testitest" which is not shown in the navigation menu. only when visiting the site it is shown in the navigation. There "Typography" is missing, but the rest is visible. After deleting it, it is still available via direct link...

I cleared the cache, restarted apache and restarted the docker container. Nothing works.

What the **** is going on? My brain hurts and I am becoming a madman. Can somebody help me?

2 years ago

I'm not an expert on this, but sounds like server side cache. Maybe Nginx or something..

👍 1
2 years ago Solution

It was the client side cache... Apperantly I have to hard refresh on firefox. It's been a while since I worked on a web-project. But I don't remember that the browser-cache is that persistant... especially when my address is localhost. Nevertheless it only took half of my day spending in frustration.

Thank you, madam or sir, for recovering my sanity! Now it's time to get back to work.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 51 7 hours ago
Support · by Anna, 2 days ago
2 58 10 hours ago
Support · by Justin Young, 11 hours ago
1 30 11 hours ago
Support · by Duc , 1 week ago
2 63 5 days ago
Support · by Colin Hume, 1 week ago
2 55 5 days ago