I'm having this weird issue, if i install my plugin and the official Facebook plugin the call to wp_update_post() becomes really slow. I've done some benchmark and it goes up to almost two seconds. If i disable Facebook plugins it reverts back to normal. Anyone knows what should i do to avoid this?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
This is beacuse facebook plugins does some really intensive checks on every save_post and this slows down calls to wp_update_post and wp_save_post to a crawl ( about 2 seconds for each call ). If you want you can remove them
The crazy thing is that facebook does a login for in both of these calls: 0.6 second each, they never cache anything! |
|||
|
|
