Page Speed Optimization Libraries
1.13.35.1
|
#include "javascript_code_block.h"
Public Member Functions | |
JavascriptRewriteConfig (Statistics *statistics, bool minify, bool use_experimental_minifier, const JavascriptLibraryIdentification *identification, const pagespeed::js::JsTokenizerPatterns *js_tokenizer_patterns) | |
bool | minify () const |
Whether to minify javascript output. | |
bool | use_experimental_minifier () const |
const JavascriptLibraryIdentification * | library_identification () const |
const pagespeed::js::JsTokenizerPatterns * | js_tokenizer_patterns () const |
Variable * | blocks_minified () |
Variable * | libraries_identified () |
Variable * | minification_failures () |
Variable * | total_bytes_saved () |
Variable * | total_original_bytes () |
Variable * | num_uses () |
Variable * | num_reducing_uses () |
Variable * | minification_disabled () |
Variable * | did_not_shrink () |
Variable * | failed_to_write () |
Static Public Member Functions | |
static void | InitStats (Statistics *statistics) |
Static Public Attributes | |
static const char | kBlocksMinified [] |
Statistics names. | |
static const char | kLibrariesIdentified [] |
static const char | kMinificationFailures [] |
static const char | kTotalBytesSaved [] |
static const char | kTotalOriginalBytes [] |
static const char | kMinifyUses [] |
static const char | kNumReducingMinifications [] |
static const char | kJSMinificationDisabled [] |
Those are JS rewrite failure type statistics. | |
static const char | kJSDidNotShrink [] |
static const char | kJSFailedToWrite [] |
Class wrapping up configuration information for javascript rewriting, in order to minimize footprint of later changes to javascript rewriting.
|
inline |
Whether to use the new JsTokenizer-based minifier.