Optimize s2member: Load Sequence
Posted: December 20th, 2011, 11:19 am
I am using s2member-pro on my site, and I've noticed that my site is waiting for s2member-o.php before loading the rest of the page. Delay is making us have a higher bounce rate (page is blank while loading).
I can understand that s2member needs to load first to validate access, but I am not doing validation on my main landing page and want to tell wordpress to load it last on this page.
Question:
How can I make s2member-o.php load AFTER my page has loaded (e.g. in the footer)? I want to do this only for my landing page. Subsecuent pages would be fine loading it in the header, and probably performance won't be affected given the plugin files will already be cached in the browser.
I took a look at http://www.primothemes.com/forums/viewtopic.php?f=4&t=10270 but that thread didn't address this question (although it's mentioned in the first comment).
Thanks!
Angie
I can understand that s2member needs to load first to validate access, but I am not doing validation on my main landing page and want to tell wordpress to load it last on this page.
Question:
How can I make s2member-o.php load AFTER my page has loaded (e.g. in the footer)? I want to do this only for my landing page. Subsecuent pages would be fine loading it in the header, and probably performance won't be affected given the plugin files will already be cached in the browser.
I took a look at http://www.primothemes.com/forums/viewtopic.php?f=4&t=10270 but that thread didn't address this question (although it's mentioned in the first comment).
Thanks!
Angie