Re: PHP slower than javascript if heavy traffic?
- From: "ZeldorBlat" <zeldorblat@xxxxxxxxx>
- Date: 25 Feb 2006 15:40:32 -0800
Jan wrote:
PHP/ASP/JSP may be used to create dynamic pages. Sites using this to
create all their pages are often very slow, maybe to due workload on
the server.
May the pages become quicker if a browser client script like javascript
is used instead of PHP, thus keeping most of the page in static HTML?
My aim to is to produce cookies for a site with 200,000 visitors a day,
and a PHP part in the HTML code may be one approach.
What exactly are you hoping to achieve in Javascript? Some things will
be faster with a client-side implementation (i.e. input validation)
while some things will be impossible (i.e. writing info to a database).
It all depends on what you're doing. If you still need a server-side
scripting engine to generate a large part of the Javascript, you
probably haven't gained much.
And what exactly do you mean, "my aim is to produce cookies" ?
.
- Follow-Ups:
- References:
- Prev by Date: PHP slower than javascript if heavy traffic?
- Next by Date: matching regex inside an If statement
- Previous by thread: PHP slower than javascript if heavy traffic?
- Next by thread: Re: PHP slower than javascript if heavy traffic?
- Index(es):
Relevant Pages
|