Select to view content in your preferred language

Alter WFS Data Cache Refresh Time

2069
1
07-26-2012 10:12 PM
VishApte
Esri Contributor
Hi All,

I am working on a web application (similar to FlexViewer) and need to add Web Feature Service (WFS) data layer to the application. I tried to add the WFS data as a layer in ArcMap and publish it as ArcGIS 10.0 Server Map Service. However, I learnt that WFS data layer added to ArcGIS 10.0 for Desktop is cached and that cache is refreshed every 24 hours only. This is too late for the weather related WFS data layer. I am aware that there is an option to not cache WFS layer by providing primary key field name but if I do so, the application runs very slow. The best option for me is to refresh the cache every half an hour. Is there any way I can set this up in ArcGIS 10 (or 10.1) or WFS Interop Connection?

Thanks,
Vish
0 Kudos
1 Reply
BruceHarold
Esri Frequent Contributor
Hi

You could use the operating system to delete the cache on any schedule you like.

With your application off-line delete:   <AppData>/Local/Temp/INTEROP

An alternative would be to use Quick Import or the core tool WFS to Feature Class to bring in the WFS data to a new file GDB each time.

Regards
0 Kudos