This project has moved and is read-only. For the latest updates, please go here.

Caching of xap

Nov 18, 2011 at 4:59 AM

I use dynamically loadad xap files in my application.  I was running in to a problem because the xap files were being cached on the client and so a modified app loaded to the server was not being seen by clients.  I have modified IIS7 to add the Cache-Control:no-cache header to all responses and now clients always request the dynamic xap files.

Is this the best way to control the caching of dynamically loaded xap files?