Image generated by ashx file not changing - is it being cached? RRS feed

  • Question

  • User-557582276 posted

    Hi all

    Big day for me. I created my first image in GDI+ and wrapped up its generation code in my first ashx file. I was well pleased to see it appear on the page for the first time!

    Problem is, I keep changing the image code, but when I refresh the page, the same old image just shows again and again.

    I assume this is to do with browser caching, although I'm not sure. Can anyone suggest what the cause might be, and if it is browser caching, is there anything I can do serverside to prevent client browsers from caching the generated image?



    Tuesday, March 17, 2009 9:22 AM

All replies

  • User-557582276 posted

    Ignore ignore ignore!

    The actual code to create the image is in a class library I had been forgetting to rebuild! [:$]

    Shame shame shame!

    Tuesday, March 17, 2009 9:30 AM