[Freeswitch-users] Sound files from cache

Michael Jerris mike at jerris.com
Tue Jan 20 16:57:53 MSK 2015

Also.. pretty much all modern operating systems automatically handle appropriate file caching into memory, so in most cases where you are reusing the same files over and over again, they will end up in memory without any tricks.

> On Jan 20, 2015, at 8:49 AM, Ítalo Rossi <italorossib at gmail.com> wrote:
> Are you having problem playing files? Why worry with this?
> On Tue, Jan 20, 2015 at 9:04 AM, John Nash <john.nash778 at gmail.com <mailto:john.nash778 at gmail.com>> wrote:
> I am using "playback" to play native sound file (<action application="playback" data="/tmp/hello"/>)
> My question is when it plays the file does it read file every time from the disk? or there is some way to "Load at the startup" and play directly from memory.
> Yes, it does. You can put your file in a ram disk.
> I also saw the "mod_http_cache" but not sure if I should use it (I am unable to understand in what scenario it will be logical to use it)
> It caches a remote file (http) in your local filesystem.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150120/600054e5/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list