I am using mod_pagespeed. When using http, combine js, css and rewrite js and css work fine. However, when I switch to https, none of these four functions work. The apache error log is empty about this.
This is the relevant conf line ModPagespeedEnableFilters rewrite_javascript,rewrite_css,combine_css,combine_javascript,insert_dns_prefetch
mod_pagespeed
cannot rewrite HTTPS resources by default, you have to explicitly enable it by one of these options:
ModPagespeedMapOriginDomain
- to tell mod_pagespeed
to fetch HTTPS resources using HTTPModPagespeedLoadFromFile
- to tell mod_pagespeed
to load HTTPS resources directly from the filesystem.ModPagespeedFetchHttps
- to tell mod_pagespeed
to fetch HTTPS resources directly.ModPagespeedFetchFromModSpdy
- if you have mod_spdy
installed, to fetch resources using it.The documentation has more details: https://developers.google.com/speed/pagespeed/module/https_support
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With