• Resolved toxoplasmaarts

    (@toxoplasmaarts)


    Hi Frank and team,

    I’m very interested in implementing the plugin on a client’s site after having some render-blocking issues, lazy load on mobile, and a google font that sends too many requests. I’ve discovered that his install on GoDaddy is running on HTTP/2, but he is adamant in trying to get as perfect a PageSpeed Insights/SEMRush/GTMetrix/YSlow score as possible- 91% Google desktop with 54% mobile (lazy load issue should clear that up). It doesn’t hurt to aim for excellence, right? ??

    Autoptimize would ideally be perfect for all my issues (web-related, at least), as it’s been the thing recommended to me on multiple WordPress and Reddit forums. However, I had a couple of questions that I did not see addressed in the forum.

    1) I use the Astra Pro theme on his site, and when I originally went to inspect and combine all the CSS and JS files myself as an experiment, I noticed that there are already minified versions of all files stored, although an inspection of the homepage shows that only some are being used. Does AO check for this when it runs optimization?

    2) Maybe I’m not completely understanding the issue with external requests, but how does the plugin optimize my CSS and JS other than minifying? I’m mostly concerned with combining. Went I looked into my CSS files, I noticed that there were 40-some separate .css files in one folder together, and when you remove the RTL files from the count since my browser is reading in English, it was the exact number of external requests being read by the performance scans. I was reading on another support ticket here that AO does not combine files– so my question is: how would AO optimize all those separate external requests?

    I could be completely missing the point here, so any suggestion is appreciated.
    Thank You!

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

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

    (@optimizingmatters)

    Does AO check for this when it runs optimization?

    Yes, if a file is minified (based on filename ending in .min.js, -min.js, .min.css or -min.css) then AO will not re-minify it.

    how would AO optimize all those separate external requests?

    AO will combine CSS/ JS if “aggregate JS” and/ or “aggregate CSS” are active and if the files are on the same server. Files hosted on other domains are not combined. What AO additionally does for optimized JS is that it is loaded late with a defer flag to make sure it is not render-blocking. This is not the case for CSS except when the “inline & defer” option is clicked, but this will require “above the fold CSS” being provided (more info in the AO FAQ).

    hope this clarifies,
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘Autoptimize Interaction with Astra Pro’ is closed to new replies.