Select to view content in your preferred language

Updating vector tile layers in ArcGIS Enterprise without deleting your local browser cache

658
3
06-26-2023 03:54 AM
mindy6
by
New Contributor

Esri support has been incredibly unhelpful with this, so I thought I might ask you guys:

We are currently hosting a set of vector tile layers on our ArcGIS Enterprise environment which are getting updated biweekly.

Since all of our vector tile services have an associated, referenced feature service, I am doing this using the "rebuild cache" REST operation.

While the rebuilding of the cache works fine, the actual changes on the tiles are only visible in my web browser when I delete my local browser cache.

Are there any solutions for this problem? We can't expect hundreds of users to manually delete their browser caches every time there is an update to the data.

0 Kudos
3 Replies
DavidLight
New Contributor III

Have you tried changing the setting under the Service/Caching/Allow clients to cache tiles locally?  

berniejconnors
Regular Contributor

mindy6,

        I don't know the details on how to implement this - but I do know you can set the http headers for a website to be "no-caching" to prevent the client browser from storing the info in their local browser cache.  I expect this should work for all web content including vector tiles.  I hope this gives you more insight into a solution.

Bernie.

0 Kudos
berniejconnors
Regular Contributor

It looks like @DavidLight found the ArcGIS setting for "no-caching" http headers.  I'm surprised Esri Support could not help with that.

Bernie.

0 Kudos