• When I enable optimise HTML the background image of my site disappears.

    also, I checked google page seep and gtmetrix and says I should enable Leverage browser caching

    I thought it was because I had turn off optimise html but I turned it off to check and still the same result

    https://wordpress.org/plugins/autoptimize/

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter borderline11

    (@borderline11)

    hmmm… the mobile menu is gone even with WP Facebook open graph deactivated…
    I have disabled AO for the time being… besides on google page speed and gmetrix I get the same results with and without AO :/
    I don’t know what the issue is

    ps. If I deselect Optimize HTML Code then background image and mobile menu works, so the issue seems to be with the html option

    Plugin Author Frank Goossens

    (@futtta)

    the mobile menu is gone even with WP Facebook open graph deactivated… If I deselect Optimize HTML Code then […] mobile menu works, so the issue seems to be with the html option

    weird borderling11 … maybe check if there are any JS-errors for that mobile menu?

    I have disabled AO for the time being… besides on google page speed and gmetrix I get the same results with and without AO :/

    should have to see the details of those reports to be able to comment on that, but there should be a difference off course 🙂

    frank

    Thread Starter borderline11

    (@borderline11)

    I don’t know where to look if there is a JS error on the mobile menu…

    as for the reports, the top one is without AO, the bottom one with AO (html deselected)… as you can see there is hardly any difference on the score

    Plugin Author Frank Goossens

    (@futtta)

    well, hardly any difference is better then no difference 😉

    no, seriously, I just reviewed and here is what you can do to improve more:
    1. in autoptimize
    * try if you can get it working with autoptimize’s “force into head” disabled
    * consider using “inlinen all CSS” option in autoptimize
    * checking the “Remove Google Fonts?”-option might help

    2. for expiry of images and other static files; adapt your .htaccess as seen here

    3. for image optimization install e.g. the tiny png plugin (or any of the other image optimization plugins) and batch optimize all your images

    have fun! 🙂
    frank

    Thread Starter borderline11

    (@borderline11)

    Thank you Frank for the tips, I’ll try them out

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Two issues, img background and Leverage browser caching’ is closed to new replies.