By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,876 Members | 1,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,876 IT Pros & Developers. It's quick & easy.

Does php slow your website down

P: n/a
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 :

http://www.ultimate-gamez.net
pe***************@googlemail.com
Jun 2 '08 #1
Share this Question
Share on Google+
10 Replies


P: n/a
pe***************@googlemail.com 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 :

http://www.ultimate-gamez.net
pe***************@googlemail.com
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.
js*******@attglobal.net
==================
Jun 2 '08 #2

P: n/a
pe***************@googlemail.com 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 :

http://www.ultimate-gamez.net
pe***************@googlemail.com
spamming your site in this newsgroup can also slow down your site due to
the increased traffic you get from this popular newgroup

;-)

--
Luuk
Jun 2 '08 #3

P: n/a
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.
Jun 2 '08 #4

P: n/a
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.
Jun 2 '08 #5

P: n/a
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.
Jun 2 '08 #6

P: n/a
In our last episode,
<d6**********************************@d1g2000hsg.g ooglegroups.com>, the
lovely and talented pe***************@googlemail.com 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/us****@larseighner.com
Countdown: 240 days to go.
Jun 2 '08 #7

P: n/a
pe***************@googlemail.com 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.
Jun 2 '08 #8

P: n/a
pe***************@googlemail.com 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 :

http://www.ultimate-gamez.net
pe***************@googlemail.com
....change the red text, talk about hard on the eyes!

--
Norman
Registered Linux user #461062
Jun 2 '08 #9

P: n/a
pe***************@googlemail.com 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 :

http://www.ultimate-gamez.net
pe***************@googlemail.com
Although not a PHP issue, the JS page refresh is very annoying. If
anything, this only worsens your problems.

--
Curtis
Jun 2 '08 #10

P: n/a
pe***************@googlemail.com wrote:
Does php slow your website down?
This certainly doesn't help:

<http://validator.w3.org/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?profile=css21&warning=0&uri=http%3A%2F%2 Fwww.ultimate-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
Jun 2 '08 #11

This discussion thread is closed

Replies have been disabled for this discussion.