problem with apache mod PageSpeed and style.css

Posted in: Newsmag
Post count: 44

if the active form PageSpeed apache, the theme does not work, it’s as if it does not work style so the file style.css

help? thank you

Post count: 9544

theme works fine with mod_pagespeed …

you just need to setup a proper config file either at server level with dedicated box, or by manually specifying in htaccess file what to turn on explicitly — for example I found that CSS and JS minification does not work well — so it’s a “tuning” process for what is compatible with WordPress and what is not, a bit by trial and error, and also see my posts on this topic the past 18 months in forum as I have used it on our server since Jan. 2014 with TagDiv themes.

e.g.,


<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters remove_comments
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters insert_dns_prefetch
</IfModule>

see the docs for mod_pagespeed on which settings you may wish to activate other than the default “safe” batch of MPS settings.

  • This reply was modified 10 years by simchris.
  • This reply was modified 10 years by simchris.
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newsmag’ is closed to new topics and replies.