rnote icon indicating copy to clipboard operation
rnote copied to clipboard

Caching for imported pages

Open NXTler opened this issue 1 month ago • 1 comments

Is your feature request related to a problem? Please describe.
Some imported PDF pages take a very long time to load, and they get instantly unloaded when scrolling. This loading process, can be a bit time-consuming when frequently switching between pages to look up information.

Describe the solution you'd like
This could be solved with having a cache that saves the loaded pages.

Describe alternatives you've considered
Another solution could be speeding up the loading process itself, but a cache seems like a simpler and more efficient solution to this specific issue.

NXTler avatar Nov 25 '25 08:11 NXTler

The issue is more about ram/vram pressure. If it can be measured the unload/load part could be relaxed to occur based on being visible/invisible and whether or not there's room to keep things in memory. I think you don't have unloading when the visual debug option is enabled (so the perf impact of the unload/load part is visible in that case)

Doublonmousse avatar Dec 09 '25 17:12 Doublonmousse