What's the fastest way to fetch posts/content across a multisite? I had been using SimplePie RSS feeds, but I'm now investigating switch_to_blog(). As switch_to_blog appears to be quite simple to use, I'd much rather use this implementation, but wanted to make sure that it would remain speedy.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
||||
|
|
|
yup it is fast, it would be even better for you to use the WP Transients API to cache your query for a short period. Basically:
|
||||
|
|