Page Speed Optimization Libraries
1.13.35.1
|
#include "downstream_cache_purger.h"
Public Member Functions | |
DownstreamCachePurger (RewriteDriver *driver) | |
bool | MaybeIssuePurge (const GoogleUrl &google_url) |
void | Clear () |
This class acts as a wrapper class for issuing purge requests to downstream caches.
bool net_instaweb::DownstreamCachePurger::MaybeIssuePurge | ( | const GoogleUrl & | google_url | ) |
Issues the purge request if the request headers, the purge-related options and the amount of rewriting completed satisfy certain conditions. Returns true if purge request was issued and false otherwise.