Page Speed Optimization Libraries
1.4.26.1
|
#include "net/instaweb/rewriter/public/rewrite_driver.h"
#include "net/instaweb/rewriter/public/server_context.h"
#include "net/instaweb/util/public/basictypes.h"
#include "net/instaweb/util/public/property_cache.h"
#include "net/instaweb/util/public/proto_util.h"
#include "net/instaweb/util/public/scoped_ptr.h"
#include "net/instaweb/util/public/string.h"
#include "net/instaweb/util/public/string_util.h"
Go to the source code of this file.
Namespaces | |
namespace | net_instaweb |
for StringPiece | |
Enumerations | |
enum | net_instaweb::PropertyCacheDecodeResult { net_instaweb::kPropertyCacheDecodeNotFound, kPropertyCacheDecodeExpired, kPropertyCacheDecodeParseError, kPropertyCacheDecodeOk } |
enum | net_instaweb::PropertyCacheUpdateResult { net_instaweb::kPropertyCacheUpdateNotFound, kPropertyCacheUpdateEncodeError, kPropertyCacheUpdateOk } |
Functions | |
template<typename T > | |
T * | net_instaweb::DecodeFromPropertyCache (RewriteDriver *driver, StringPiece cohort_name, StringPiece property_name, int64 cache_ttl_ms, PropertyCacheDecodeResult *status) |
template<typename T > | |
PropertyCacheUpdateResult | net_instaweb::UpdateInPropertyCache (const T &value, RewriteDriver *driver, StringPiece cohort_name, StringPiece property_name, bool write_cohort) |
template<typename T > | |
PropertyCacheUpdateResult | net_instaweb::UpdateInPropertyCache (const T &value, const PropertyCache *cache, StringPiece cohort_name, StringPiece property_name, bool write_cohort, PropertyPage *page) |
This contains some utilities that make it easier to work with the property cache.