question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

domCache breaks navigation

See original GitHub issue

Hi, I have previously reported an issue about this that is solved for me by making domCache: false, but now I found that i need it to be true.

The problem in short is after going deep in navigation to the third page in the IOS style, then going back to page one, the page one navbar gets hidden, and there is a class on it called “cached”.

Any help please?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tinyCoder32commented, Mar 6, 2017

@nolimits4web , took me 2 hours to reproduce the issue, luckily I was able to identify the problem source, which is the search bar! when I remove it from the navbar, the problem don’t show up, but if I keep it there, then going back from a 3rd level page will cause the navbar to get hidden.

Please refer to: https://jsfiddle.net/tinyCoder32/4nh106he/

Please note that in my case I would like to show that search form on all my inline pages. I appreciate looking into this issue and providing a solution, thank you.

0reactions
lock[bot]commented, Jun 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Framework7 caching slowing down app - Stack Overflow
However, after navigating between different pages (± 30 times), ... we've put domCache of the pages to false => this breaks the navigation....
Read more >
Caching behaviour framework7 slowing down app - Questions
this breaks the navigation. Once you navigate to a page ... So the domCache kind of a hack required for this to work...
Read more >
force first page reload on navigate - jQuery Forum
Basically it seems that the original JQM page that loaded will always stay in the dom cache. Whenever from the subsequent ajax-loaded pages ......
Read more >
Ideally these libraries will fall back to in-memory storage, which is ...
Ideally these libraries will fall back to in-memory storage, which is lost when you navigate away, but keeps pages working when they expect...
Read more >
Back/forward cache - web.dev
bfcache not only speeds up navigation, it also reduces data usage, ... improve the user experience—but might also risk breaking the page.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found