The Cavern Links Checker

By yah Last update Jan 19, 2012 — Installed 2,002,450 times.

about the update function

in
Subscribe to about the update function 6 posts, 4 voices



hosts Scriptwright

I think it's not a good idea to make a request to "http://userscripts.org/scripts/show/29222" every time every page loads.

GM_xmlhttpRequest({
	method: "GET",
	url: 'http://userscripts.org/scripts/show/29222',

Imagine about some thousands people surfing some hundreds of pages every day means at least 1000 x 100 x 66KB (66kb is the site of the requested page) = about 6,600 GB !!! if my maths are correct this is a tremendous load for a free site like userscripts.org and I think that thinks like that can bring the site down eventually.

 
yah Script's Author

Something to keep in mind. Although no one from the site has complained, I will look into a more efficient method of checking for updates.

Yah.

 
Jesse Andrews Admin

I do care and I've emailed.

The problem isn't a single script but when many scripts do this. At one time I was getting 5000 req/s because several scripts did what you did and pinged userscripts.org every time greasemonkey activated which was every page view, and every iframe, ... Some forums/games were causing 10+ reqs per page view because of iframes and frames in general.

This script has hit the server over 20k times in the last hour. :(

Mistakes happen - lets get this updated so it doesn't get worse :)

 
yah Script's Author

Jesse,
I have solved this problem by creating a google document with the version number. They might be a little more tolerant due to to the massive bandwidth they deal with. If they don't like this behavior either, I'll try to come up with another way of checking for new versions. I do apologize for the inconvenience. I never expected this script to be used by so many people.

Yah.

 
Pablo Ruiz User
FirefoxWindows

I'm sorry to bring back an old thread, but I think a preference that allows us to choose not to auto check for updates would be very good. I leave my computer running iMacros or other automatic scripts and honestly it's a bit annoying to come to a halted browser with a message saying that you're redirecting me to the install page of a script that I hardly pay any attention to. That's on one hand, on the other, that's a lot of page views (hence, a lot of requests that put unnecesary strain both on my browser and my crappy internet provider.) All this checking also assumes that a user always wants or is benefited from having the latest and greatest version. Sometimes a user only wants things to work a certain way, and only when/if problems arise, check manually for an updated version that might fix broken things.

 
yah Script's Author
FirefoxWindows

Pablo Ruiz,
..
The check only takes place once/day now. This isn't discussed in the above posts, but the change was made to reduce bandwidth usage as you mentioned. The script is really not affecting your internet connection all that much. I am reluctant to add a preference like this as it might get set unintentionally by a user and they would not be able to know when critical updates are released. I will add this on my list of possible changes.
..
I would not advise disabling updates as the filehosts change their pages so often, you would not be able to rely on the results of the script for very long. Live links might show red; dead links might show green.
..
Thanks for the input,
yah.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel