Counters and W3 Total Cache
-
Hello sirs. I’m noticing since two or three version upgrades in Shareaholic, the sites with heavy traffic (5000+ daily), showing social network counters in the posts are performing LOTS of requests to admin-ajax.php (admin-ajax.php?action=shareaholic_share_counts_ap…) for each and every visitor hitting every page. This impacts negatively on the server. Even if the site is using W3 Total Cache to create HTML cache of the pages + CDN to allocate images. The admin-ajax.php requests are generating a lot of queries.
Question #1: is Shareaholic querying admin-ajax for one and every of the counters in a given page? or does it cache that entire page set of counters? Let’s say: if I use to show the counters for Fcbk, Tw, G+, LnkdIn, before the post AND after the post, will Shareaholic cache ONE string with the counters for that given post? or will it store an individual cache value for every social network FOR that given post?
Quesiton #2: do you recommend any special cache configuration to take into consideration with W3 Total Cache? You know it has a lot of options and if the cached values may be cached in SOME way, i.e., by caching any individual js file, I will be more than willing to configure it.
Question #3: where are the social counters cache being stored for quick access? In my DB or in the Shareaholic cloud? This question is in regards of in-post social counters AND floating counters. What would you recommend? using one or another to improve cache and download times?
I have a small news site. That’s why I need to lower the requests to the server to a minimum. Last week I had to turn off the social counters for the post in the homepage due to the excessive admin-ajax queries… But the server still have a heavy work when viewing any post. I just need to optimize Shareaholic usage to the max.
Hope to hear soon from you.
Best regards.
- The topic ‘Counters and W3 Total Cache’ is closed to new replies.