Website is slow with encyption on

i finally figured that if i enabled the s2member paypal button encryption

it take very long time ( around 40 seconds ) before the page loads

once i turn it off

its back to 1second loading

its the same for the rest of my other 4 sites

i am in latest wordpress and s2member framework

any idea?

No help…?
The website is much faster without the encryption

I have this issue in one of my website.

hi there james

may i know how do u fix it pls

hi @clavaque

i found thos very old post of yours
is this still a problem in s2member pls?
and if this method will works as mentioned below?

https://www.s2member.com/forums/topic/paypal-buttons-result-in-slow-loading-pages/

Hi John.

Not many have a problem with button encryption times, but it may still happen in some cases, especially when there are several buttons on the same page.

Caching is a way around it, but only for visitors, since existing users trying to upgrade need their account referenced in the button and a cached one wouldn’t do it.

One solution suggested in that thread, was to just have a link that’ll dynamically encrypt that button only when actually needed. The code I gave in that page got altered, but you can find a similar hack here: https://s2member.com/kb-article/offsite-payment-buttons-i-e-wo-shortcodes/

:slight_smile:

thanks a lot clavaque

1 Like