Page Speed Optimization Libraries  1.2.24.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::InsertDnsPrefetchFilter Class Reference

#include "insert_dns_prefetch_filter.h"

Inheritance diagram for net_instaweb::InsertDnsPrefetchFilter:
net_instaweb::CommonFilter net_instaweb::EmptyHtmlFilter net_instaweb::HtmlFilter

List of all members.

Public Member Functions

 InsertDnsPrefetchFilter (RewriteDriver *driver)
virtual void StartDocumentImpl ()
virtual void EndDocument ()
 Note: EndDocument will be called imediately before the last Flush call.
virtual void StartElementImpl (HtmlElement *element)
virtual void EndElementImpl (HtmlElement *element)
virtual const char * Name () const
 The name of this filter -- used for logging and debugging.
virtual void DetermineEnabled ()
virtual const char * id () const

Detailed Description

Injects <link rel="dns-prefetch" href="//www.example.com"> tags in the HEAD to enable the browser to do DNS prefetching.


Member Function Documentation

Override DetermineEnabled to enable writing of the property cache DOM cohort in the RewriteDriver.

Reimplemented from net_instaweb::EmptyHtmlFilter.

Overload these implementer methods: Intentionally left abstract so that implementers don't forget to change the name from Blah to BlahImpl.

Implements net_instaweb::CommonFilter.


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