[Freeswitch-users] does Javascript fetchURL cache results?

Grant Bagdasarian GB at cm.nl
Thu Sep 11 10:47:26 MSD 2014


Right, thanks! I’ll keep that in mind for future development :D

The problem was being caused by another external application, so forget about this.

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Daniel Ivanov
Sent: Wednesday, September 10, 2014 5:00 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] does Javascript fetchURL cache results?


Just do what everyone does. Include a random param to the query with posix time or some random string. These days you dont even know who's caching what.
10 сент. 2014 г. 17:08 пользователь "Grant Bagdasarian" <GB at cm.nl<mailto:GB at cm.nl>> написал:
Hello,

In one of our Javascript FS applications we’re using the fetchUrl function, but it seems like it is always returning the same value.
When accessing the url through the browser the results are different for each request, but when FS does the request the results are always the same.

I even executed the curl [URL] command in linux and fs_cli, both returned different values every time.

Is FS caching the results when using the fetchUrl function? The url isn’t even accessed that often, probably a few times a day.

Regards,

Grant

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com




FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140911/50d28695/attachment.html 


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