Page Speed Optimization Libraries
1.2.24.1
|
#include "collect_subresources_filter.h"
Public Member Functions | |
CollectSubresourcesFilter (RewriteDriver *rewrite_driver) | |
virtual void | StartDocumentImpl () |
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 const char * | id () const |
void | AddSubresourcesToFlushEarlyInfo (FlushEarlyInfo *info) |
CollectSubresourcesFilter gets all the rewritten subresources in the head section of the document and stores them in property cache. The resources are then flushed early in FlushEarlyFlow in the form of a dummy HEAD which induces early downloading of the sub resources by the browser.
virtual void net_instaweb::CollectSubresourcesFilter::StartDocumentImpl | ( | ) | [virtual] |
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.