Ever since the redesign, PHPBuilder's forum has taken an extremely long time to load each page. I belive the culprit is e1.cdn.qnsr.com -- which is included in my favorite hosts file. Is there any chance it could be removed from the page design? Or at least configured so that one need not load anything from it to enjoy this forum?
Have you tried putting it in your local HOSTS file? Would that help? (With an entry pointing to 127.0.0.1, I mean, )
/!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade!/!!!\ ereg() is deprecated --- don't use it!
dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket
It is and that is the problem. The page appears to require the file/script/whatever to load before I can see the page content so visits to PHPB are insufferably slow. I have another machine where it's not in the hosts file and things load more quickly there.
Ah, I see. A tad strange, as it appears to claim to be part of a CDN, which you'd expect to be fast. Must be a large, or poorly optimized, asset.
/!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade!/!!!\ ereg() is deprecated --- don't use it!
dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket
/!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade!/!!!\ ereg() is deprecated --- don't use it!
dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket
Which means the asset will never load. There appears to be something about the way the PHPB site is constructed that slows everything down if you block the domain.
OK, then; run a server on your localhost machine, set up the correct paths, and serve it yourself? Like:
Code:
<script type="text/javascript">
function do_nothing() {
return 1;
}</script>
/!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade!/!!!\ ereg() is deprecated --- don't use it!
dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket
Aha...dalecosp, I think you are right -- and I wouldn't even need to have localhost return anything. The problem I'm having is that the request to qnsr.com is being routed to 127.0.0.1 and, rather than a 404 response returning immediately, there is no local web server running so the request times out -- and the page waits to load until this timeout finally takes effect...or something.
So here I am contemplating whether to install a web server on one of my workstations to get PHPB to load more quickly. Seems rather drastic I think.
Depending on your browser there may be extensions available that allow you to block requests to certain files, folders or domains. For example in chrome there is https://chrome.google.com/webstore/d...e-ntp-launcher which allows adding domains to a blacklist or whitelist.
Sadly, nobody codes for anyone on this forum. People taste your dishes and tell you what is missing, but they don't cook for you. ~anoopmail I'd rather be a comma, then a full stop. User Authentication in PHP with MySQLi - Don't forget to mark threads resolved - MySQL(i) warning
Depending on your browser there may be extensions available that allow you to block requests to certain files, folders or domains. For example in chrome there is https://chrome.google.com/webstore/d...e-ntp-launcher which allows adding domains to a blacklist or whitelist.
Ooh nice one. Preventing the request at the browser sounds like a good solution.
BTW, do you have any privacy concerns about using Chrome? I can't help but wonder if Google is tracking one's usage.
Personally I just don't care if Google knows. I do like blocking Facebook and other social and advert sites, but for some reason I just can't bring myself to worry if Google tracks me. Also, I'd rather it be Google than M$ (IE) or Crapple (Safari) and I just like using the developer tools in Chrome better than Firefox.
Sadly, nobody codes for anyone on this forum. People taste your dishes and tell you what is missing, but they don't cook for you. ~anoopmail I'd rather be a comma, then a full stop. User Authentication in PHP with MySQLi - Don't forget to mark threads resolved - MySQL(i) warning
A good answer. I've got an Android phone and have started to get really paranoid about privacy lately. Maybe it's because my fiance set up a gift registry for our wedding on some site and now she is getting snail mail cards for the "Bride Expo" and other such materialistic insanity.
I'm trying to figure out when I've got time to dig my bunker ...
/!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade!/!!!\ ereg() is deprecated --- don't use it!
dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket
Bookmarks