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

Write tiles to S3 cache bucket #635

Closed
KlaasH opened this issue Dec 21, 2018 · 0 comments · Fixed by #673
Closed

Write tiles to S3 cache bucket #635

KlaasH opened this issue Dec 21, 2018 · 0 comments · Fixed by #673
Assignees
Labels

Comments

@KlaasH
Copy link
Contributor

KlaasH commented Dec 21, 2018

This is the code side of adding tile caching. #634 is the infrastructure side. See also the issue comment and branch on the main Tilegarden project.

The task is to add code to api.js so that, if there is a variable configured in the environment with the cache bucket name, it writes all tiles to that bucket, using the request path as the key

This depends on #634 insofar as it needs to use the cache bucket configured there, though it could be done in parallel by manually creating a bucket and supplying a variable with its name.

Note that I'm not sure it's possible to actually set up a cached endpoint in development (maybe related to #593), but it should at least be possible to have a local Tilegarden instance write tiles to S3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants