[wp-hackers] Accessing custom post types and taxonomies
Mike Little
wordpress at zed1.com
Wed Jan 26 00:13:53 UTC 2011
I suspect a configuration issue could be a problem in your specific case.
Seven rss requests to the same server should not take that long. But there
could be an issue with resolving your own domain locally. I have seen
similar problems in the past that fit those symptoms.
Mike
On 25 January 2011 23:57, Anca Mosoiu <anca at anca.tv> wrote:
> Hello Mike and Bill,
>
> I had a similar issue (aggregating data from multiple sites on a network
> and displaying them on a homepage) and the solution we initially tried was
> RSS, but this created some really bad performance issues. When we
> displayed a page with about 7 widgets displaying data from Feeds
> (within the different departments) it would take over 1 minute to render
> the front page.
>
> Performance tuning determined that 58 seconds were being taken up
> getting the RSS feed data (which was then cached in a Transient) but
> I didn't know how to remedy this problem.
>
> I wound up writing a custom widget that queried the database directly
> to retrieve the data from the sub-sites.
>
> I'd love to make it work with RSS, because that provides a huge amount
> more flexibility, but I'm not sure how to get past the performance issues.
>
> Cheers,
>
> Anca.
>
>
> Performance tracking
> On Jan 25, 2011, at 3:42 PM, wp-hackers-request at lists.automattic.comwrote:
>
> > Message: 5
> > Date: Tue, 25 Jan 2011 21:54:28 +0000
> > From: Mike Little <wordpress at zed1.com>
> >
> > Bill,
> >
> > Why not include the content from the faculty site as an RSS feed into the
> > department site. Do it using the built in WordPress RSS engine cache it
> > (with a timeout) and render it appropriately,
> >
> > If there is a query on the faculty site that will retrieve all the staff
> in
> > a specific department, added /feed to that URL or a feed=rss2 query var
> will
> > render that content as RSS which can be consumed and displayed by any of
> the
> > other sites. No trickery involved -- standard WordPress functionality.
> > And if you wanted to display them in a sidebar there is already a widget
> for
> > that. If you want to turn that into a short code handler take a look at
> the
> > RSS feed widget code.
> >
> >
> > Mike
> > --
> > Mike Little
> > http://zed1.com/
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Mike Little
http://zed1.com/
More information about the wp-hackers
mailing list