Forum Discussion
ssievers_87378
Nimbostratus
Oct 29, 2012Log length of css file in response
Hi,
I have a problem in the following case:
On a website there is a css-file that sometimes is not completely transferred to the client in the response. Now I like to write an iRule, that ...
hoolio
Cirrostratus
Oct 29, 2012A tweak to avoid saving the URI for every request:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/a/b/main.css" } {
set log_cl 1
} else {
set log_cl 0
}
}
when HTTP_RESPONSE {
if {$log_cl}{
log local0. "CSS-DEBUG: Content-Length is [HTTP::header Content-Length]"
}
}
Aaron
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
