Score:2

Pagespeed delivers content with gzip header but not gzip content all out of nowhere?

in flag

All out of nowhere our website did not longer load CSS.

The Chrome browser console showed

Error 330 (net::ERR_CONTENT_DECODING_FAILED)

With the httpie tool a similar error:

$ http "https://www.example.com/A.theme,,__dist,,_css,,_all.css,,q1669307021+typo3conf,,_ext,,_tiny_png,,_Resources,,_Public,,_Stylesheet,,_lightbox.css,,q1642153071+typo3conf,,_ext,,_example_theme,,_Resources,,_Public,,_Css,,_lazy-loading.css,,q1669307007+typo3conf,,_ext,,_theme,,_Resources,,_Public,,_Css,,_KeSearch,,_pagination.css,,q1642153071+typo3conf,,_ext[...],Mcc.Trdmt7Jhh6.css.pagespeed.cf.IAdiJ5fbh7.css"
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=31536000, public, no-transform
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 161370
Content-Type: text/css
Date: Fri, 02 Dec 2022 10:37:04 GMT
Expires: Sat, 02 Dec 2023 10:37:04 GMT
Last-Modified: Fri, 02 Dec 2022 10:33:28 GMT
Server: nginx
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Original-Content-Length: 161410
X-Serve: Apache2


http: error: ContentDecodingError: ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: incorrect header check'))

We were able to solve this problem by

sudo touch /var/cache/mod_pagespeed/cache.flush

But we are wondering if this could happen again.

Did anybody see such a problem before?

Page speed version:

# apt show mod-pagespeed-stable
Package: mod-pagespeed-stable
Version: 1.13.35.2-r0
Priority: optional
Section: httpd
Maintainer: mod_pagespeed developers <[email protected]>
Installed-Size: 22,0 MB
Pre-Depends: dpkg (>= 1.14.0)
Depends: libc6 (>= 2.17), apache2
Conflicts: mod-pagespeed-beta
Replaces: mod-pagespeed-beta
Download-Size: 8.309 kB
APT-Manual-Installed: yes
APT-Sources: http://dl.google.com/linux/mod-pagespeed/deb stable/main amd64 Packages
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.