Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kensho

    (@kensho)

    @shareaholic — Awesome, thanks. I can confirm that the issue is resolved for my client with the update. 🙂

    Thread Starter kensho

    (@kensho)

    @shareaholic,

    Thanks for your note. Yes, Shareaholic’s scripts are minified but they aren’t combined. It adds 4 external scripts, which is inefficient because it’s 4 http requests instead of one, and more DNS lookups. All of this contributes to slowing a site down. If it’s just one plug-in that does this sort of thing, maybe it doesn’t make a huge difference, but when several do it, it adds up fast.

    It would be much better for page load times (and therefore for SEO) if Shareaholic would combine all of its scripts into one minified script (and same with CSS, of course).

    Also, you might want to coordinate with the developer of W3TC to figure out why W3TC’s inline JS minification is breaking Shareaholic and fix that, so that your users aren’t forced to choose between Shareaholic and inline JS minification (which they might need for their *other* scripts, but if it breaks Shareaholic they can’t turn it on for *any* of their scripts — that’s the case now).

    Thanks for your consideration.

    Thread Starter kensho

    (@kensho)

    Yeah, JS minification can be really tricky, but sometimes worthwhile for script-heavy sites hosted on slow servers. In this case, we did minify most of our JS, which shaved about 3 seconds off of average page load times when using W3TC. Our only issue on this site was with inline JS minification, and that too only with Shareaholic.

    But we don’t particularly need inline JS minification on this site because we didn’t use much inline JS (just a few short scripts that are annoyingly inserted inline by plugins instead of using external scripts).

    So. this post was meant as a headsup for those who might be affected, hopefully to save them some troubleshooting time. (But of course if the devs of either Shareaholic or W3TC can find a fix, all the better for those who wish to use inline JS minification.)

    Actually, in the end, after configuring W3TC to its optimum settings and testing page load times, we then deactivated W3TC and set up WP Super Cache to do a comparison, since every site and host context is different and you never know. The result: WP Super Cache resulted in page loads that were 2-3 times as fast as with the best W3TC settings. So, while one sometimes gets better results with W3TC, for this site we wound up going with WP Super Cache. Moral of the story: It’s worth testing both if performance matters.

    I’m sorry, but I’m unable to understand your question. For the people here to be able to help you, you will need to explain the problem clearly in detail.

    If you enter https://www.yourdomain.com in your browser, what happens?

Viewing 4 replies - 1 through 4 (of 4 total)