Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[network] Implement a smart cache size (Request in QGIS) #9228

Open
qgis-bot opened this issue Sep 3, 2024 · 0 comments
Open

[network] Implement a smart cache size (Request in QGIS) #9228

qgis-bot opened this issue Sep 3, 2024 · 0 comments
Labels
3.40 good first issue Good for newcomers, easy fix Project/Configuration project properties, global options and settings
Milestone

Comments

@qgis-bot
Copy link
Collaborator

qgis-bot commented Sep 3, 2024

Request for documentation

From pull request qgis/QGIS#58548
Author: @nirvn
QGIS version: 3.40

[network] Implement a smart cache size

PR Description:

Description

This PR improves QGIS' handling of its network disk cache by using a smart cache size logic that dynamically sizes based on the disk cache storage's available space. The logic is taken from Firefox (https://github.com/mozilla/gecko-dev/blob/e0a62f1391f7d58fab20418adc9310b23708a792/netwerk/cache2/CacheFileIOManager.cpp#L4307), and will results in most users getting a larger cache size.

image

The objective here is to insure that our default cache size insures we are as friendly as we can to servers hosting XYZ tiles, incl. but not limited to OpenStreetMap.

Users can disable the smart cache size logic in favor of a static cache size in the Options dialog. On that front, the spin box represents MBs instead of KiBs, because we're in 2024 :)

image

Commits tagged with [need-docs] or [FEATURE]

@github-actions github-actions bot added the 3.40 label Sep 3, 2024
@github-actions github-actions bot added this to the QGIS 3.40 milestone Sep 3, 2024
@selmaVH1 selmaVH1 added the Project/Configuration project properties, global options and settings label Sep 5, 2024
@DelazJ DelazJ added the good first issue Good for newcomers, easy fix label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.40 good first issue Good for newcomers, easy fix Project/Configuration project properties, global options and settings
Projects
None yet
Development

No branches or pull requests

3 participants