Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Don't send webp to CriOS when there is no accept:image/webp #1256

Closed
@jmarantz

Description

@jmarantz

The latest Chrome on iOS, based on WKWebView, cannot render webp images, but mod_pagespeed sends them.

See http://blog.chromium.org/2016/01/a-faster-more-stable-chrome-on-ios.html

I confirmed that this browser also does not send accept:image/webp. If, in the future, webp is re-enabled in CriOS, it will likely send accept:image/webp again.

This is a workaround:

SetEnvIf User-Agent CriOS mps_disable_webp
RequestHeader set ModPagespeedFilters -convert_jpeg_to_webp env=mps_disable_webp

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions