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, 20
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
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 th
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 production on all 3 desktop
> platfo
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
> wrote:
>
> Yeah, thats what I
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, someo
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 your
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 s
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 u
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
sho
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
>
> https://stackov
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 has CORS enabled appropriately, t
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
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
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 doe
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
each
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
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
> can
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 revenue.
19 matches
Mail list logo