Page Speed Optimization Libraries
1.4.26.1
|
#include <map>
#include <vector>
#include "net/instaweb/htmlparse/public/empty_html_filter.h"
#include "net/instaweb/rewriter/public/css_tag_scanner.h"
#include "net/instaweb/util/public/basictypes.h"
#include "net/instaweb/util/public/scoped_ptr.h"
#include "net/instaweb/util/public/string.h"
Go to the source code of this file.
Classes | |
class | net_instaweb::CriticalCssFilter |
Namespaces | |
namespace | net_instaweb |
for StringPiece |
Replace link tags with the inline CSS that is resolved on initial load. Move the link tags to the bottom (usually CSS is placed in HEAD). Also, copy existing inline style blocks to the bottom to maintain the original rule order.
This lessons the extern resources in the HEAD and allows the page to load sooner.