why is the https 4chan image server slow as fuck?
>>58728677
Because of /g/. Also, the first thing gookmoot did was to fuck up the servers.
I'm so sick of 4chan's speed it's always slow as fuck.
>>58728677
Because thirsting weebs would crash the site if it wasn't throttled
>is2.4chan.org/...
Change to:
>i.4cdn.org/...
Kill the gook, fap to gook.
write a greasemonkey script to do this >>58728759
problem solved
I mean the https://is2.4chan.org
not http://is2.4chan.org
>>58728788// ==UserScript==
// @name 4chanimgfix
// @namespace Hiroshima Nagasaki
// @author Anonymous
// @match *://boards.4chan.org/*
// @grant none
// ==/UserScript==
var a_scan = document.getElementsByTagName('a');
var hiroshima, nagasaki;
for(var i = 0; i < a_scan.length; i++) {
hiroshima = a_scan[i];
nagasaki = hiroshima.getAttribute('href');
if(nagasaki) {
hiroshima.setAttribute('href', nagasaki.replace(/is2?.4chan.org/gi, 'i.4cdn.org'));
}
}
>>58728842
Thanks, got the script running.
I'll see how it fares.
>>58728909
Although it doesn't seem to work with the Update button.
Just on a total page reload.
>>58728677
The chink changed the image hosting to a cheaper one months ago.
>>58728842
disgustingdocument.querySelectorAll('.file a').forEach(a => a.href = a.href.replace('is2.4chan', 'i.4cdn'));
>>58728677
try restarting your computer
>>58728928
No the issue was that you click on a thumbnail and the image would take like more than 20 seconds to even start loading. Not that it took slow to load. And then only with the encrypted connection.
But this script
>>58728842
does change them over i.4chan well enough.
>>58728946
Works too.
But again not with page update, just reloads.
Is this a Greasemonkey thing?
>>58728922
>>58729014
Ok, pulled a good one from the archive that fixes the links even when using the "Update" link// ==UserScript==
// @name Rewrite is.4chan.org
// @namespace
// @include *://boards.4chan.org/*
// @version 1
// @grant none
// ==/UserScript==
function fix(n) {
[...n.querySelectorAll('a[href^="//is.4chan.org/"]')].forEach(a => a.hostname = 'i.4cdn.org');
[...n.querySelectorAll('a[href^="//is2.4chan.org/"]')].forEach(a => a.hostname = 'i.4cdn.org');
}
fix(document);
new MutationObserver(function (ms) {
ms.forEach(function(m) {
[...m.addedNodes].forEach(fix);
});
}).observe(document.querySelector('.thread'), {childList: true});
>>58729514
using this, how do I confirm it's actually working? images still load slow as shit.
>>58730031
the images should be at i.4cdn.org instead of is2.4chan.org or is.4chan.org
it's right in the script.
My original issue was that clicking a thumbnail or even opening the image in another tab, would take like 20 or 30 seconds to even start loading.
The actual speed of the download was good enough.
But I am using the https connection to 4chan and the image servers.
Gook moot a shit.
>>58730084
yeah they're at i.4cdn.org
am also using https.
they start to load immedietly, but they load slow as shit. we should lynch that fucking gook jew.
i've changed my hosts file to resolve is.4chan.org and is2.4chan.org to the ip of i.4cdn.org
still slow as shit. fuck joot. really makes the site fucking unusable.
>>58730111
Yeah, definitely not fast, but at least they're loading for me now using i.4cdn.org.
I wasn't exaggerating when I said it would take between 20 or 30 seconds, even longer to even start to load with the default is2.4chan.org domain.
>>58729514
God bless, this works great. Thanks anon.