session_start function slowing down the site
-
Hi Team,
I believe it’s the session_start() that is slowing things down. Or generally, the overall use of sessions. As each call to the session_start function locks the PHP session and will unlock it only when the request is done.
So subsequent requests can end up having to wait, which I believe is why we’re seeing the delays we see in this constructor code.
I’m not seeing this plugin close/stop the session when it’s done with it. And if it’s opening up sessions on requests often, that is definitely problematic.
So can you let us know is there any way to remove the session_start from the below file and plugin should be working fine without any performance issue?
plugins/myworks-woo-sync-for-quickbooks-online/includes/class-myworks-wc-qbo-sync-qbo-lib.php Line: 45
Please do check with the technical team and let us know. ( We use the premium plugin ).
Thanks
- The topic ‘session_start function slowing down the site’ is closed to new replies.