Re: Not sure what to do.....can I run this by you guys?

2018-03-18 Thread Tom Glod via use-livecode
Hi everyone here is the github repo for the stack demonstrating the solution. May not work on all cases but can for many. Seems to work very well for my needs. 10 requests ...no problem. have not done more. https://github.com/makeshyft-tom-g/lc-single-domain-asynchronous-http On Sun, Mar 18,

Re: Not sure what to do.....can I run this by you guys?

2018-03-18 Thread Tom Glod via use-livecode
Yup, realized that when I thought about and tried mikes suggestion Yes using a ? works just the same as # but may be safer in some way.. I'm just completing demo stack for this .works flawlessly. Thanks to everyone who chimed in here to help me find solution...hopefully i can make it easier

Re: Not sure what to do.....can I run this by you guys?

2018-03-18 Thread Ben Rubinstein via use-livecode
I think this depends on the base URL. If it's with a simple URL, there's no reason why an appended '#' parameter should cause a browser to request it fresh; as Mike says, it indicates scrolling to an anchor in the page. So it's perfectly reasonable for a smart browser - or a caching layer on

Re: Not sure what to do.....can I run this by you guys?

2018-03-16 Thread Charles Warwick via use-livecode
Just remember the browser widget in LiveCode uses CEF (Chromium Embedded Framework) on all platforms. It doesn’t need to work on Safari or Firefox. > On 17 Mar 2018, at 1:40 am, Tom Glod via use-livecode > wrote: > > this solution has to work flawlessly in

Re: Not sure what to do.....can I run this by you guys?

2018-03-16 Thread Rick Harrison via use-livecode
Hi Mike, I am in a testing phase right now for deployment to others later, so disabling safari for myself isn’t going to accomplish much. I will look into setting the headers directly. Thanks, Rick > On Mar 16, 2018, at 11:31 AM, Mike Bonner via use-livecode >

Re: Not sure what to do.....can I run this by you guys?

2018-03-16 Thread Tom Glod via use-livecode
this solution has to work flawlessly in production on all 3 desktop platforms. I'm giving a shot to modifying LibURL. I wish I knew why the limit is in there to begin with, that would help to know if I am wasting my time or not. Realistically if it was as easy as just hacking that code,

Re: Not sure what to do.....can I run this by you guys?

2018-03-16 Thread Mike Bonner via use-livecode
Yeah, thats what I was talking about, but I never tried it with safari i'm afraid. Sounds like something funky with safari, though i'm not sure why my method wouldn't work unless safari is smart enough now to recognize an inline link and NOT treat it as a new URL to cache. If this is only for

Re: Not sure what to do.....can I run this by you guys?

2018-03-16 Thread Rick Harrison via use-livecode
Hi Mike, I am finding that Safari is not honoring the meta tag to turn off caching. I thought I would give your method a try. I’m not sure I am doing it right though because that isn’t working either. (Firefox does everything properly.) I was thinking from your description that it would look

Re: Not sure what to do.....can I run this by you guys?

2018-03-16 Thread Tom Glod via use-livecode
Yes Mike that is a helpful trick. On Fri, Mar 16, 2018 at 9:31 AM, Mike Bonner via use-livecode < use-livecode@lists.runrev.com> wrote: > Another way around the cache problem is to use the #2 trick at the end of > the url. Send each request with a pound and different number at the end of > the

Re: Not sure what to do.....can I run this by you guys?

2018-03-16 Thread Mike Bonner via use-livecode
Another way around the cache problem is to use the #2 trick at the end of the url. Send each request with a pound and different number at the end of the url and it'll be seen as a new request thus doing an end run around the cache. Since it designates an inline anchor position on the page, it

Re: Not sure what to do.....can I run this by you guys?

2018-03-16 Thread Tom Glod via use-livecode
WowI'm impressedthats quite a hack Charles..I will study all this see how far I get. Thank you gentlemenyou are Rockstars!! On Fri, Mar 16, 2018 at 7:13 AM, Lagi Pittas via use-livecode < use-livecode@lists.runrev.com> wrote: > Maybe not 100% reliable but > >

Re: Not sure what to do.....can I run this by you guys?

2018-03-16 Thread Lagi Pittas via use-livecode
Maybe not 100% reliable but https://stackoverflow.com/questions/1341089/using-meta-tags-to-turn-off-caching-in-all-browsers Regards Lagi On 16 March 2018 at 09:48, Charles Warwick via use-livecode wrote: > Hi Tom, > > If the site you are trying to contact

Re: Not sure what to do.....can I run this by you guys?

2018-03-16 Thread Charles Warwick via use-livecode
Hi Tom, If the site you are trying to contact has CORS enabled appropriately, then you can do something like this... With the LiveCode browser widget, you can call JavaScript functions from LC script and have the JavaScript functions call LC handlers in return. JavaScript has the capability

Re: Not sure what to do.....can I run this by you guys?

2018-03-15 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > I'll keep you guys posted on the progress..I think I need a name for > this little project. "There are only two hard things in Computer Science: cache invalidation and naming things." - Phil Karlton -- Richard Gaskin Fourth World Systems

Re: Not sure what to do.....can I run this by you guys?

2018-03-15 Thread Tom Glod via use-livecode
Great hints there Mike thanks alot. Luckily I'm desktop only right now. It shouldn't be too long before I sit down to make something that I can rely on and reuse in future projects. Might turn out I will have to hire someone to help which is cool too. It only has to be very simple..and

Re: Not sure what to do.....can I run this by you guys?

2018-03-15 Thread Mike Bonner via use-livecode
I've used load for this in the past. The ability to specify a callback message makes it work well. In my case I was experimenting with offloading a large job to a webserver for processing. To help with organizing the data being returned, I tacked a # and an incrementing number to the end of

Re: Not sure what to do.....can I run this by you guys?

2018-03-15 Thread Tom Glod via use-livecode
i need to be able to send more than one http request to my cloud service domain at one timeit is not a limitation I am willing to live with and I don't want to package requests together and have to wait for all of them to be processed before something comes back. Its not a limitation that

Re: Not sure what to do.....can I run this by you guys?

2018-03-15 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > Hi guys, I've brought this up before.and the time to solve is > coming sooner than I expected. > > 1. My project must be open source > 2. I must communicate with cloud service not one request at a time. > 3. TsNet is not open source and I love that LC has a feature that >

Not sure what to do.....can I run this by you guys?

2018-03-15 Thread Tom Glod via use-livecode
Hi guys, I've brought this up before.and the time to solve is coming sooner than I expected. 1. My project must be open source 2. I must communicate with cloud service not one request at a time. 3. TsNet is not open source and I love that LC has a feature that can bring them important