Forum Discussion
Chad_Roberts_21
Nimbostratus
Jan 08, 2007Problems downloading files with CACHE-CONTROL header
I asked this in response to a previous thread, but my question went unnoticed... I'll try again here.
I recently tried adding the following simple iRule to one of our web apps. It seemed to work w...
Perry_71428
Nimbostratus
May 04, 2010Hi
I have hit this problem recently too. In my case relating to a problem with Internet Explorer not being able to download files from a website over https. Problem doesn't exist in firefox.
We have got round the problem by forcing the removal of all cache control headers on the virtual servers controlling the affected website. We were concerned that this might mean that data driven downloaded files would cache when we didn't want them too, so we just ensured every download file was generated with a different name on the fly making the caching irrelevant. Low usage 'extranet' type website so cache performance wasn't key, where the functionality was.
The irule was found elsewhere on DevCentral
when HTTP_RESPONSE {
Remove all Cache-Control related headers
Solves issue in IE when downloading over https fails
HTTP::header remove Cache-Control
HTTP::header remove Expires
HTTP::header remove Pragma
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects