You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Missing CSS files with OptimizeForBandwith + combine_css #1215
I have switch to 1.10.33.0-beta.
On first run, one css file (sometimes three, sometimes four are requested for one page) is missing, so some page styling are not applied.
After a few request on the page with the browser, styles are good (no more mixture)
I use ModPagespeedRewriteLevel OptimizeForBandwidth
with those optional filters :
ModPagespeedEnableFilters lazyload_images,convert_to_webp_lossless,combine_css,trim_urls,remove_comments,collapse_whitespace,prioritize_critical_css,insert_dns_prefetch,combine_javascript,defer_javascript
ipro (enable by default) and loadfromfiles (not for CSS) for images.
This was set prior to migration to MPS 1.10 and page was good on first run
ModPagespeedCssInlineMaxBytes 10240
With same option now, one CSS file (that was the target of ModPagespeedCssInlineMaxBytes 10240) does not load on first page request.
disappeared from html source return by mod_pagespeed on the first run and stylesheet is not loaded.
Activity
oschaaf commentedon Dec 15, 2015
Hacked gtest that reproduces (and fails): https://gist.github.com/oschaaf/15a9a429867ee18ea622
Quickfix for URL preservation + combine_css conflict:
[-]Missing CSS files[/-][+]Missing CSS files with OptimizeForBandwith + combine_css[/+]jeffkaufman commentedon Dec 17, 2015
Fixed with 55e0962
Quickfix for URL preservation + combine_css conflict:
jeffkaufman commentedon Jan 21, 2016
This applies to 1.9.x as well too, right?
morlovich commentedon Jan 21, 2016
Probably best to just run the test to see?
Quickfix for URL preservation + combine_css conflict: