I currently have an application that leverages code from the raster and shapefiles example. I've noticed that the raster data is not being cached (which is how a dynamic layer is supposed to work I believe). When I pan, it takes several seconds for the raster data to refresh, which is not impressive. Is it possible to tweak my raster and shapefile code to use a local tiled layer to render raster data on top of a basemap? Or is there a way to cache with a local dynamic raster layer?