tags:

views:

43

answers:

2

I am attempting to pull posts from my Wordpress (on the same server as my main site) to my main site.

I am able to use both RSS and Ajax - but I need to choose between them.

What are the performance pro's and con's of either, and what should my final decision be?

+1  A: 

You can choose to use RSS, then you can choose to use it via an AJAX request or not. AJAX itself is not a mechanism to pull the posts. What exactly is the other option available to you?

Paul Creasey
paul, thanks for the answer...since the feed is actually on the same domain, i can supposedly ajax it in, rather than parse it - which i thought might help the page load faster.
johnnietheblack
+2  A: 

I'm going to go out on a limb and say you mean (by RSS) that the feed is to be parsed and served inline on the server side.

If that's indeed the case, go with RSS. You'll need to implement some sort of caching (to keep from hitting your RSS feed over and over and over) but the speed benefits will be noticeable.

mattbasta
matt, sorry for not being clear...yes that is what i meant. caching is an interesting idea...i hadn't thought of that.
johnnietheblack