How to clear the image cache in a Silverlight desktop application

17,454

To clear the Silverlight cache, use the following steps:

1) Start up the Silverlight application of interest

2) Right click anywhere inside the application and click ‘Silverlight’

3) Click on the “Application Storage” Tab

4) Choose the application (website) of interest and click "Delete..."

-or-

4) Click "Delete All" to delete the cache for all Silverlight applications

If you don't want applications to ever cache, clear the "Enable application storage" checkbox, but this is not necessarily recommended.

http://www.microsoft.com/getsilverlight/resources/documentation/AppStorage.aspx

Share:
17,454
John McCann
Author by

John McCann

As a seasoned engineering leader, software architect and full-stack developer with over 13 years of experience, I develop sophisticated user interfaces and highly scalable Big Data systems. My hyper-involved style of directing onshore and offshore software development teams delivers business needs quickly and reliably, boosting productivity and revenue. In my five years as Executive Director of Product Engineering at Comcast, I transformed the XFINITY TV customer experience by developing the user interface technology used to drive the Emmy Award winning X1 Platform. While developing an innovative new approach to running user interfaces on embedded devices, I forged new approaches for leading technology teams by transitioning from waterfall to agile working models and establishing the first DevOps team on the X1 platform. The software that my 35-person team develops now powers nearly 5 million connected set-top boxes in all markets of Comcast's nationwide footprint.

Updated on June 04, 2022

Comments

  • John McCann
    John McCann about 2 years

    I'm running a Silverlight out-of-browser desktop application that downloads a bunch of images from an HTTP server. It seems as though Silverlight has a local image cache that it uses for the images, even across multiple instantiations of the application. If I update an image on the HTTP server, I would like the updated image to be displayed in the Silverlight application, rather than the version of the image stored in the Silverlight image cache. How do I go about clearing the image cache on my machine?

    Clearing my web browser's image cache doesn't work here because the Silverlight application is running as an out-of browser desktop application.

    Note: I'm not interested in clearing the cache programmatically, I want to be able to do this by either changing a setting on my machine (to disable the image cache) or deleting a directory where the images are stored.