Forum Discussion
hooleylist
Oct 29, 2012Cirrostratus
A 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