Strappado wrote:Hi this MOD have worked totally fine until this morning. It now takes about 1-2 minutes to load the page where the script is added. I haven't installed any MODS or edited anything recently.
Hi again, Strappado,
i checked it again on testserver with bad reachable img servers and comes to the same result. Unfortunely it gives no
if not reachable()
function, but i have fiddle a while and think, i have a solution. On the testserver the time to load a site shrinks on bad img requests
(which is normally not the base situation) from ~1 min, to ~0,5 - 1,3 sec..
The new script triggers only on those img files, which are not thumbed already, so the check goes only to the failed ones. It checks the time, the server responds and if the respond is to late (editable, (standard > 200 msec = 1/5 sec.)) it stops trying. If the server is more fast in future, it trys again. I make some further tests and add it to the mod core then.
Also i should build an information about stubborn imgs, which are checked and checked again. One other reason beneath not or bad reachable can be, that the img are to small. The thumbing engine works in this case right. If img is too small = no thumbing, but the check if its alright goes on again on reload.
Here you see a basic visual example of the new check engine.
http://www.4seven.de/forum/media/viewfo ... yle=1&f=13
Note: The following site loads before this change ~1min as explaned above. If you reload from time to time, you see the reachability status, visual look of img, which is better as the filename and a link to where the stubborn img is located. Its experimental, so i build this later in a popup or similar.