mod_http_cache with mod_xml_curl
Hi, My project has a need to use dynamically generated dial plans(stored in LDAP). But there are instances where I will need to fetch a dialplan that is static most of the time but may change occasionally I was wondering if there is a way to use mod_xml_curl, but make it go through mod_http_cache so that I can avoid unnecessary trips to the LDAP behind a web server when not required? If you have any experience with something like this please share it. Your help is greatly appreciated. -JP
Hi JP, This is actually mentioned in the documentation, but it wasn't very easy to find, so I have updated the wiki page to highlight this. Here is the updated URL; http://wiki.freeswitch.org/wiki/Mod_xml_curl#Caching_objects Please note, it would probably be less complex to place the caching logic into your web application instead. At a later stage - you could look at caching it directly within FreeSWITCH to get a bit more performance, but you probably won't need this level of performance to begin with. Hope this helps. Cal On Thu, Nov 1, 2012 at 6:54 PM, JP <jaykris@gmail.com> wrote:
Hi, My project has a need to use dynamically generated dial plans(stored in LDAP). But there are instances where I will need to fetch a dialplan that is static most of the time but may change occasionally I was wondering if there is a way to use mod_xml_curl, but make it go through mod_http_cache so that I can avoid unnecessary trips to the LDAP behind a web server when not required? If you have any experience with something like this please share it. Your help is greatly appreciated.
-JP
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Thanks Cal ! -JP On Thu, Nov 1, 2012 at 1:16 PM, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
Hi JP,
This is actually mentioned in the documentation, but it wasn't very easy to find, so I have updated the wiki page to highlight this.
Here is the updated URL; http://wiki.freeswitch.org/wiki/Mod_xml_curl#Caching_objects
Please note, it would probably be less complex to place the caching logic into your web application instead.
At a later stage - you could look at caching it directly within FreeSWITCH to get a bit more performance, but you probably won't need this level of performance to begin with.
Hope this helps.
Cal
On Thu, Nov 1, 2012 at 6:54 PM, JP <jaykris@gmail.com> wrote:
Hi, My project has a need to use dynamically generated dial plans(stored in LDAP). But there are instances where I will need to fetch a dialplan that is static most of the time but may change occasionally I was wondering if there is a way to use mod_xml_curl, but make it go through mod_http_cache so that I can avoid unnecessary trips to the LDAP behind a web server when not required? If you have any experience with something like this please share it. Your help is greatly appreciated.
-JP
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (2)
-
Cal Leeming [Simplicity Media Ltd]
-
JP