Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
net_instaweb::RequestHeaders::Properties Struct Reference

#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
 

Detailed Description

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).

Constructor & Destructor Documentation

net_instaweb::RequestHeaders::Properties::Properties ( )
inline

The default constructor assumes all.

But we assume no authorization unless populated.


The documentation for this struct was generated from the following file: