filter · HTML filters
HTTP/2 experiment (experiment_http2)
- Category:
- HTML
- CoreFilters:
- No
- OptimizeForBandwidth:
- No
- Risk:
- Not rated
Switches on HTTP/2-specific behavior that is still in development. Experimental: what it does can change between releases, and it is not covered by the compatibility promises of the other filters.
When to use it
- Not in CoreFilters: it runs only when you enable it by name.
Risks
The
HTML filters
page lists no specific risks for this filter.
If a page misbehaves with it, DisableFilters experiment_http2 turns it off for
the scope you set it in.
Configuration
Enable it in the module configuration, at server, virtual-host or location scope:
Apache
ModPagespeedEnableFilters experiment_http2nginx
pagespeed EnableFilters experiment_http2;IIS (pagespeed.config)
pagespeed EnableFilters experiment_http2
Scoping, ForbidFilters and the thresholds filters read:
Choosing filters
.
Frequently asked questions
- What does the experiment_http2 filter do?
- Switches on HTTP/2-specific behavior that is still in development. Experimental: what it does can change between releases, and it is not covered by the compatibility promises of the other filters.
- Is experiment_http2 enabled by default?
- No.
experiment_http2is not in CoreFilters, the default RewriteLevel; it runs only when you enable it by name withEnableFilters. - How do I enable experiment_http2 on Apache and nginx?
- Add
ModPagespeedEnableFilters experiment_http2on Apache orpagespeed EnableFilters experiment_http2;on nginx. On IIS, addpagespeed EnableFilters experiment_http2to pagespeed.config.
Related filters
- add_base_tag — Add base tag
- add_head — Add head
- add_ids — Add IDs
- add_instrumentation — Add instrumentation
- collapse_whitespace — Collapse whitespace
- combine_heads — Combine heads
- compute_statistics — Compute HTML statistics
- convert_meta_tags — Convert meta tags
This page is drawn from the experiment_http2 entry on HTML filters. Every filter in one table: PageSpeed filters.