473,386 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 :

http://www.ultimate-gamez.net
pe***************@googlemail.com
Jun 2 '08 #1
10 2323
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
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
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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: lawrence | last post by:
I notice that when my weblog software tries to contact www.weblogs.com, to use the update service, my whole site (all PHP) slows down. Contacting www.weblogs.com can take a long time. I can't...
74
by: Suyog_Linux | last post by:
I wish to know how the free()function knows how much memory to be freed as we only give pointer to allocated memory as an argument to free(). Does system use an internal variable to store allocated...
3
by: aspnet guy | last post by:
my asp.net website is slow at my work machine but very fast at home. My work uses a firewall. Can that slow down the loading of web forms? are there any "common" things I can try to get it to...
1
by: Bruce Hodge | last post by:
Hi, We have multiple copies of an application running on 2003 server hosted on the Internet. Each has it's own SQL database, each has it's own Website and URL. So in processing terms they are...
1
by: amessimon | last post by:
Hi I run an asp.net website on shared hosting, thie site probably gets 40-50 unique visitors a day. Ive noticed that for periods of time when the site has maybe not had visitors for maybe 20mins...
4
by: sommes | last post by:
It's only happen on .asp website, what's the problem? Thank you
23
by: PeterOut | last post by:
If I had code like this. unsigned short usLimit=10 int a, i; for (i=0; i<(int)usLimit; ++i) { a=(int)usLimit; }
2
by: pc | last post by:
Hi, I am a webmaster of a website and the server maintianers upgraded from php 4 to php 5.At around the same time my site slowed down.Does a php upgrade cause a site to slow down?Is there any...
3
by: John | last post by:
Hi I have replaced an ms access app with its vb.net version at a client site. Now the clients keeps complaining about how slow the app response is. The complains they have are for example when...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.