Forum Discussion
expression for URI compression in LTM
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 :)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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