• Resolved jeremycavender

    (@jeremycavender)


    I am trying to use Autoptimize to improve mobile optimization on my WordPress site https://netpayadvance.com/. We use a reverse proxy though that displays that URL to the end user and use a cms.netpayadvance address to sign in and make changes to the website.

    In trying to use Autoptimize and Async Javascript though it seems that no changes are taking place. I have tried setting the JavaScript to defer and set the above the fold CSS to eliminate render-blocking CSS and when I scan the site in lighthouse on Mobile the site still has unused JavaScript and CSS that it is telling me to reduce. I have even tried using a defer JavaScript function in my functions.php file for my staging site to see if that would help but to no avail.

    I want to know if the Reverse proxy is the culprit as it does seem to still effect the desktop but not to the degree that I am seeing on Mobile and if the reverse proxy is the cause of Autoptimize not working, what steps can I take going forward to improve the performance?

    I am using Kinsta as my hosting provider and they basically told me that the configuration of the site could be the issue but wasn’t sure and to connect with the plugin support.

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    err … possibly ??

    first of all; AO (or asyncjs) don’t help with “unused JS” or “unused CSS” as they don’t remove unused code, they merely delay the loading of said code.

    so it is possible autoptimize (and asyncjs) do work on your site, but unfortuntaly I can’t access it to confirm as it looks you are geo-limiting access (i’m in Belgium, Europe)?

    when you look at the HTML source of a page, do you see references to autoptimize in there?

    Thread Starter jeremycavender

    (@jeremycavender)

    Yeah, I see 12 different references to Autoptimize in the HTML, so it must be connected.

    I realize that it won’t get rid of the files either, I am just needing the files to defer and the CSS to load asynchronously so that I am not loading in the files 1.2 – 1.6 seconds after the page loads.

    I think I did end up getting the defer JavaScript function working in my functions.php file on my staging since it isn’t coming up but there is still the issue of the CSS and Lazy Loading the images

    Thread Starter jeremycavender

    (@jeremycavender)

    You would have to use a VPN to access the site if you are outside of the united states

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    re. VPN; that’s unfortunate Jeremy .. :/

    re. delaying CSS; when critical CSS is used, the full CSS is loaded in such a way it is not render-blocking, but it does not load 1.2-1.6s after page load.

    for JS; deferring that makes the browser wait for the document rendering to start before executing, but again not for 1.xs.

    Autoptimize Pro (premium, see “optimize more” tab) does allow longer delays if you *really* need that?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got resolved Jeremy? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Autoptimize on reverse proxy?’ is closed to new replies.