FrameWork router problem

Hello, friends.

I am a novice studying Framework 7 from China.

Recently, I have met some problems. I hope the friends in the community can answer them. Thank you.

When I have three pages such as A - > B - > C

I click B from A to C page, and then press F5 or browser refresh on C page. Although eventually he could display my C page properly, A and B were loaded, which obviously wasted server resources. If I opened 100 pages, then the refresh would need to be added to 100 pages. What can be done to solve this problem?

Greetings from China

Please ask have person ma?

It always preload only two pages, current and previous. You can check router parameter if you need to disable previous page to preload

1 Like

Hello, first of all, thank you for your reply, but preloadPrevious Page is set to false, which is useless.

@qq949127912 Will you provide a link to a github of your project so other people can help you with this?

It’s best if the github is a “minimal reproducible example” which means no extra information/data besides exactly what you’re trying to do and what the problem is

1 Like