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

[FEATURE] disable caching for TileLayer #1974

Closed
timur-harin opened this issue Oct 1, 2024 · 2 comments
Closed

[FEATURE] disable caching for TileLayer #1974

timur-harin opened this issue Oct 1, 2024 · 2 comments
Labels
feature This issue requests a new feature invalid This bug could not be reproduced or does not exist, or is very low quality S: core Scoped to the core flutter_map functionality

Comments

@timur-harin
Copy link

What do you want implemented?

I did not find how to disable caching or specify age of cache for TileLayer

What other alternatives are available?

No response

Can you provide any other information?

I already tried something like, but it does not work

tileProvider: NetworkTileProvider(
                silenceExceptions: true,
                headers: {
                  'Cache-Control': 'max-age=1',
                },
              ),

Severity

Obtrusive: No workarounds are available, and this is essential to me

@timur-harin timur-harin added the feature This issue requests a new feature label Oct 1, 2024
@timur-harin

This comment was marked as spam.

@JaffaKetchup
Copy link
Member

The only caching included by default is session caching: see the note at the top of https://docs.fleaflet.dev/tile-servers/offline-mapping#caching. Please provide some additional detail if you need more help.

@JaffaKetchup JaffaKetchup closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2024
@JaffaKetchup JaffaKetchup added invalid This bug could not be reproduced or does not exist, or is very low quality S: core Scoped to the core flutter_map functionality labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue requests a new feature invalid This bug could not be reproduced or does not exist, or is very low quality S: core Scoped to the core flutter_map functionality
Projects
Status: Done
Development

No branches or pull requests

2 participants