1..41 # ->initialize() - takes a sfCache object as its second argument # ->generateCacheKey - creates a simple cache key from an internal URI - can take a hostName as second parameter - can take a serialized set of vary headers as third parameter - includes request parameters as key/value pairs - reorders request parameters alphabetically - throws an sfException when passed an internal URI with a rule - does not throw an sfException when passed an internal URI with a @sf_cache_partial rule - throws an sfException when passed an internal URI with a @sf_cache_partial rule with no module or action param - can deal with internal URIs to partials - can deal with internal URIs to contextual partials - can take a prefix for contextual partials as fourth parameter - creates a directory friendly vary cache key # ->generateNamespace() # ->addCache() - register a cache configuration for an action - register a cache configuration for an action # ->set() - returns false if the action is not cacheable - returns true if the action is cacheable - stores the first parameter in a key computed from the second parameter - works with URIs with parameters - stores a different version for each set of parameters - stores a different version for each set of parameters - accepts keys to partials - accepts keys to contextual partials # ->get() - returns null if the action is not cacheable - returns the saved content if the action is cacheable # ->has() - returns false if the action is not cacheable - returns the cache does not exist for the action - returns true if the action is in cache # ->remove() - removes cache content for an action - removes accepts an internal URI as first parameter - does not remove cache content for keys not matching the internal URI - accepts wildcards in URIs and then removes all keys matching the pattern - accepts wildcards in URIs and then removes all keys matching the pattern - accepts wildcards in URIs and lets keys not matching the pattern unchanged # Cache key generation options - uses option to know if vary headers changes cache key. - uses option to know if vary headers changes cache key. - allows the use of both and options. - prevents directory traversal - prevents directory traversal # ->getCurrentCacheKey() - appends GET parameters to an existing query string - adds a query string of GET parameters if none is there # Looks like everything went fine.