Forum Discussion
Hannes_Rapp
Mar 20, 2015Nimbostratus
Hi,
Are you using v11.4 or newer? If so, take a look at LTM Policies - these allow all sorts of flexibility to control caching and compression. Ref: https://devcentral.f5.com/articles/ltm-policy
The solution I'd recommend is creating a LTM policy for enabling your compression profile:
Strategy: Best-Match
-
Rule1 Criteria: none
-
Rule1 Action: "Disable"; "Compression"
-
Rule2 Criteria: HTTP URI Path "starts_with"; "/xyz"
-
Rule2 Action: "Enable"; "Compression Your-profile"
Note: before you can use your LTM policy, you need to assign a compression profile to your Virtual Server. Good luck :)