MT::CacheData
NAME
MT::CacheData - A MT::Object subclass used by MT::Telegraph::CacheMgr::Object to cache HTTP responses.
VERSION
Telegraph 0.62
DESCRIPTION
A MT::Object subclass used by MT::Telegraph::CacheMgr::Object to cache HTTP responses.
MT::CacheData is a part of the Telegraph framework.
USAGE
MT::CacheData is a subclass of MT::Object that inherits all of the data-management and storage methods. See the MT::Object documentation for details working with objects in Movable Type.
METHODS
- id
An system assigned integer and identifier of the record in the database.
- blog_id
An optional identifier associating the cached data with a specific weblog in the system.
- cache
A required name of the cache the data is associated with. This is typically set and managed by MT::CacheMgr.
- key
A required unique string identifier such as a URI for the cached data. The key value scheme and assignment is determined by the cache and its implementation.
- http_tag
The HTTP ETag of the cache data if any.
- http_last_modified
The HTTP Last-Modified time stamp (if any) represented as a string in RFC822 format.
- data
The cached data. This method takes a reference to a Perl data structure and transparently handles serialization and deserialization.
AUTHOR & COPYRIGHT
Copyright 2005-2007 Appnel Internet Solutions, LLC, info@appnel.com. All Rights Reserved. This code cannot be redistributed without permission of the author.
