Problem with tdSocialSharing and cache plugin LiteSpeed

Posted in: Newspaper
Post count: 29

Hello, I recently had a problem with social sharing and Litespeed Cache. I think I need to exclude the CSS and JS modules from the social sharing module but I don’t know which JS and CSS I need to identify and exclude them from the cache system.

I tried to exclude the JS by entering /wp-content/plugins/td-composer/legacy/Newspaper/js/tdSocialSharing.js in the exclusion field but that has no effect.

This is the only theme module that stops working when I activate the Advanced preset. The social sharing icons and function no longer display at all.

Could you help me.

Thanks in advance

Luc Laporte

Post count: 29

For your information, I activated the basic preset of the litespeed cache plugin, while we found the solution. With this preset the social sharing module works but at the expense of speed and other optimization functions.

Post count: 21065

Hello!

Unfortunately, we have not tested the Litespeed features with our theme.
We’ve discussed here what you can try to exclude or not use: https://forum.tagdiv.com/topic/admin-ajax-loading-time/
Multiple issues with JS will be fixed in the next update. Stay tuned!

Thank you for understanding!

Post count: 25

Hello Dear, disable Guest Optimization see here https://prnt.sc/5UgfaniCauij
And cancel all options on JavaScript except minify see here https://prnt.sc/g3BgwXIGX5mr
Make sure not to exceed this setting in css, see here https://prnt.sc/eAR9OsoKPaT2 or disable all options except minify

Then click here https://prnt.sc/kxTVp-uItmpc

Tell us if the icons do not appear

Post count: 29

Hello,

I solved my cache problem with the social sharing module. My solution is to exclude /wp-content/plugins/td-composer/legacy/Newspaper/js/tdSocialSharing.js.And then purge the cache several times. Which I didn’t do during my first attempts. I only purged it once on my first try. I’ve had this solution running for 5 days and it seems to work very well.

I don’t know if the solution you suggest is better?

Thank you very much for your help.

Luc Laporte

Post count: 25

Good Luc, it seems that your first solution is sufficient to show the icons, which is the problem you were facing, and this is what is required
Also make sure that everything else is working well
Are pages, images, and elements loading well On desktop and mobile
https://pagespeed.web.dev/
In my opinion, this option(Guest Optimization) should not be used
JS is not affected except for minification and deferred
But if you don’t notice a problem, that’s okay
You are welcome my dear and We will follow up together on any problems regarding Litespeed servers as much as possible and help each other

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.