Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, untick the “serve as static files” option on Autoptimize’s settings screen and the PHP-code that will serve the CSS/ JS should take care of compression for you.

    hope this helps,
    frank

    Thread Starter adriennberta

    (@adriennberta)

    Dear Frank, thank you so-so much for your quick help. It is working, great!
    Thank you again! Have a nice day! Adrienn

    Thread Starter adriennberta

    (@adriennberta)

    Dear Franc, sorry but now the https://tools.pingdom.com speed test writes the next:

    The following publicly cacheable, compressible resources should have a “Vary: Accept-Encoding” header:
    https://bolsiusaromatic.hu/wp-content/cache/auto…autoptimize_3efa35a5bd61bf96372d7c59043e9f95.php
    https://bolsiusaromatic.hu/wp-content/cache/auto … autoptimize_e689684f1fb7ef975037b0fd03aeed74.php

    and

    There are 4 JavaScript files served from bolsiusaromatic.hu. They should be combined into as few files as possible.
    https://bolsiusaromatic.hu/wp-content/cache/auto … autoptimize_3efa35a5bd61bf96372d7c59043e9f95.php

    Thank you for your help in advance!
    Adrienn

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Well, AO does add that header, but something else is too and the fact it is present twice might confuse pingdom:

    
    lynx -dump -head https://bolsiusaromatic.hu/wp-content/cache/autoptimize/autoptimize_dbbf30acbb5777df5e62865906c9e2e7.php
    HTTP/1.1 200 OK
    Server: nginx
    Date: Sat, 04 Nov 2017 09:32:20 GMT
    Content-Type: text/css; charset=utf-8
    Content-Length: 920025
    Connection: close
    Vary: Accept-Encoding
    Vary: Accept-Encoding
    Cache-Control: max-age=30672000, public, immutable
    Expires: Thu, 25 Oct 2018 09:32:20 GMT
    ETag: ce6652ed0d336f9596f235423a535960
    Last-Modified: Sat, 04 Nov 2017 09:29:34 GMT
    Content-Language: hu

    regarding combining JS-files: I see 3; one is the autoptimized JS, one is jquery.js, one is Google Analytics. The GA-one can’t be autoptimized as it’s external, but for jquery you could try removing js/jquery/jquery.js from the list of JS optimization exclusions. If that breaks your site (it’s possible e.g. your slider requires jquery to be available early) then you have to undo, else you have one less JS-request ??

    frank

    Thread Starter adriennberta

    (@adriennberta)

    Dear Franc, now those disappeared and improved the loading speed, but 2 new are appeared:

    The following publicly cacheable, compressible resources should have a “Vary: Accept-Encoding” header:
    https://bolsiusaromatic.hu/wp-content/cache/auto … autoptimize_0053a98741babcc458a040292f103bba.php
    https://bolsiusaromatic.hu/wp-content/cache/auto … autoptimize_0f9fbd616e73dcdf59cc1b22e3a517f9.php

    Do you have any idea to solve it?:-)
    Thank you so much in advance,
    Adrienn

    Tony Zeoli

    (@tonyzeoli)

    For Google Analytics, there is the Complete Google Analytics Optimization Suite plugin, which moves the GA code into a file on the server and not in site header/footer, then runs a cron job to update the javascript if Google updates. I’ve been using it to solve the Google Analytics .js problem and it’s been great so far.

    You have to remember to remove any GA UA code in any other plugins or turn off the GA script in Google Analytics Dashboard plugin, if you’re using that one.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    nice @tonyzeoli, thanks for sharing!

    Thread Starter adriennberta

    (@adriennberta)

    Dear Tony!
    Thank you so much!:-)
    I know this plugin, just this is not compatible the newest wp version, and even if we use it, it appears an new problem at the Google Insight Speed test:
    Enable compression here:…wp-disable/cache/local-ga.js
    ??

    So the problem is the same…?
    Thanks so much for the helps!
    Adrienn

    cckzkortrijk

    (@cckzkortrijk)

    Hi there,
    I’m trying for a while now to get my website the perfect score on the Google speedtest. I’ve installed a couple of plugins (autoptimize, WP performance booster, WP supercache, Jet Pack,..) after reading for houres and houres on how to improve my speedtest but can’t get a higher score than 90 on desktop and 74 on mobile. Could some please help me by telling me how I can get closer to 100 for both results?
    Thank u in advance for all your responces and efforts to help me.
    Zarina K.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Middag Zarina;
    First of all; I wouldn’t focus on scores but rather on times (as in “time to first byte”, “time to start render”, “time till document loaded” and “time till fully loaded”) which are measured by e.g. https://webpagetest.org

    Secondly; only add your question in a reply if it matches 100% with the original post. A new post would have been better ??

    That being said, you could (should?) consider:
    * Tideo chat (blocking JS) -> or ask them for an async script
    * google font (blocking CSS) -> you can try ticking the “remove google fonts”-option
    * google maps (leverage browser caching) -> why not simply replace it by an image?
    * dashicons (blocking CSS) -> not sure if your theme is adding this or a plugin, but at first sight it’s not used (and dashicons are actually part of wordpress to be used on the dashboard i.e. the backend, not on the frontend)
    * you can try removing js/jquery/jquery.js from Autoptimize’s JS optimization exclusion list, but be sure to test your site extensively to make sure nothing breaks
    * you can try switching to “inline all CSS” (easy) or “inline & defer CSS” (better), cfr. more info in the FAQ.

    Groeten uit Lokeren,
    frank

    cckzkortrijk

    (@cckzkortrijk)

    Hi Frank,

    Thank you for your reply! It’s much apriciated.

    I will try-out the following.

    Kind regards!

    Groetjes uit Kortrijk ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Enable compression problem Google Page Speed test’ is closed to new replies.