• Resolved fabiomasarin

    (@fabiomasarin)


    Hello everybody,
    I know this has already been discussed in the past, but I would like to check out if anybody found a way to solve or bypass this problem.

    Slimstat is a wonderful plugin about statistics that I really can’t stay without, but it’s slowing down pagespeed score (mobile) from about 96 to 71 on my lightest pages. Simply disabling the plugin and retesting the score jump back to 96.

    I already checked oldest posts and I see one where the developer was thinking this may be an issue caused by the new fingerprint feature introduced in the latest releases, but it’s not: I already tried downgrading to various older versions even before fingerprinting functionality and I get the same scores.

    I also tried deferring the js with no better results. The simple execution is running for about 600 ms in the waterfall.

    I also know the developer has not been very active recently, so question open for everybody: did anybody find a way to postpone the javascript execution at a later stage so that it won’t interfere with the waterfall and not be counted by pagespeed times? maybe something like starting the script after 10 seconds (I know I may lose some records of short visits below 10 seconds, but better than nothing). I would also accept to get it working with a limited set of data if that makes it faster.

    Or, did somebody find a fastest alternative plugin that has the same level of details? I tried some but couldn’t really find anything comparable, all the other plugins are missing something or are not local, so that’s why I would really like to solve this issue even with a workaround so that I can keep this nice and clear plugin on my website.

    Thank you very much, best regards

Viewing 11 replies - 1 through 11 (of 11 total)
  • I know that one year ago a big accident happens to the developer and I don’t know whether he is alive or not?

    Plugin Contributor toxicum

    (@toxicum)

    At least pending PRs were merged today. Hope we get a new version, soon.

    Version 4.9 was released on GitHub:

    Changelog:

    = 4.9 =
    * [New] Browscap Library is now bundled with the main plugin, only definition files are downloaded dynamically.
    * [New] Support MaxMind License Key for GeoLite2 database downloads.
    * [New] Speedup Browscap version check when repository site is down.
    * [Fix] Addressed a PHP warning of undefined variable when parsing a query string looking for search term keywords (thank you, [inndesign](https://www.ads-software.com/support/topic/line-747-and-line-1574-undefined)).
    * [Fix] Fixed SQL error when Events Manager plugin is installed, ‘Posts and Pages’ is enabled, and no events are existing (thank you, [lwangamaman](https://www.ads-software.com/support/topic/you-have-an-error-in-your-sql-syntax-22/).
    * [Fix] Starting with 4.9, PHP 7.3+ is required (thank you, [stephanie-mitchell](https://www.ads-software.com/support/topic/slimstats-4-8-8-1-fails-on-php-5-3-26-but-no-warning-during-installation/).
    * [Fix] Opt-Out cookie does not delete slimstat cookie.

    • This reply was modified 2 years, 9 months ago by NewsArena.
    Thread Starter fabiomasarin

    (@fabiomasarin)

    @newsarena unfortunately none of the changes seem to deal with the topic issue

    Plugin Contributor toxicum

    (@toxicum)

    Do you archive old entries from db? That was essential on my side. If too many entries are in the table, inserts slow down.

    Plugin Contributor toxicum

    (@toxicum)

    @newsarena Any news when the WP repo will be updated so we can install the new version from the WP-Directory?

    Hi,
    I’m not affiliated with plugin developers. I’m just following the Slimstat Github repository. The new version must be approved by WP authorities to become official version on WP repo. Hope to be soon.

    Thread Starter fabiomasarin

    (@fabiomasarin)

    @toxicum I just delete entries after 30 days, without archiving, to keep it clean.
    But I don’t think the issue is on the server side in my case, because slimstat is slowing down pagespeed only on mobile checks, not on desktop, so the root cause is probably the time needed to run all that javascript code on slow devices like mobile phones

    Plugin Contributor toxicum

    (@toxicum)

    I tested here on 2 websites.
    Lighthouse mobile performance score is always between 82-89 whether Slimstat is enabled or not.

    I currently also use the WP-Matomo plugin. When switching off WP-Matomo and Slimstat, the performance is stable at 85, so I do not think Slimstat has any impact on the performance here.

    I use Autooptimize with the following settings:
    – Javascript code optimisations
    – Merge JS-Files
    – CSS optimisations
    – HTML optimisations
    – No CDN (for GDPR reasons)
    – Minimize excluded CSS and JS files

    And is use the WP-Supercache plugin:
    – Simple caching
    – Compress pages
    – 304-Browser-Caching
    – Extra Startpage checks
    – CDN disabled (for GDPR reasons)
    – Preload pages every 600 seconds
    – No plugins

    Hope this helps.

    Thread Starter fabiomasarin

    (@fabiomasarin)

    Just tried again on my site right now, testing with pagespeed a simple page with just text and only few images.
    score around 80 on mobile with slimstat enabled,
    score around 97 on mobile with slimstat disabled.
    On desktop instead is 98 or more on both situations.
    In the list of js taking too much time, there are only a few lines where the slimstat JS is the biggest one.
    That’s why I opened this thread.

    Then I tested again with lighthouse on the browser as you did, and I get around 80 on mobile both with slimstat enabled or disabled. I suppose lighthouse on browser is not correctly simulating the actual low speed of a mobile phone, that’s probably why it gives about the same result as it happens for the desktop test.

    Plugin Author Jason Crouse

    (@coolmann)

    Hi, Slimstat dev team here. We’re resuming the development of this plugin after a long hiatus. Part of the issue with performance seems related to the new fingerprint feature that was introduced in one of the most recent versions. On our to-do list we have the option to deactivate fingerprinting, which requires quite a few resources especially on mobile devices. We’re also going to release 4.9 here on the WP repo soon.

    Thank you for your feedback!

    Jason

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘slimstat sinking pagespeed scores’ is closed to new replies.