• Resolved siebren10

    (@siebren10)


    Hi there!

    Google PageSpeed indicates that the render-blocking javascript of tablepress should be removed. I use Autoptimize. Can this be removed?

    Warm regards,
    Siebren

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, I don’t know how to further optimize this, sorry.

    Also, do you mean JavaScript or CSS?

    Regards,
    Tobias

    Thread Starter siebren10

    (@siebren10)

    Hi Tobias,

    Thanks for your quick response. Google literally says:

    “Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles. Learn more.
    WordPress
    There are a number of WordPress plugins that can help you inline critical assets or defer less important resources. Beware that optimizations provided by these plugins may break features of your theme or plugins, so you will likely need to make code changes.”

    Warm regards,
    Siebren

    Optimizing Matters

    (@optimizingmatters)

    Hi guys;
    Quick feedback from me; wp-content/plugins/tablepress-responsive-tables/css/tablepress-responsive-flip.min.css is not aggregated by AO because it is in “IE conditionals” which AO always leaves in place because AO cannot cater for CSS that is targetting specific browsers (versions of IE). In this case though the IE conditional tells IE not to use the stylesheet at all, which makes this a special case. Not sure if you can fix this another way Tobias?

    frank

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I’m not sure… The CSS file is necessary for all browsers except IE…
    Now, IE is being phased out in favor of Edge, which will even use Chromium as a foundation, so in the future, this might indeed no longer be necessary.

    Regards,
    Tobias

    wholesomeyum

    (@wholesomeyum)

    This talks about the CSS issue, but in order for tablepress to function correctly, I have to exclude jquery from AO optimization. Is there anything that can be tweaked in the js that would allow me not to need to exclude jquery? I did figure out that if I enable the “Let Autoptimize also extract JS from the HTML. Warning: this can make Autoptimize’s cache size grow quickly, so only enable this if you know what you’re doing.” in AO, tablepress works without having to exclude jquery from AO optimization, but then my AO cache grows quickly as stated and causes other issues for me.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I’m really sorry, but I’m not aware of other solution approaches here ??

    Regards,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove Render-Blocking JavaScript | PageSpeed Insights’ is closed to new replies.