• Resolved blue

    (@life2)


    Hi,

    The plugin’s javascript file seems to negatively affect the page loading speed based on PageSpeed Insights. The test results give an orange score for performance with a recommendation to ‘Avoid serving legacy JavaScript to modern browsers’. This is caused by the plugin javascript file (jquery.datatables.min.js).

    Almost all the other website pages give a green performance score. Only pages that include a table using TablePress have the loading speed problem.

    Can you advise on how to resolve this issue?

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    The JavaScript file that you mention is used to add the frontend features like sorting, searching, and pagination to the TablePress tables. This is based on an external library that not only still supports older browsers (which are often used in enterprise contexts, for example), but which also has to be loaded very early in the page loading process, so that these features can be added very quickly, so that adding them does not cause visual glitches.

    So, if you want to use those features like sorting, searching, and pagination, there’s nothing really that we can do here. But then, this really only is just a warning, there are no direct consequences. Getting a green performance score is not everything 😉

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.