every page on forum very load to slow
Results 1 to 15 of 15

Thread: every page on forum very load to slow

  1. #1
    Senior Member
    Join Date
    Apr 2003
    Location
    Silver Lake
    Posts
    4,811

    every page on forum very load to slow

    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?
    IMPORTANT: STOP using the mysql extension. Use mysqli or pdo instead.
    World War One happened 100 years ago. Visit Old Grey Horror for the agony and irony.

  2. #2
    Senior Member
    Join Date
    Apr 2003
    Location
    Silver Lake
    Posts
    4,811
    um...slow to load i mean.
    IMPORTANT: STOP using the mysql extension. Use mysqli or pdo instead.
    World War One happened 100 years ago. Visit Old Grey Horror for the agony and irony.

  3. #3
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    7,623
    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

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  4. #4
    Senior Member
    Join Date
    Apr 2003
    Location
    Silver Lake
    Posts
    4,811
    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.
    IMPORTANT: STOP using the mysql extension. Use mysqli or pdo instead.
    World War One happened 100 years ago. Visit Old Grey Horror for the agony and irony.

  5. #5
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    7,623
    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

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  6. #6
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    7,623
    I guess we could try & figure it out:
    Code:
    <script language="javascript" src="http://e1.cdn.qnsr.com/cgi/d/0/0/203/650707/cmp0.js"></script>
    <script language="javascript" src="http://e1.cdn.qnsr.com/jsc/e1/fx.js"></script>
    <script language="JavaScript" src="http://e1.cdn.qnsr.com/jsc/e1/fc.js"></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

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  7. #7
    Senior Member
    Join Date
    Apr 2003
    Location
    Silver Lake
    Posts
    4,811
    You misunderstand. From my local hosts file:
    Code:
    127.0.0.1  e1.cdn.qnsr.com
    127.0.0.1  l1.cdn.qnsr.com #[WebBug]
    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.
    IMPORTANT: STOP using the mysql extension. Use mysqli or pdo instead.
    World War One happened 100 years ago. Visit Old Grey Horror for the agony and irony.

  8. #8
    Senior Member
    Join Date
    Apr 2003
    Location
    Silver Lake
    Posts
    4,811
    Quote Originally Posted by dalecosp View Post
    I guess we could try & figure it out:
    Code:
    <script language="javascript" src="http://e1.cdn.qnsr.com/cgi/d/0/0/203/650707/cmp0.js"></script>
    <script language="javascript" src="http://e1.cdn.qnsr.com/jsc/e1/fx.js"></script>
    <script language="JavaScript" src="http://e1.cdn.qnsr.com/jsc/e1/fc.js"></script>
    Well it's pretty simple to me. I don't want to be tracked but the page wants to track me -- and if it can't, there appears to be a punitive effect.
    IMPORTANT: STOP using the mysql extension. Use mysqli or pdo instead.
    World War One happened 100 years ago. Visit Old Grey Horror for the agony and irony.

  9. #9
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    7,623
    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

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  10. #10
    Senior Member
    Join Date
    Apr 2003
    Location
    Silver Lake
    Posts
    4,811
    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.
    IMPORTANT: STOP using the mysql extension. Use mysqli or pdo instead.
    World War One happened 100 years ago. Visit Old Grey Horror for the agony and irony.

  11. #11
    Senior Member Derokorian's Avatar
    Join Date
    Apr 2011
    Location
    Denver
    Posts
    1,740
    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

  12. #12
    Senior Member
    Join Date
    Apr 2003
    Location
    Silver Lake
    Posts
    4,811
    Quote Originally Posted by Derokorian View Post
    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.
    IMPORTANT: STOP using the mysql extension. Use mysqli or pdo instead.
    World War One happened 100 years ago. Visit Old Grey Horror for the agony and irony.

  13. #13
    Senior Member Derokorian's Avatar
    Join Date
    Apr 2011
    Location
    Denver
    Posts
    1,740
    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

  14. #14
    Senior Member
    Join Date
    Apr 2003
    Location
    Silver Lake
    Posts
    4,811
    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.
    IMPORTANT: STOP using the mysql extension. Use mysqli or pdo instead.
    World War One happened 100 years ago. Visit Old Grey Horror for the agony and irony.

  15. #15
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    7,623
    It's gonna get worse, and then real bad.

    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

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •