Forum Discussion
cory_hase_69275
Nimbostratus
Jul 14, 2008Compression during a M-F 8am-5pm CST window
Can any one tell me if I can enable compression for a VIP via an Irule that will compress for periods of time, based on the local time of the LTM. Like compress duing the day 8-5 else do not compress.
Thanks in advance
- JRahm
Admin
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 } }
- Darrell_Kesti_5Historic F5 AccountSeeing an error when trying to save this in the iRule editor
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