type="CommunityContrib" src="Crowd"
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.


CMP v10.0 compatible counters using the session table

Problem this snippet solves:This simple iRule shows how you can create a CMP-compatible counter. The first portion of the iRule demonstrates creating and incrementing a global counter which is accessible across all virtual servers and all TCP connect...

Clone Pool Based On Uri

Problem this snippet solves:This iRule will clone a connection to a second pool based on the input URI. In addition to using an iRule to choose what pool of servers a connection is sent to you can also set a clone pool within a rule. This is a simple...

Cache No POST

Problem this snippet solves:Disable RAMcache for POST request responses.Code :when HTTP_REQUEST { if { [HTTP::method] equals "POST" } { CACHE::disable } else { CACHE::enable } }Tested this on version:10.0

URL Shortener

Problem this snippet solves:The Small URL Generator takes a long URL, examines its length, and assigns it a variable length key based on the original URL's length. The key is then stored in a subtable along with the original URL. When a user accesses...

Top Contributors