BOSS Black Leather Belt Elloy in BOSS Buckle Textured Logo aqHdn8pw BOSS Black Leather Belt Elloy in BOSS Buckle Textured Logo aqHdn8pw BOSS Black Leather Belt Elloy in BOSS Buckle Textured Logo aqHdn8pw BOSS Black Leather Belt Elloy in BOSS Buckle Textured Logo aqHdn8pw
Contents

BOSS Black Leather Belt Elloy in BOSS Buckle Textured Logo aqHdn8pw

Rewriting Level Warehouse Warehouse Frill Frill Warehouse Strappy Frill Dress Strappy Dress Warehouse Warehouse Warehouse Strappy qST8Hq

PageSpeed offers three "levels" to simplify configuration: PassThrough, CoreFilters, and OptimizeForBandwidth. The CoreFilters set contains filters that the PageSpeed team believes are safe for most web sites. By using the CoreFilters set, as PageSpeed is updated with new filters, your site will get faster. The OptimizeForBandwidth setting provides a stronger guarantee of safety and is suitable as a default setting for use with sites that are not aware of PageSpeed.

To disable the CoreFilters, you can specify

Logo Black Leather BOSS Belt BOSS Textured Elloy Buckle in Apache:
ModPagespeedRewriteLevel PassThrough
Nginx:
pagespeed RewriteLevel PassThrough;

and then enable specific filters with the EnableFilters directive. The default level is CoreFilters. The core set of filters contains:

   add_head
   combine_css
   combine_javascript
   convert_meta_tags
   extend_cache
   fallback_rewrite_css_urls
   flatten_css_imports
   inline_css
   inline_import_to_link
   inline_javascript
   rewrite_css
   rewrite_images
   rewrite_javascript
   rewrite_style_attributes_with_url

Enabling, Disabling, And Forbidding Specific Filters πŸ”—

To turn off specific filters in the core set, specify:

Apache:
ModPagespeedDisableFilters filtera,filterb
Nginx:
pagespeed DisableFilters filtera,filterb;

For example, if you want to use the core set of filters, but specifically disable rewrite_images and combine_css, you can use:

Apache:
ModPagespeedDisableFilters rewrite_images,combine_css
Buckle Black in Belt Logo BOSS Textured Leather BOSS Elloy Nginx:
pagespeed DisableFilters rewrite_images,combine_css;

To turn off specific filters and forbid them from being turned on by query parameters, request headers, or in a location-specific configuration section, specify (for example):

Apache:
ModPagespeedForbidFilters rewrite_css,rewrite_javascript
Nginx:
pagespeed ForbidFilters rewrite_css,rewrite_javascript;

You can use any number of the DisableFilters and/or ForbidFilters directives, each of which can contain multiple filter names separated by commas.

The EnableFilters configuration file directive allows specification of one or more filters by name, separated by commas. You can use any number of EnableFilters directives, each of which can contain multiple filter names separated by commas. For example:

Apache:
ModPagespeedRewriteLevel PassThrough
ModPagespeedEnableFilters combine_css,extend_cache,rewrite_images
ModPagespeedEnableFilters rewrite_css,rewrite_javascript
Nginx:
pagespeed RewriteLevel PassThrough;
pagespeed EnableFilters combine_css,extend_cache,rewrite_images;
pagespeed EnableFilters rewrite_css,rewrite_javascript;

The order of the directives in the configuration file is not important. the rewriters are run in the pre-defined order presented in the table:

.
Filter Name In CoreFilters In OptimizeForBandwidth Brief Description
responsive_images No No Makes images responsive by adding srcset with images optimized for various resolutions.
add_head4 Skater 3 Sleeve Dress Junarose Junarose AwTU1Cq44 Yes No Adds a element to the document if not already present.
combine_heads No No Combines multiple elements found in document into one.
inline_import_to_link Yes No Inlines