Page Speed Optimization Libraries
1.13.35.1
|
#include "request_headers.h"
Public Member Functions | |
Properties () | |
The default constructor assumes all. More... | |
Properties (bool cookie, bool cookie2, bool authorization) | |
Public Attributes | |
bool | has_cookie |
bool | has_cookie2 |
bool | has_authorization |
To compute cacheability, we have to know a few properties of the request headers, potentially carrying them through cache lookups. The request headers themselves can be expensive and we don't need (for example) the entire contents of cookies to understand whether there were cookies. In fact we can store the request properties we need in the space of a single int (for now).
|
inline |
The default constructor assumes all.
But we assume no authorization unless populated.