Forum Discussion
David_Farkas_29
Nimbostratus
Feb 01, 2005Cache persistence on domain name
Under 4.x I've used a very simple cache rule to send requests to a set of caches. However, back in 4.2 PTF6, a 'special' feature was added to allow persistence to a cache based on the level of the ho...
David_Farkas_29
Nimbostratus
Feb 02, 2005So is this why I get an error when I attempt to use the cache rule, even the example that is the manual?
when HTTP_REQUEST {
if { [HTTP::host] starts_with "abc" } {
cache { [HTTP::uri] ends_with "html" or [HTTP::uri] ends_with "gif" } {
origin_pool origin_server
cache_pool cache_servers
hot_pool cache_servers
hot_threshold 100
cool_threshold 10
hit_period 60
content_hash_size 1024
} else {
pool host named_servers
}
}
}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
