http://qs321.pair.com?node_id=509100


in reply to Re: Seeking advice on generating a syndication feed
in thread Seeking advice on generating a syndication feed

Am I correct in assuming then that you don't generate the XML feed on the fly, but rather save it off in a separate file?

That might be the solution to my performance worries, but I'll have to think about how to trigger an update of the RSS feed when appropriate...

--
@/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/

Replies are listed 'Best First'.
Re^3: Seeking advice on generating a syndication feed
by hakkr (Chaplain) on Nov 16, 2005 at 17:04 UTC

    Yes it's created every day in a cron and written to disk with the writeFeedToDisk() sub. You could change it so it only writes the file when the source data changes maybe with a database trigger.

    Had the same worries about aggregators and news readers hitting my feed too much for it to be created dynamically