<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.esri.com/Info/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ArcGIS Explorer Blog : Cache</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Cache/default.aspx</link><description>Tags: Cache</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Your Cache Portfolio - Part 2</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2008/11/07/your-cache-portfolio-part-2.aspx</link><pubDate>Sat, 08 Nov 2008 00:15:00 GMT</pubDate><guid isPermaLink="false">8296249d-4d69-4913-b1e7-14b85fcd9fb0:3379</guid><dc:creator>ArcGIS-Explorer-Team</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/comments/3379.aspx</comments><wfw:commentRss>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/commentrss.aspx?PostID=3379</wfw:commentRss><description>&lt;P&gt;In &lt;A class="" title="Your Cache Portfolio - Part 1" href="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2008/11/05/your-cache-portfolio-part-1.aspx" target=_blank&gt;Part 1 of our mini-series on cache&lt;/A&gt;, we covered its implications with the default map and using other maps and layers from the Resource Center. Here in Part 2 we'll take a closer look at managing cache when connecting to individual services and local data.&lt;/P&gt;
&lt;P&gt;ArcGIS Explorer either fetches cache (when leveraging cache or cache-on-demand capabilities in ArcGIS Server) or creates it when you first connect to content. This happens whether it's an internet service or local data. This results in optimized performance, and also enables offline use. But there may be times when we don't want to create cache, or when we might want to update it at regular intervals.&amp;nbsp;For example,&amp;nbsp;when we connect to a weather service that is continually updating.&lt;/P&gt;
&lt;P&gt;When you add content to ArcGIS Explorer&amp;nbsp;you&amp;nbsp;go through a wizard, and will eventually&amp;nbsp;see the&amp;nbsp;Disk Caching Options&amp;nbsp;dialog (except when you connect to GeoRSS feeds, or add KML or KMZ, which don't use this option).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3375/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Let's examine the options more closely.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Save layer's disk cache when saving map file.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3376/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;This option is the default, and is appropriate for any non-dynamic content source. This will ensure that cache that is fetched or created during your session is saved locally when you save your map. The next time you open the map, you won't have to fetch or create cache again; it will be read directly from your local cache saved to disk.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Create a disk cache for the layer during the session.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3377/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Cache will be created as you work with your map during your session, but won't be saved. This is appropriate for content you know will change, but aren't sure how often it may be updated. It can be augmneted by choosing a time interval for refreshing the cache, discussed below.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Don't create a cache for the layer on disk.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3378/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Cache won't be saved at all, but this means that it will be continuously fetched or created.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A good option to use is the time interval option which clears all layer cache at the specified interval. This is optimal for most dynamic content like weather. We can set an update, say every 15 minutes, and cache will be cleared and refreshed at the specified interval. When the map is saved and reopened, the layer will automically refresh its cache and&amp;nbsp;then updated at the specified interval.&lt;/P&gt;
&lt;P&gt;Using these choices you can ensure you've got both&amp;nbsp;the best performance and are&amp;nbsp;viewing the most up-to-date content.&lt;/P&gt;
&lt;P&gt;Another way you can refresh cache is manually&amp;nbsp;by&amp;nbsp;using the Layer Manager (Tools &amp;gt; Manage Layers).&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3385/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Highlight&amp;nbsp;the layer and click Clear Layer Cache to remove all cache for that layer.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3383/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;And&amp;nbsp;a final way to remove cache is via Tools &amp;gt; Options &amp;gt; Cache &amp;gt; Disk Cache. Choosing All Caches and clicking Delete Caches will clear all your local ArcGIS Explorer cache. We covered this at the end of&amp;nbsp;our &lt;A class="" title="Your Cache Porfolio - Part 1" href="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2008/11/05/your-cache-portfolio-part-1.aspx" target=_blank&gt;previous post&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.esri.com/Info/aggbug.aspx?PostID=3379" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Cache/default.aspx">Cache</category></item><item><title>Your Cache Portfolio - Part 1</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2008/11/05/your-cache-portfolio-part-1.aspx</link><pubDate>Thu, 06 Nov 2008 01:30:00 GMT</pubDate><guid isPermaLink="false">8296249d-4d69-4913-b1e7-14b85fcd9fb0:3300</guid><dc:creator>ArcGIS-Explorer-Team</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/comments/3300.aspx</comments><wfw:commentRss>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/commentrss.aspx?PostID=3300</wfw:commentRss><description>&lt;P&gt;You should see your investment advisor about investing cash, but in this two part post&amp;nbsp;we'll cover how you can best manage your investment in Explorer map cache. Under most circumstances cache and how it is managed are&amp;nbsp;completely internal to the application. But knowing a little more about it will help you make the right decisions about managing your own cache, and in making decisions about how you connect to services.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We'll begin by covering the implications of cache as it pertains to&amp;nbsp;the default map, and other maps and layers you can access from the &lt;A class="" title="Open Resource Center Content tab" href="http://resources.esri.com/arcgisexplorer/index.cfm?fa=content" target=_blank&gt;Content tab&lt;/A&gt; on the&amp;nbsp;Explorer Resource Center.&lt;/P&gt;
&lt;P&gt;Behind the scenes the default map and other maps are powered by &lt;A class="" title="ArcGIS Online services resource center" href="http://resources.esri.com/arcgisonlineservices/" target=_blank&gt;ArcGIS Online&lt;/A&gt;, a large repository of online content and services that can be used in ArcGIS Explorer, ArcGIS Desktop, and ArcGIS Server.&amp;nbsp;The ArcGIS Online services are powered by ArcGIS Server, and use ArcGIS Server's caching capabilities&amp;nbsp;to streamline performance, and reduce client/server overhead. The &lt;A class="" title="Caching in ArcGIS Server Help" href="http://webhelp.esri.com/arcgisserver/9.3/dotNet/index.htm#create_globe_cache_tiles.htm" target=_blank&gt;ArcGIS Server 9.3 Help&lt;/A&gt; describes caching as follows:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Map caching is a very effective way to make your ArcGIS Server maps run faster. When you create a map cache, the server draws the entire map at several different scales, and stores copies of the map images. The server can then distribute these images whenever someone asks for a map. It's much quicker for ArcGIS Server to hand out a cached image than to draw the map each time someone requests it. Another benefit of caching is that the amount of detail in the image doesn't noticeably affect how quickly the server can distribute the copy.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The bottom line is that caching is a feature of ArcGIS Server that makes things better for you - the ArcGIS Explorer user. &lt;/P&gt;
&lt;P&gt;When you first connect to a&amp;nbsp;service you communicate with the ArcGIS Online's ArcGIS Servers. Cache is "handed out" to Explorer, and you'll see the Streaming... progress bar at the bottom of the map. &lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3368/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;What's happening is that cache is being transferred from the ArcGIS Online servers to Explorer, where it's stored locally. This is somewhat similar to how bits and pieces of internet sites you visit are stored in browser cache to optimize performance when visiting the site again.&lt;/P&gt;
&lt;P&gt;Once local, the next time you visit the same&amp;nbsp;location Explorer doesn't even have to communicate with the server. It knows that&amp;nbsp;it already&amp;nbsp;has the&amp;nbsp;cache it needs and simply uses it from local storage, resulting in best performance and minimizing client/server communications.&lt;/P&gt;
&lt;P&gt;In an &lt;A class="" title="Explorer maps - always on the update" href="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2008/10/09/explorer-default-map-updates.aspx" target=_blank&gt;earlier post&lt;/A&gt; we blogged about how Explorer's default startup map and other layers you find on the Resource Center&amp;nbsp;are regularly updated. To see these updates in areas that you've already visited you will have delete your local cache since Explorer knows you've already been there, and doesn't fetch new cache from the server. &lt;/P&gt;
&lt;P&gt;But now that we said that, it's not entirely accurate. There were many changes in ArcGIS Online services&amp;nbsp;in recent months&amp;nbsp;that were automatically propagated to all Explorer users. That happened&amp;nbsp;since we changed the ArcGIS Online server URL string to indicate a migration from the 9.2 version of ArcGIS Server to the&amp;nbsp;9.3 version. As&amp;nbsp;a result of that change, new cache was pushed out automatically. But unless ESRI does something on the back end, some changes may&amp;nbsp;be made&amp;nbsp;to ArcGIS Online services that you'll need to refresh your cache to see. &lt;/P&gt;
&lt;P&gt;To refresh your cache, just go to Tools &amp;gt; Options &amp;gt; Cache and choose Disk Cache. Check the option for All Caches and click Delete Caches.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/3369/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;It's a good idea to periodically refresh your cache, and good practice to make it part of your housekeeping activities.&lt;/P&gt;
&lt;P&gt;In Part II, we'll cover how to have your cache refresh automatically when connecting to services.&lt;/P&gt;&lt;img src="http://blogs.esri.com/Info/aggbug.aspx?PostID=3300" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/ArcGIS+Online/default.aspx">ArcGIS Online</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Cache/default.aspx">Cache</category></item><item><title>Using Dynamic Content</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2008/01/24/managing-dynamic-content.aspx</link><pubDate>Thu, 24 Jan 2008 18:22:00 GMT</pubDate><guid isPermaLink="false">8296249d-4d69-4913-b1e7-14b85fcd9fb0:866</guid><dc:creator>ArcGIS-Explorer-Team</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/comments/866.aspx</comments><wfw:commentRss>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/commentrss.aspx?PostID=866</wfw:commentRss><description>&lt;P&gt;ArcGIS Explorer 440 includes&amp;nbsp;enhancements which make it easier to use and manage dynamic&amp;nbsp;layer content from services that are continually being updated, like weather or active fire perimeters.&lt;/P&gt;
&lt;P&gt;When you connect to one of these services you have full control over the refresh interval, and with&amp;nbsp;Explorer 440&amp;nbsp;the cache for dynamic layers is automatically refreshed on open, so you'll always have the latest information. This&amp;nbsp;now applies&amp;nbsp;to all content sources, including both 2D and 3D services published via &lt;A class="" title="ESRI's ArcGIS Server Web site" href="http://www.esri.com/software/arcgis/arcgisserver/index.html" target=_blank&gt;ArcGIS Server&lt;/A&gt;, 2D services published via &lt;A class="" title="ESRI's ArcIMS Web site" href="http://www.esri.com/software/arcgis/arcims/index.html" target=_blank&gt;ArcIMS&lt;/A&gt;, or local vector and raster data.&lt;/P&gt;
&lt;P&gt;In this example we're going to use a weather service provided by &lt;A class="" title="Meterologix Web site" href="http://www.meteorlogix.com/" target=_blank&gt;Meteorlogix&lt;/A&gt;, one of ESRI's &lt;A class="" title="ESRI Business Partner site" href="http://www.esri.com/partners/index.html" target=_blank&gt;business partners&lt;/A&gt;. The Meteorlogix weather information service that ESRI taps into provides updated information every 15 minutes, and the data is being manipulated and&amp;nbsp;stored in an&amp;nbsp;Oracle-based &lt;A class="" title="ArcGIS Server editions" href="http://www.esri.com/software/arcgis/arcgisserver/about/editions-levels.html" target=_blank&gt;enterprise&amp;nbsp;geodatabase&lt;/A&gt;.&amp;nbsp;&amp;nbsp;As part of the&amp;nbsp;geodatabase input process the data is generalized somewhat (for performance) and cell-based information is aggregated into polygons. As the data is refreshed in the geodatabase it is also being date-stamped, so that historical weather trends can be analyzed using ArcGIS Desktop's &lt;A class="" title="ArcGIS Tracking Analyst at esri.com" href="http://www.esri.com/software/arcgis/extensions/trackinganalyst/index.html" target=_blank&gt;Tracking Analyst&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;In ArcGIS Explorer we're interested in adding this service as a dynamic layer which refreshes automatically. To do this, we connect to the service in Explorer by choosing File, then Open, and selecting&amp;nbsp;Server as the&amp;nbsp;content type we wish to open.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below we've clicked ArcGIS Server from the&amp;nbsp;Create New Connection choices along the top, and have provided the necessary connection information to connect to the&amp;nbsp;ESRI internal server that is publishing the weather (sorry, we don't yet publish weather as a publicly accessible service).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/867/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Now that we've established a connection to the server, we can scroll down and see the list of published services that are available. Below we've chosen to connect to the Meteorlogix weather service that we described above.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/868/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Now that we've chosen&amp;nbsp;the weather service, we're guided by a wizard to specify certain parameters. Note that there is a user option to remember what we've specified the next time around.&lt;/P&gt;
&lt;P&gt;First we're asked to specify the raster cell size, for which we accept the default chosen by Explorer. Next we're asked to choose from among the sublayers published in this service. And now to the important part - we're asked to specify the disk caching options. Since the&amp;nbsp;weather data&amp;nbsp;is updated on the server every 15 minutes, we'll choose the option for "Don't create a cache for the layer on disk." This also enables the choice for refreshing cache based on a time interval, and we'll specify 15 minutes as the refresh rate.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/869/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Using these settings Explorer will communicate with the server and refresh cache for this layer every 15 minutes. If the map is saved, when opened again it will automatically refresh the layer, then refresh at the specified 15 minute interval, ensuring that what you see is up to date.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/870/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;You can experiment with this yourself using any service or local data source. For&amp;nbsp;a detailed discussion on cache and various cache management options, refer to the &lt;A class="" title="Cache management Help topic" href="http://services.arcgisonline.com/450//explorer/help/hh_goto.htm#cachemanagement.htm" target=_blank&gt;Cache management in ArcGIS Explorer&lt;/A&gt; Help topic.&lt;/P&gt;&lt;img src="http://blogs.esri.com/Info/aggbug.aspx?PostID=866" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/ArcGIS+Server/default.aspx">ArcGIS Server</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Build+440/default.aspx">Build 440</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Cache/default.aspx">Cache</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/ArcIMS/default.aspx">ArcIMS</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Meteorlogix/default.aspx">Meteorlogix</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Tracking+Analyst/default.aspx">Tracking Analyst</category></item><item><title>Updates to ArcGIS Explorer's Services = Cache Cleaning Time</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2007/12/20/time-for-some-cache-housekeeping.aspx</link><pubDate>Thu, 20 Dec 2007 19:03:00 GMT</pubDate><guid isPermaLink="false">8296249d-4d69-4913-b1e7-14b85fcd9fb0:795</guid><dc:creator>ArcGIS-Explorer-Team</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/comments/795.aspx</comments><wfw:commentRss>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/commentrss.aspx?PostID=795</wfw:commentRss><description>&lt;P&gt;Just prior to this &lt;A class="" title="Blog post on Explorer 440 release" href="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2007/12/18/arcgis-explorer-440-released.aspx"&gt;latest release&lt;/A&gt; a couple of the &lt;A class="" title="ArcGIS Online Web site" href="http://arcgisonline.esri.com/" target=_blank&gt;ArcGIS Online&lt;/A&gt; services which deliver content in several of the maps and layers available through the Contents tab on the&amp;nbsp;&lt;A class="" title="ArcGIS Explorer Resource Center" href="http://resources.esri.com/arcgisexplorer/index.cfm?fa=content" target=_blank&gt;Explorer Resource Center&lt;/A&gt; were updated. These changes include the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;World Shaded Relief: added additional levels of detail&lt;/LI&gt;
&lt;LI&gt;Physical World: added additional levels of detail, plus bathymetry at small scales&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;An&amp;nbsp;&lt;A class="" title="ArcGIS Online Forum post" href="http://forums.esri.com/Thread.asp?c=188&amp;amp;f=2227&amp;amp;t=241695" target=_blank&gt;ArcGIS Online Forum post&lt;/A&gt; also covers these changes,&amp;nbsp;with a few additional details.&lt;/P&gt;
&lt;P&gt;To view these updates, you'll have to clear your cache for these layers. To do so, choose Tools, Manage Layers, and then select the layers above&amp;nbsp;(if you are using them in your map) and click the Clear Layer Cache button.&lt;/P&gt;
&lt;P&gt;If you don't use these layers regularly, but want to make sure you've cleared their cache to see the updates, you can take your cache housekeeping a little further and delete all of your cache, and start afresh. This isn't required, but you might want to do this from time to time just as a regular housekeeping task. &lt;/P&gt;
&lt;P&gt;Remember that if you do clear all your cache, you'll be fetching fresh cache from ESRI's servers, as well as from any other servers that you may connect to, and generating new cache for your local data sources. Your performance will be a little slower while you fetch or generate&amp;nbsp;cache again.&lt;/P&gt;
&lt;P&gt;To clear out your cache, choose Tools, then Options, and choose Cache in the options list. Click *** Cache, and under Cache Clean Up choose All Caches before clicking the Delete Caches button.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/796/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;See the Help topic &lt;A class="" title="Cache Management Help topic" href="http://services.arcgisonline.com/440//explorer/help/hh_goto.htm#cachemanagement.htm" target=_blank&gt;Cache Management in ArcGIS Explorer&lt;/A&gt; for additional details, and more information.&lt;/P&gt;
&lt;P&gt;There will be other service updates during Q1 next year, and we'll keep you posted as to when they'll be happening.&lt;/P&gt;&lt;img src="http://blogs.esri.com/Info/aggbug.aspx?PostID=795" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/ArcGIS+Online/default.aspx">ArcGIS Online</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Cache/default.aspx">Cache</category></item></channel></rss>