Does php slow your website down

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • penworthamnaynesh@googlemail.com

    Does php slow your website down

    Does php slow your website down?
    This is what i would like to know.The reason is because my site is
    writtent 50% in html and 50% in php and is very slow at loading.
    And i cant tell wether php is doing it or html o is it another reason
    because i only have 20gb bandwidth

    My site is called :
    ultimate city the game http://www.ultimate-gamez.net


    Here is a link to try and see if it is really slow because it just
    might be my computer which is showing that my site is slow at
    loading :




    penworthamnayne sh@googlemail.c om
  • Jerry Stuckle

    #2
    Re: Does php slow your website down

    penworthamnayne sh@googlemail.c om wrote:
    Does php slow your website down?
    This is what i would like to know.The reason is because my site is
    writtent 50% in html and 50% in php and is very slow at loading.
    And i cant tell wether php is doing it or html o is it another reason
    because i only have 20gb bandwidth
    >
    My site is called :
    ultimate city the game http://www.ultimate-gamez.net
    >
    >
    Here is a link to try and see if it is really slow because it just
    might be my computer which is showing that my site is slow at
    loading :
    >

    >
    >
    penworthamnayne sh@googlemail.c om
    It depends on what you're doing. For instance:

    for ($i = 0, $j=0; $i < 1000000; $i++)
    $j = $i + $j;

    will slow down your server. So can inefficient SQL queries and/or a
    poor database design. Or too many images/images that are too big. Or a
    lot of other things.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • Luuk

      #3
      Re: Does php slow your website down

      penworthamnayne sh@googlemail.c om schreef:
      Does php slow your website down?
      This is what i would like to know.The reason is because my site is
      writtent 50% in html and 50% in php and is very slow at loading.
      And i cant tell wether php is doing it or html o is it another reason
      because i only have 20gb bandwidth
      >
      My site is called :
      ultimate city the game http://www.ultimate-gamez.net
      >
      >
      Here is a link to try and see if it is really slow because it just
      might be my computer which is showing that my site is slow at
      loading :
      >

      >
      >
      penworthamnayne sh@googlemail.c om
      spamming your site in this newsgroup can also slow down your site due to
      the increased traffic you get from this popular newgroup

      ;-)

      --
      Luuk

      Comment

      • Cubs008

        #4
        Re: Does php slow your website down

        On May 24, 8:30 am, "penworthamnayn ...@googlemail. com"
        <penworthamnayn ...@googlemail. comwrote:
        Does php slow your website down?
        This is what i would like to know.The reason is because my site is
        writtent 50% in html and 50% in php and is very slow at loading.
        And i cant tell wether php is doing it or html o is it another reason
        because i only have 20gb bandwidth
        >
        My site is called :
        ultimate city the gamehttp://www.ultimate-gamez.net
        >
        Here is a link to try and see if it is really slow because it just
        might be my computer which is showing that my site is slow at
        loading :
        >

        >
        penworthamnayn. ..@googlemail.c om
        yah, like others have said.. bad code, bad database design, too many
        images tat are too big, and a lot of other things can slow down your
        server.
        that said, it also depends on who your hosts are.. some hosts are
        known to have slow servers. I cant think of any known slow web hosts
        off the top of my head.. but I know there are some out there that have
        really slow servers.

        Comment

        • phpguy

          #5
          Re: Does php slow your website down

          On May 24, 8:30 am, "penworthamnayn ...@googlemail. com"
          <penworthamnayn ...@googlemail. comwrote:
          Does php slow your website down?
          This is what i would like to know.The reason is because my site is
          writtent 50% in html and 50% in php and is very slow at loading.
          And i cant tell wether php is doing it or html o is it another reason
          because i only have 20gb bandwidth
          >
          My site is called :
          ultimate city the gamehttp://www.ultimate-gamez.net
          >
          Here is a link to try and see if it is really slow because it just
          might be my computer which is showing that my site is slow at
          loading :
          >

          >
          penworthamnayn. ..@googlemail.c om
          yah, like others have said.. bad code, bad database design, too many
          images tat are too big, and a lot of other things can slow down your
          server.
          that said, it also depends on who your hosts are.. some hosts are
          known to have slow servers. I cant think of any known slow web hosts
          off the top of my head.. but I know there are some out there that have
          really slow servers.

          Comment

          • The Natural Philosopher

            #6
            Re: Does php slow your website down

            Cubs008 wrote:
            On May 24, 8:30 am, "penworthamnayn ...@googlemail. com"
            <penworthamnayn ...@googlemail. comwrote:
            >Does php slow your website down?
            >This is what i would like to know.The reason is because my site is
            >writtent 50% in html and 50% in php and is very slow at loading.
            >And i cant tell wether php is doing it or html o is it another reason
            >because i only have 20gb bandwidth
            >>
            >My site is called :
            >ultimate city the gamehttp://www.ultimate-gamez.net
            >>
            >Here is a link to try and see if it is really slow because it just
            >might be my computer which is showing that my site is slow at
            >loading :
            >>
            >http://www.ultimate-gamez.net
            >>
            >penworthamnayn ...@googlemail. com
            >
            yah, like others have said.. bad code, bad database design, too many
            images tat are too big, and a lot of other things can slow down your
            server.
            that said, it also depends on who your hosts are.. some hosts are
            known to have slow servers. I cant think of any known slow web hosts
            off the top of my head.. but I know there are some out there that have
            really slow servers.
            seemed fast enough to me..mind you the spelling/grammar is appalling.

            Comment

            • Lars Eighner

              #7
              Re: Does php slow your website down

              In our last episode,
              <d6646fbe-73df-49de-b18b-cced41e2ea39@d1 g2000hsg.google groups.com>, the
              lovely and talented penworthamnayne sh@googlemail.c om broadcast on
              comp.lang.php:
              Does php slow your website down?
              Every kind document that uses any kind server-side processing is going to be
              at least a little bit "slower" than a static document of similar size from
              the same server. If you have static pages, it only makes sense to serve
              them without any server parsing. You can avail yourself of the advantages
              of modular design by generating such pages --- using php cli, perl, make,
              other preprocessors, shell scripting, or whatever you like --- offline.

              That being said, most complaints of "slow loading" are really effects of
              poor design --- huge graphics, inefficient database calls, poor use of
              styles (so the browser cannot makeup the page until it gets the whole
              thing).


              --
              Lars Eighner <http://larseighner.com/usenet@larseigh ner.com
              Countdown: 240 days to go.

              Comment

              • =?ISO-8859-15?Q?Iv=E1n_S=E1nchez_Ortega?=

                #8
                Re: Does php slow your website down

                penworthamnayne sh@googlemail.c om wrote:
                Does php slow your website down?
                Programming languages don't slow things down. Bad design and bad coding do
                slow things down.

                --
                ----------------------------------
                Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

                La verdad nunca tiene un aspecto impetuoso.- Nicholas Boileau-Depreaux.

                Comment

                • Norman Peelman

                  #9
                  Re: Does php slow your website down

                  penworthamnayne sh@googlemail.c om wrote:
                  Does php slow your website down?
                  This is what i would like to know.The reason is because my site is
                  writtent 50% in html and 50% in php and is very slow at loading.
                  And i cant tell wether php is doing it or html o is it another reason
                  because i only have 20gb bandwidth
                  >
                  My site is called :
                  ultimate city the game http://www.ultimate-gamez.net
                  >
                  >
                  Here is a link to try and see if it is really slow because it just
                  might be my computer which is showing that my site is slow at
                  loading :
                  >

                  >
                  >
                  penworthamnayne sh@googlemail.c om
                  ....change the red text, talk about hard on the eyes!

                  --
                  Norman
                  Registered Linux user #461062

                  Comment

                  • Curtis

                    #10
                    Re: Does php slow your website down

                    penworthamnayne sh@googlemail.c om wrote:
                    Does php slow your website down?
                    This is what i would like to know.The reason is because my site is
                    writtent 50% in html and 50% in php and is very slow at loading.
                    And i cant tell wether php is doing it or html o is it another reason
                    because i only have 20gb bandwidth
                    >
                    My site is called :
                    ultimate city the game http://www.ultimate-gamez.net
                    >
                    >
                    Here is a link to try and see if it is really slow because it just
                    might be my computer which is showing that my site is slow at
                    loading :
                    >

                    >
                    >
                    penworthamnayne sh@googlemail.c om
                    Although not a PHP issue, the JS page refresh is very annoying. If
                    anything, this only worsens your problems.

                    --
                    Curtis

                    Comment

                    • Beauregard T. Shagnasty

                      #11
                      Re: Does php slow your website down

                      penworthamnayne sh@googlemail.c om wrote:
                      Does php slow your website down?
                      This certainly doesn't help:

                      <http://validator.w3.or g/check?verbose=1 &uri=http%3A%2F %2Fwww.ultimate-gamez.net%2F>
                      This page is not Valid XHTML 1.0 Transitional!
                      Result: Failed validation, 340 Errors

                      <http://jigsaw.w3.org/css-validator/validator?profi le=css21&warnin g=0&uri=http%3A %2F%2Fwww.ultim ate-gamez.net%2F>
                      W3C CSS Validator results for http://www.ultimate-gamez.net/ (CSS level
                      2.1)
                      Sorry! We found the following errors (30)
                      This is what i would like to know.The reason is because my site is
                      writtent 50% in html and 50% in php and is very slow at loading.
                      And you have 150% more <bodyelements than you need.
                      And you don't use external style sheets.
                      And you have batches of CSS in the middle of the <body>s.
                      And you have unnecessary time-consuming JavaScript.
                      And ... well, I tire of listing page and design errors.
                      And i cant tell wether php is doing it or html o is it another reason
                      because i only have 20gb bandwidth
                      Your monthly allotted bandwidth has nothing to do with the speed of
                      delivering pages.

                      --
                      -bts
                      -Friends don't let friends drive Windows

                      Comment

                      Working...