Topic: Way to switch between styles and preserve cache

Hello,

I am trying to implement a dark and light map using cartoDB positron and dark matter styles, However when I change the styles I have to manually clear the cache for the previous style for it work and not glitch, is there a way to handle 2 different styles and have 2 different cache directory for these styles?

Re: Way to switch between styles and preserve cache

Hello.

A cache-friendly way to use your own styles:
https://infinity-code.com/atlas/online- … ample.html

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Way to switch between styles and preserve cache

Thank you, is it possible to use CartoDB styles there instead of mapbox?

Re: Way to switch between styles and preserve cache

Yes, this way will work with any providers.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.