API Documentation

Caching policies tool interface.

$Id: CachingPolicyManager.py,v 1.4.14.2 2004/04/23 21:11:34 sidnei Exp $


class CachingPolicyManager

Manage HTTP cache policies for skin methods.


id = Must be set to "caching_policy_manager"

Methods

getHTTPCachingHeaders(content, view_method, keywords, time=None):

Update HTTP caching headers in REQUEST based on content, view_method, and keywords.

If time is supplied, use it instead of the current time (for reliable testing).