mapbox / mapbox/tilesets-cli

Implement server-side cache refresh flag

Open
#56 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement question
Dominant language
Python
Stars
141
Forks
27
PR merge metrics
No merged PRs in 30d

Description

I have a number of projects that use the Tilesets API to delete and re-upload a very large tileset source on a regular basis (nightly). The new data shows up fine eventually, but clients still see the old data for hours. Is there the possibility of implementing a flag that forces the server to refresh caches of the existing tileset's new source?

An idea similar to this was discussed in 2016 in the mapbox-cli but it was tabled.
https://github.com/mapbox/mapbox-cli-py/issues/43

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the Tilesets API and the CLI but no repository file, command, or test. Start by reviewing the existing source deletion and upload command paths and the referenced mapbox-cli discussion; define the server-side cache-refresh contract before identifying tests and completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.