Forum Discussion
JRahm
Jul 14, 2008Admin
How about something like this:
when HTTP_RESPONSE {
set time_r [split [clock format [clock seconds] -format {%H:%M} ] " "]
set time_f [expr [expr [lindex $time_r 0]*100] + [lindex $time_r 1]]
if { not(($time_f >= 0800) && ($time_f <= 1700)) } {
COMPRESS::disable
}
}
I don't have compression module, so this is untested.