Page Speed Optimization Libraries  1.9.32.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::DeterministicJsFilter Class Reference

#include "deterministic_js_filter.h"

Inheritance diagram for net_instaweb::DeterministicJsFilter:

Public Member Functions

 DeterministicJsFilter (RewriteDriver *driver)
 
virtual void StartDocument ()
 
virtual void StartElement (HtmlElement *element)
 
virtual const char * Name () const
 

Detailed Description

Injects javascript at the beginning of the head tag to make it deterministic. The JS redefines functions like Math.random and Date. This filter is useful for testing and measurement but does not provide any latency gains. A head element is added if it is not already present in the html.


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