You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR Me using PDO has the cost of opening a new database connection. Every time a request goes to PHP and this plugin, 2 connections are opened. It takes a bit of time and resources to open one, using $wpdb will get rid of the overhead at the cost of me ripping my hair off.
In bulk generation it doesn't really matter, but for requests to the endpoint it does. Unless you cache heavily, which you should, but still...
The text was updated successfully, but these errors were encountered:
TL;DR Me using PDO has the cost of opening a new database connection. Every time a request goes to PHP and this plugin, 2 connections are opened. It takes a bit of time and resources to open one, using $wpdb will get rid of the overhead at the cost of me ripping my hair off.
In bulk generation it doesn't really matter, but for requests to the endpoint it does. Unless you cache heavily, which you should, but still...
The text was updated successfully, but these errors were encountered: