We are struggling with the ImageGen default functionality of setting the expires header as the last modified date (i.e. never cache).
We were able to use the CachingTimeSpan which works fine for resized images but it doesn't seem to apply for images that don't get resized (i.e. happen to be the correct size already)
Seems like it should be a really easy thing to fix.
What a silly bug on my part... when ImageGen doesn't have to modify the image and just send the original it would seem I don't set the expires headers either. I'll add that to the bug tracker. Thanks for the report.
Expires Cache Header issue
We are struggling with the ImageGen default functionality of setting the expires header as the last modified date (i.e. never cache).
We were able to use the CachingTimeSpan which works fine for resized images but it doesn't seem to apply for images that don't get resized (i.e. happen to be the correct size already)
Seems like it should be a really easy thing to fix.
cheers,
Robert
What a silly bug on my part... when ImageGen doesn't have to modify the image and just send the original it would seem I don't set the expires headers either. I'll add that to the bug tracker. Thanks for the report.
cheers,
doug.
is working on a reply...