Silverlight and the browser cache

Last post 04-09-2008 2:56 PM by WhatThe12. 2 replies.

Sort Posts:

  • Silverlight and the browser cache

    03-29-2008, 10:34 PM
    • Loading...
    • WhatThe12
    • Joined on 10-08-2003, 3:37 AM
    • UK
    • Posts 785

    Hi,

     Lets say I chop up my Silverlight app into different chunks (assemblies?) and one chunk gets stuck in a user's browser's cache. If I update this chunk, is it possible that the user won't get the updated code but will instead use the old version that they have cached locally?

     Cheers, WT.

    Web dev - spending forever achieving nothing.
  • Re: Silverlight and the browser cache

    04-09-2008, 2:16 PM

    I don't know if this is possible, but you could try common cache-breaking techniques to prevent this.

    If you are initiating the request for each chunk, you can add a random number at the end of the query string for each one. That would prevent the browser from caching it.

    There may also be properties you can set to prevent caching of Silverlight bits. I don't really know. 

  • Re: Silverlight and the browser cache

    04-09-2008, 2:56 PM
    • Loading...
    • WhatThe12
    • Joined on 10-08-2003, 3:37 AM
    • UK
    • Posts 785

    ok, so just like Flash.

    Web dev - spending forever achieving nothing.
Page 1 of 1 (3 items)