# Release notes: 2.11

mod_pagespeed 2.11 release notes: 2.11.0 has security fixes, much lower disk write load on recent Linux kernels and an experimental HTML cache.

Canonical URL: https://modpagespeed.com/docs/release-notes-2-11/

mod_pagespeed 2.11.0 is the current release: the module and the optimizer worker, released together on 2026-12-05 and installed as a matching pair. The packages in the signed apt and yum repositories, the container images and the Helm chart's application version carry the product version; the NuGet packages with these fixes are 2.11.0 as well, published on 2026-12-06. The [release notes index](https://modpagespeed.com/docs/release-notes/) lists every release of every line, and [Security updates](https://modpagespeed.com/docs/release-notes/#security-updates) lists every security fix we have published with the release that carried it.

**mod_pagespeed 2.11.0** (2026-12-05, module + optimizer worker)

**Release date:** 2026-12-05

**Status:** Stable

**Packages:** the same packages, platforms and channels as 2.10.0. The module packages
for Apache, nginx and IIS, the cPanel package and `pagespeed-optimizer` are 2.11.0, and
the module is paired with `pagespeed-optimizer` 2.11.0. The container images and the
application version of the Helm chart (chart 0.3.19) ship with the pagespeed-optimizer
2.11.0 release and are 2.11.0 as well. The WeAmp.PageSpeed NuGet packages with these
fixes are 2.11.0, published on 2026-12-06. The prebuilt nginx module archives are built for nginx 1.30.7, and their
README now says so.

## Highlights

- **Security: this release fixes a set of security issues in mod_pagespeed and
  pagespeed-optimizer.** See Security below. Update recommended.
- **Much lower disk write load on recent Linux kernels.** After upgrading, stop the web
  server and the pagespeed-optimizer service, then start the optimizer and then the web
  server. A graceful reload is not enough. See Action required when upgrading.
- **Request options from a URL, a request header or a cookie now enable core filters
  only, unless you allow more.** Debug links such as `?PageSpeedFilters=+debug` need a
  setting. See Action required when upgrading.
- **HTML cache (experimental, off by default).** On Apache and nginx the module can keep
  a copy of each HTML page and answer AI agents from the stored page or its Markdown
  copy; IIS serves Markdown copies. Start with `DaemonHtmlCache report-only`.
- **The admin console shows delivered savings**, counted each time an optimized response
  is sent, from the cache as well.
- **The HTML parser reads more pages as browsers do**, including templates, declarative
  shadow DOM, inline SVG and MathML, and `<noscript>`.

## Security

- **mod_pagespeed: fixed cross-site scripting issues in HTML parsing and rewriting.**
  Affected: 2.10.0 and earlier. **Update recommended.**
- **mod_pagespeed: fixed shared-cache issues that could serve a response meant for one
  visitor to other visitors.** Affected: 2.10.0 and earlier. **Update recommended.**
- **mod_pagespeed: fixed access-control issues.** Affected: 2.10.0 and earlier. **Update
  recommended.**
- **mod_pagespeed: request options from a URL, a request header or a cookie now enable
  core filters only, unless the operator allows more.** Affected: 2.10.0 and earlier.
  **Update recommended.**
- **mod_pagespeed: fixed issues that let a request crash a server process or use excessive
  memory or CPU time.** Affected: 2.10.0 and earlier. **Update recommended.**
- **mod_pagespeed: fixed URL-handling issues that could store, serve or authorize a
  resource under the wrong URL or host.** Affected: 2.10.0 and earlier. **Update
  recommended.**
- **mod_pagespeed: fixed an information disclosure issue in PNG optimization.** Affected:
  2.10.0 and earlier. **Update recommended.**
- **pagespeed-optimizer: fixed cross-site scripting issues in HTML rewriting in the
  worker.** Affected: 2.10.0 and earlier. **Update recommended.**
- **pagespeed-optimizer: fixed an information disclosure issue in PNG optimization.**
  Affected: 2.10.0 and earlier. **Update recommended.**
- **pagespeed-optimizer: fixed shared-cache issues in the nginx module that could serve a
  response meant for one request or visitor to another.** Affected: 2.10.0 and earlier.
  **Update recommended.**
- **pagespeed-optimizer: fixed an access-control issue in the nginx module.** Affected:
  2.8.0 to 2.10.0. **Update recommended.**
- The pagespeed-optimizer fixes reach the container images with their 2.11.0 release.
  The WeAmp.PageSpeed NuGet packages with these fixes are 2.11.0, published on 2026-12-06.

Discovered by Anthropic's OSS Scanner, as vulnerabilities ANT-2026-0BSV75LX, ANT-2026-1XD4C6Z1, ANT-2026-2EPGM69B, ANT-2026-2I0OHOGW, ANT-2026-2PE7TWS9, ANT-2026-3QIHG437, ANT-2026-4TRX91MO, ANT-2026-72MKDU8X, ANT-2026-BDLBOTGK, ANT-2026-BQDBKGBC, ANT-2026-CMGZOLUM, ANT-2026-D3KBRI6P, ANT-2026-DDNMEDDY, ANT-2026-E7H0RROW, ANT-2026-ENSCJ6SY, ANT-2026-EVVR95IL, ANT-2026-FBIMSEPS, ANT-2026-FJU4VV9W, ANT-2026-IFBOMZNK, ANT-2026-IU1TBCM8, ANT-2026-IUQWR1FC, ANT-2026-JHWOIOWR, ANT-2026-K9LWMH2C, ANT-2026-KD2446DW, ANT-2026-LISMB5J7, ANT-2026-MTHMPWVK, ANT-2026-O92QBKJP, ANT-2026-OGSG48WY, ANT-2026-OJ9CMNVH, ANT-2026-RR42K3M2, ANT-2026-TU4SHQ74, ANT-2026-U6QDC7K7, ANT-2026-VO9984CK, ANT-2026-VZV1HJ12, ANT-2026-W711QMY5, ANT-2026-W7M7VA8A, ANT-2026-YNB53YIM, and ANT-2026-ZQHDCVCU. We thank the scanner team for the reports. The scanner also reported ANT-2026-3Z0ZEM0D, which this release fixes as a bug.

## Action required when upgrading

- **No cache action is needed on upgrade.** The module and `pagespeed-optimizer` 2.11.0
  store their caches under new keys, so the caches are rebuilt as pages are requested.
  Expect more origin fetches and optimization work for a while. Before rolling
  `pagespeed-optimizer` back to an earlier release, purge its cache fully; before rolling
  the module back on a server that ran with `FetchWithGzip on`, clear the PageSpeed cache.
- **Install the module and `pagespeed-optimizer` 2.11.0 together, then restart both
  fully.** After upgrading, stop the web server and the pagespeed-optimizer service, then
  start the optimizer and then the web server. A graceful reload is not enough. For the
  lower disk write load to take full effect, clear the operating system's page cache or
  reboot after the restart.
- **Debug links and test setups that enable non-core filters per request need a
  setting.** If you use `?PageSpeedFilters=+debug`, or enable other non-core filters or
  options from a URL, a header or a cookie, either configure a `RequestOptionOverride`
  token and add `PageSpeedRequestOptionOverride=<token>` to those requests (recommended on
  production sites), or set `AllowAllRequestOptions on` where requests should keep full
  control, such as a test server (`ModPagespeedAllowAllRequestOptions on`,
  `pagespeed AllowAllRequestOptions on;`, `pagespeed AllowAllRequestOptions on` in IIS
  `pagespeed.config`, or `custom_options: {AllowAllRequestOptions: "on"}` in an Envoy
  virtual host). Without either, such requests are served with the configured filters.
- **Use standby, not off, where requests should be able to turn the module on.** On
  Apache, Envoy and IIS, as already on nginx, a request's `PageSpeed=on` no longer turns
  the module on where the configuration turns it off. On Apache and IIS an application's
  own `PageSpeed: on` response header no longer does either. Use `ModPagespeed standby`
  (Apache), `custom_options: { EnableRewriting: "standby" }` (Envoy) or
  `pagespeed EnableRewriting standby` (IIS).
- **In-place optimization is stricter.** It no longer optimizes responses that set a
  cookie, and with Apache `UseCanonicalName On` it applies to the `ServerName` only, not
  to a `ServerAlias`. A response the
  server took from another file through a rewrite is no longer recorded in place, so
  static assets that are only reachable through such a rewrite are no longer optimized in
  place: serve them under their own URL. On nginx and Apache, a stylesheet, script or
  image that states no cache lifetime and is requested with a cookie is not optimized in
  place; give such resources a `max-age` or `Expires`. On Envoy, set
  `normalize_path: true` on the HTTP connection manager, as the sample
  `pagespeed-envoy.yaml` now does.
- **Refresh pages that use `defer_javascript` in a downstream cache.** Pages held in a
  CDN or proxy cache must be refreshed after the upgrade; until then their element
  `onload` handlers do not run.
- **Same-host front proxy: use a standard client-address header.** If a front proxy on
  the same host passes the client address to this server, use a standard client-address
  header such as `X-Forwarded-For` or `X-Real-IP` for `RemoteIPHeader` (Apache) or
  `real_ip_header` (nginx).
- **WebP conversion now times out after 5 seconds by default.** If images need longer,
  raise `WebpTimeoutMs`; a negative value turns the timeout off.
- **Some domain mappings are now refused.** `ShardDomain`, `MapProxyDomain` and the
  alternate origin domains of an `ExperimentSpec` refuse a source domain with a wildcard
  (`*` or `?`), and a mapping whose source or target is not a valid URL (for example a
  non-ASCII host name not written in its `xn--` form) is refused too. A refused mapping is
  logged and authorizes nothing. Check the server log for "Cannot map" after upgrading.
- **IIS: the installer adds a second module entry, `PageSpeedFinalView`.** It loads the
  same `pagespeed_iis.dll` and is listed first in `system.webServer/modules`; upgrades and
  uninstalls handle both entries. If you register the module by hand, add it the same
  way:
  `appcmd install module /name:PageSpeedFinalView /image:<path to pagespeed_iis.dll> /add:false`,
  then
  `appcmd set config -section:system.webServer/modules "/+[@start,name='PageSpeedFinalView']" /commit:apphost`.
  With Shared Configuration, upgrade every server that shares it together, or take the
  servers not yet upgraded out of rotation.
- **HTML cache users: upgrade the optimizer first.** The serving modes of the
  experimental HTML cache need an optimizer library with C API 1.15 or later; with an
  older library they run as `report-only`. Behind a TLS-terminating proxy, set
  `RespectXForwardedProto on` only where every request comes through that proxy. If you
  roll the module back past this release, purge each site's HTML cache.
- **Apache: optimized-resource URLs where a local error page answers first.** Where a
  rule answers 403 or 404 for files that are not on disk before mod_pagespeed handles the
  request, and a local `ErrorDocument` covers that status, optimized-resource URLs (names
  containing `.pagespeed.`) under those locations now get the error page. Look for rules
  such as `RewriteCond %{REQUEST_FILENAME} !-f` with `[R=404]` or `[F]` next to a local
  `ErrorDocument`, and exempt those URLs, for example with
  `RewriteCond %{REQUEST_URI} !\.pagespeed\.`.
- **nginx: optimized-resource URLs passed on through an internal redirect.**
  Optimized-resource URLs and `MapProxyDomain` paths that a `return` combined with
  `error_page ... = @name` sends elsewhere now get the server's own response; exempt them,
  for example with a `location ~ "\.pagespeed\."` that does not return. Where such URLs
  fall under a location with `pagespeed off` that passes requests on (with `try_files`,
  or with `error_page` and a bare `=`) to a location where the module is on, use
  `pagespeed standby` instead of `pagespeed off` in the first location, or the pages lose
  their optimized stylesheets, scripts and images.

## Added

- **HTML cache (experimental, off by default).** `DaemonHtmlCache` stays `off` unless you
  set it. `report-only` counts what the cache would store or refuse and writes a decision
  log under `LogDir`, without changing any response; it needs an optimizer library with
  C API 1.12 or later and does nothing without one. With C API 1.15 or later:
  - `serve-variants` stores each HTML page whose headers allow a shared cache to keep it
    and answers a request that prefers `text/markdown` with the Markdown copy the
    optimizer derives from it (Apache, nginx and IIS). Every other request gets the HTML
    page, unchanged.
  - `serve-cached-html` also answers HTML requests from the stored page, through the
    module's rewriter, on Apache and on nginx 1.13.10 and later; by default only for
    known AI agents (`DaemonHtmlCacheServeScope`). IIS serves Markdown copies only. Envoy
    has no HTML cache.
  - Only anonymous requests are stored and answered: requests with credentials, a TLS
    client certificate, cookies outside a built-in list of analytics cookies
    (`DaemonHtmlCacheIgnoreCookies`, `DaemonHtmlCacheIgnoreCookie`), AJAX markers or
    forwarding headers the cache key does not contain go to the origin. Access control
    runs before every answer from the cache.
  - Pages behind a front controller (WordPress, Drupal and Laravel pretty URLs) are
    stored and served on Apache and nginx, bound to the target the server ran.
  - A `POST`, `PUT`, `DELETE` or other unsafe request invalidates the stored page of its
    URL. URL purges and global purges remove or fence stored pages.
  - With C API 1.16, a Markdown copy is sent brotli- or gzip-compressed when the client
    accepts it.
  - The HTML cache stops serving a site by itself, and logs why, when an internal check
    fails; the admin console's HTML cache panel shows the trip and can re-arm it.
  - New settings: `DaemonHtmlCacheServeScope`, `DaemonHtmlCacheMaxAge`,
    `DaemonHtmlCacheCredentialed`, `DaemonHtmlCacheIgnoreCookies` and
    `DaemonHtmlCacheIgnoreCookie`, accepted on every server.
  - The admin console's HTML cache panel and the statistics page describe every new
    counter.
  See [the HTML cache guide](https://modpagespeed.com/docs/html-cache/) for the steps, the limits and the counters to
  watch.
- **The admin console shows delivered savings.** The Savings page opens with a Delivered
  savings card: per type (images, CSS, JavaScript) the size of the originals, the size
  sent and how much smaller that was, counted each time an optimized response is sent,
  from the cache as well. Responses the server optimized itself and responses answered
  from the optimizer cache are shown side by side. The earlier figure stays, titled "Saved
  at rewrite time". New statistics: `image_served_original_bytes`,
  `image_served_optimized_bytes` and the same pairs for `css` and `javascript`, and
  `ipro_daemon_served_*_bytes` for responses answered from the optimizer cache. They also
  count resources optimized in place and combined scripts and stylesheets made from
  minified files.
- **Releases carry SLSA build provenance.** Each module release, and each nginx.org
  package release, includes `multiple.intoto.jsonl`, an SLSA build provenance statement
  for its files that `slsa-verifier` checks; SECURITY.md has the command.
- **Source builds can try an alternative, standards-based (WHATWG) URL parser** with the
  Bazel flag `--//pagespeed/kernel/http:url_backend=ada`. It is experimental and meant
  for testing. Default builds and all published packages are unchanged.
- **`AllowAllRequestOptions`** (server, virtual host or directory scope; never settable
  from a request) restores full control of options for requests (see Changed).

## Changed

- **Much lower disk write load on recent Linux kernels.** On filesystems with large
  page-cache folios (xfs, and ext4 on recent kernels), every small update to the shared
  cache volume, such as a hit count, wrote 2 MiB, and a low request rate could saturate a
  small disk. Small updates no longer write 2 MiB each, hit counts no longer trigger a
  sync of the whole volume every second, and cold reads read only the pages they touch.
  See Action required when upgrading.
- **A request may enable core filters only, unless the operator allows more.** Query
  parameters, request headers and cookies may still switch PageSpeed off or on where the
  configuration allows (`PageSpeed=off|on|noscript`), disable any filter
  (`PageSpeedFilters=-combine_css`) and enable filters of the `CoreFilters` set. A request
  to enable any other filter or set any other option is ignored: the parameter is still
  removed and the page is served normally. A request that carries the configured
  `RequestOptionOverride` token may still enable every filter and set every option, and
  option headers sent by the origin in its response are not limited.
- **nginx answers its own URLs only for the request as the client sent it.** Optimized
  resources, `MapProxyDomain` paths and cache purge requests are no longer answered after
  nginx sends a request elsewhere with an internal redirect (`error_page`, `try_files`,
  `index`, a named location); pages reached that way are still optimized. A request's
  `PageSpeed=unplugged` acts as `off`.
- **Apache leaves requests answered with a local error page to Apache.** The visitor gets
  the error page, not an optimized resource, in-place optimized content or proxied
  content. A request that a rewrite or an internal redirect sends to another file or
  server is served as Apache serves it, without in-place optimization.
- **In-place optimization and the HTML cache use only the canonical request path.** Any
  other spelling of a path (a dot segment, a backslash, a fragment) is passed on without
  being optimized or cached. The Apache HTML cache no longer stores pages under escaped or
  non-ASCII paths or paths with runs of slashes.
- **In-place optimization: requests with an unusual `Host` header are now handled
  consistently**, on every server. A request with PageSpeed query parameters is still answered
  from the in-place entry of its plain URL but no longer creates it. In-place
  optimization adds its shared-cache lifetime (`InPlaceSMaxAgeSec`) only to responses a
  shared cache may keep for other visitors, and an optimized resource whose options came
  from request headers or cookies is served `private`.
- **`.pagespeed.` URLs longer than PageSpeed writes are no longer rebuilt.** A requested
  URL whose path is longer than `MaxUrlSize`, or whose last segment is longer than
  `MaxSegmentLength`, gets the usual not-found response. A combined stylesheet or script
  that would be larger than the largest response the cache stores is not built, and the
  page keeps its separate links.
- **Requests the module proxies for `MapProxyDomain` no longer pass on the visitor's
  client-address headers.** `X-Forwarded-Proto`, `X-Forwarded-Host` and `Via` are still
  passed on. A client-address header added to the module's own fetches with
  `CustomFetchHeader` is now honoured by mod_remoteip (Apache) and realip (nginx).
- **Validators the module issues itself never reach the origin.** A request whose
  `If-None-Match` names an entity tag reserved for the module (`psh-` or `psm-`) has
  `If-None-Match` and `If-Modified-Since` removed before any handler or proxy sees them,
  on every server.
- **WebP conversion has a 5 second timeout by default** (`WebpTimeoutMs` 5000), as
  `AvifTimeoutMs` already had. An image whose conversion takes longer is served in its
  own format.
- **A conditional request for an optimized resource whose original cannot be shared
  between visitors** gets a plain 304 with no caching headers.
- **Markup written where a filter removed an element.** When a filter removes or moves an
  element in text that is not well-formed HTML, an empty comment (`<!---->`) can now take
  its place.
- **The in-place recorder no longer holds or reads through HTML responses.** With the
  optimizer service in use, Apache, nginx and IIS decide from the response headers, so
  HTML traffic can no longer crowd out the recording of stylesheets, scripts and images.
- **`DaemonHtmlCache report-only` does nothing without a library that can report**, and
  the directive's help, the guide and the admin console mark the HTML cache as
  experimental.

## Fixed

- **Filters leave `<template>` and declarative shadow DOM content in place.** Stylesheets,
  scripts, images and iframes inside a `<template>` (including
  `<template shadowrootmode>`) are no longer moved, combined, deferred or lazy-loaded,
  and filters no longer pick a `<head>` or `<body>` inside a template for their own tags.
  A stylesheet with a parent-scoped `@scope` rule keeps its place. Scripts in a
  declarative shadow root run while the page is parsed, so with `defer_javascript` they
  now run before the page's deferred scripts.
- **The HTML parser ends elements where browsers do in more cases**: a block-level start
  tag closes an open paragraph, end tags inside `<template>` stay inside it, `</template>`
  and table end tags close from inside SVG or MathML HTML content, self-closing forms such
  as `<template/>` and `<textarea/>` keep their content, end tags with attributes and
  `<![CDATA[` in HTML are read as browsers read them, and XHTML served as XML is parsed as
  XML on every server. Where the parser could build a different structure from browsers,
  it now serves the rest of the page as received. The HTML written out is unchanged
  except where noted in the changelog.
- **Filters leave the content of `<noscript>`, `<noembed>` and `<noframes>` in place**, and
  a `<style>` or comment inside them is left as written.
- **A `<base>` that browsers ignore or may not use no longer sets the page's base URL**:
  inside `<template>`, `<noscript>`, `<noembed>` or `<noframes>`, after `<plaintext>`, or
  after a `<table>`, `<select>` or `<frameset>`. Such pages keep relative URLs as written.
- **A missing end tag at the end of a page is written before content a filter adds after
  it**, so an added script runs instead of being read as part of the open element.
- **`FetchWithGzip on` works for compressed resources.** On ports that use the
  libcurl-based fetcher, a gzip- or deflate-compressed resource was decoded twice; it is
  now decoded once.
- **Apache: module log lines reach the error log and the console again** after a start
  or graceful restart.
- **Wildcard domain entries match on scheme, host and port only.** Userinfo text no longer
  takes part in the match, and a `?` in the source domain of a mapping is always a
  wildcard character.
- **A URL purge matches the URL however its host is spelled** (letter case, default
  port).
- **An in-place optimized resource expires with the file it was made from**, and a
  stylesheet keeps its `@import` when the imported file cannot be flattened under load.
- **The inline preview of an image uses the image conversion limits** (`AvifTimeoutMs`,
  `WebpTimeoutMs`, `ImageMaxAnimatedFrames`) and is never an animated AVIF.
- **IIS no longer falls back to a time-based key for beacon nonces** when the system
  random number generator is unavailable.
- **Lower memory use when checking very large inline styles for `@scope`.**
- **Quieter, more accurate logs.** A fetch cancelled at shutdown is logged at info and
  counted in `curl_fetch_cancel_count`; a `.pagespeed.` request whose original is gone
  (404 or 410) logs one info line; slow file operations log one warning. On Apache, a
  request for an admin handler path that is not configured gets 404, as on nginx and IIS.
- **The prebuilt nginx module archives name the nginx version they are built for.**
- **HTML cache (experimental):** `report-only` counts the same refusals serving would
  apply, and a script's request (an AJAX marker) is never stored or answered with a
  Markdown copy.

## Known issues

- nginx: with the realip module, set `set_real_ip_from` and `real_ip_header` at `http` or
  `server` level; the module takes the client address from the server-level realip
  configuration.

## Documentation

- [HTML cache for AI agents](https://modpagespeed.com/docs/html-cache/) is an operator guide for the experimental HTML
  cache: what `report-only` does and costs, the opt-in steps for the serving modes, what
  is stored and served on each server, purging, limits and counters.
- [Savings numbers](https://modpagespeed.com/docs/monitoring/#savings) explains the two kinds of savings numbers (saved at
  rewrite time and delivered) and when they reset.
