/    Sign up×
Community /Pin to ProfileBookmark

If the 3rd party js server is down, it hangs the site

Hi,

I am developing a js based application for other sites (like website counter) where the js runs from my server. Now the problem is that if my server goes down or become slow it effects all the other syndicated sites.

Is there a way out?

Let me put it in other words,
My Server is [b]xyz.com[/b]
I provided a script [b]xyz.com/script.js[/b] to 123.com. Now if 123.com is putting this code inside one of its pages say index.html. Now index.html of 123.com has code which says script src=”xyz.com/script.js”.

[b]Now if xyz.com is not responding it is hanging 123.com as well. Is there a way out?[/b]

Thanks,

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @prashcom spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...