Forum Discussion
Craig_Freyman_1
Nimbostratus
Oct 17, 2005NO-Caching certain files with BIP
Trying to write an IRule to make client computers not cache certain file types. We can not have our client computers download any files that start with "slide" or "ps" into their temporary internet f...
Craig_Freyman_1
Nimbostratus
Oct 17, 2005Thanks for that. I put the change in and it is still not working. I'm wondering if I should be using some sort of wild card characters because maybe there isnt a match being made. When you use the "contains" does it just look for that string anywhere in the URI?
TO be more specific I changed the Irule to match a certain file that is being requested by the client:
/GET /common/meeting/launcher/openmeetingversioncheck.swf HTTP/1.1
and changed the Irule to:
when HTTP_REQUEST {
set foundmatch 0
if { ([HTTP::uri] contains "openmeetingversioncheck.swf")} {
set foundmatch 1
}
}
when HTTP_RESPONSE {
if {$foundmatch == 1} {
HTTP::header replace Cache-Control no-cache
HTTP::header replace Pragma no-cache
}
}
Still nothing. Any other ideas or suggestions?
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