Caching problems when viewing list of uploaded images

  •  04-26-2004, 4:48 AM

    Caching problems when viewing list of uploaded images

    When I use the Insert Image dialog, the list of images is nog correct. When I delete a file for instance, it is deleted from disk. When I re-open the dialog however, the image is back in the list. After I insert it, the image shows up in CuteEditor, but fails when loading the actual page.

     

    Seems to me the image, and also the list of images, get cached within the dialogs.

     

    I've tried to add meta tags to the aspx files (expires = -1 and pragma = no-cache) but that didn't have effect.

     

    So, is there some code in the codebehind that prevents the browser from caching the files ? I know there is this

    Response.Cache.SetCacheability(HttpCacheability.NoCache); method that disables caching, but it should be inserted in the codebehind files.

     

    Grtz

View Complete Thread