Skip to main content

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_http2

nginx

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_http2 is not in CoreFilters, the default RewriteLevel; it runs only when you enable it by name with EnableFilters.
How do I enable experiment_http2 on Apache and nginx?
Add ModPagespeedEnableFilters experiment_http2 on Apache or pagespeed EnableFilters experiment_http2; on nginx. On IIS, add pagespeed EnableFilters experiment_http2 to pagespeed.config.

This page is drawn from the experiment_http2 entry on HTML filters. Every filter in one table: PageSpeed filters.

Search