Or, you can use something like Smarty to cache your generated XML on your web server and only invalidate those cached results when you change something that will impact them.
On Mon, Nov 23, 2009 at 11:38 AM, Anthony Minessale <anthony.miness...@gmail.com> wrote: > There is a formula to implement caching but it's very complicated and nobody > has had time to work on it. > You have to take every single input variable into account when caching > because who is calling the extension, why they are calling it when they are > calling it all make a difference. > > Web servers are designed to get thousands of hits per second so typically > they can handle delivering custom xml instruction quite well. > > If you do not require such a dynamic setup, you could generate static files > instead. > > > On Sun, Nov 22, 2009 at 5:43 PM, Tim Uckun <timuc...@gmail.com> wrote: >> >> On Fri, Nov 20, 2009 at 3:03 AM, Rob Forman <rob4manh...@gmail.com> wrote: >> > Hi Sam, >> > Take a look at mod_xml_curl. Pretty sure it'll do everything you're >> > looking >> > for. >> >> >> Looking at that diagram it seems like mod_xml_curl makes a call for >> every SIP connection. That seems like overkill. Is there a way to set >> it up so that it caches the XML it got for a period of time? >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users@lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > Twitter: http://twitter.com/FreeSWITCH_wire > > AIM: anthm > MSN:anthony_miness...@hotmail.com > GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:8...@conference.freeswitch.org > iax:gu...@conference.freeswitch.org/888 > googletalk:conf+...@conference.freeswitch.org > pstn:213-799-1400 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Eliot Gable "We do not inherit the Earth from our ancestors: we borrow it from our children." ~David Brower "I decided the words were too conservative for me. We're not borrowing from our children, we're stealing from them--and it's not even considered to be a crime." ~David Brower "Esse oportet ut vivas, non vivere ut edas." (Thou shouldst eat to live; not live to eat.) ~Marcus Tullius Cicero _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org