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

add clearCache function #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add clearCache function #111

wants to merge 1 commit into from

Conversation

Baozi926
Copy link

I find that when the Mapnik XML content changed or the data of the Mapnik XML changed, the rendering result of the tilelive-mapnik does not changed, because tilelive-mapnik still uses the cache if the Mapnik XML filename does not changed( I notice that tilelive mapnik store the cache throw uri). this function helps to clear the cache dynamically, if the style has been changed, run it, tilelive-mapnik will generate the newest rendering result .

sometimes the Mapnik XML changed or the data changed, but rendering result of  the tilelive does not changed, because tilelive style uses the cache if the Mapnik XML filename does not changed. this function helps to clear the cache dynamically, if the style has been changed, run it, tilelive will generate the newest rendering result .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant