Page Speed Optimization Libraries  1.3.25.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Static Public Attributes
net_instaweb::CriticalImagesBeaconFilter Class Reference

#include "critical_images_beacon_filter.h"

Inheritance diagram for net_instaweb::CriticalImagesBeaconFilter:
net_instaweb::EmptyHtmlFilter net_instaweb::HtmlFilter

List of all members.

Public Member Functions

 CriticalImagesBeaconFilter (RewriteDriver *driver)
virtual void DetermineEnabled ()
virtual void StartDocument ()
virtual void EndElement (HtmlElement *element)
virtual const char * Name () const
 The name of this filter -- used for logging and debugging.

Static Public Member Functions

static void InitStats (Statistics *statistics)
static void Terminate ()

Static Public Attributes

static const char kCriticalImagesBeaconAddedCount []
 Counters.

Detailed Description

Inject javascript for detecting above the fold images after the page has loaded. Also adds pagespeed_url_hash attributes that the beacon sends back to the server. This allows the beacon to work despite image URL rewriting or inlining.


Member Function Documentation

Invoked by rewrite driver where all filters should determine whether they are enabled for this request.

Reimplemented from net_instaweb::EmptyHtmlFilter.

Starts a new document. Filters should clear their state in this function, as the same Filter instance may be used for multiple HTML documents.

Reimplemented from net_instaweb::EmptyHtmlFilter.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines