Custom Data Feed 11.1 Caching

472
4
06-13-2023 10:46 AM
EliasRex
New Contributor III

Has anyone figured out how to use custom data feed caching in ArcGIS Enterprise 11.1? I am working on a custom data feed that queries a mssql database. I'd like to cache the data so that it doesn't constantly send the query to database; I am sending back about 75000 records on each request. I read documentation on koopjs about caching. Apparently you can specify the ttl property on the geojson. I've done this and sure enough, I only see the single request come through, but after the ttl period has elapsed, I never see another request again. How can I get the data to refresh after the ttl period? 

I appreciate any help!

thanks!

0 Kudos
4 Replies
MarcBateEA
New Contributor III

Another user pointed out that there's a bug in 11.1 that ignores TTL so effectively will always cache your data if you set TTL, and never pull it down again until you restart the feature service.

 

Hopefully we can get a hotfix and not have to wait until 11.2

https://support.esri.com/en-us/bug/the-ttl-property-set-in-the-custom-data-provider-source-bug-00015...

0 Kudos
MarcBateEA
New Contributor III

I searched the release notes and don't see any custom data feed bug fixes in 11.2.  Hopefully I just missed something. 

https://support.esri.com/en-us/patches-updates/2023/arcgis-enterprise-11-2-announcement

 

0 Kudos
EliasRex
New Contributor III
0 Kudos
MarcBateEA
New Contributor III

The bug apparently has been fixed and had Planned Release Date: Q4 2023.  What version did it go out with, a service pack?

BUG-000159991 for ArcGIS GIS Server (esri.com)

 

0 Kudos