I find caching to be extremely helpful. I have a complex property layer for
my php based web engine/library. These properies have several levels of dependency
and inheritance which can take as many as 15 queries to build. Then I cache
the tree and it is reduced to a single query on subsequent
PROTECTED]]
Sent: May 5, 2002 4:01 PM
To: Sp
Cc: Miguel Cruz; Pag; Luc Saint-Elie
Subject: Re: [PHP] PHP compared to JSP
Hello,
Sp wrote:
Does anyone think caching should be built into php for it to edge out the
competition?
(like what smarty is doing)
I mean a static page will always
On Sat, 4 May 2002, Pag wrote:
Does PHP compile : NO
Does the user loading same page for 2nd time gets better response : YES
it can if caching is provided
On a side not..isnt caching a bit like going against why PHP was built
in the first place? I mean, information may get a bit out of
Saint-Elie; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP compared to JSP
On Sat, 4 May 2002, Pag wrote:
Does PHP compile : NO
Does the user loading same page for 2nd time gets better response : YES
it can if caching is provided
On a side not..isnt caching a bit like going against why PHP was built
PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, May 05, 2002 2:47 PM
Subject: RE: [PHP] PHP compared to JSP
Does anyone think caching should be built into php for it to edge out the
competition?
(like what smarty is doing)
I mean a static page will always serve up faster then a dynamic one. Also
Hello,
Sp wrote:
Does anyone think caching should be built into php for it to edge out the
competition?
(like what smarty is doing)
I mean a static page will always serve up faster then a dynamic one. Also even if
you are
getting 100 pages/sec on your database, you could cache it for 5
Sorry if this is repeated, but I didn't see my query in the news group so
reposting it !
---
Dear all,
How is PHP similar to / different than JSP ? I mean, in JSP the page is
compiled the first time it runs on the web-browser, then the next time it
finds the
: [PHP] PHP compared to JSP
Sorry if this is repeated, but I didn't see my query in the news group
so
reposting it !
---
Dear all,
How is PHP similar to / different than JSP ? I mean, in JSP the page is
compiled the first time it runs on the web-browser
Thanks for that !
But my question still remains the same ... does PHP alone (without ZEND)
compile code into some .compiled_PHP file so that the user loading same page
for 2nd time gets better response than the 1st time?
Regards,
Paras.
Matt Friedman [EMAIL PROTECTED] wrote in message
At 11:07 04/05/2002 -0500, Paras Mukadam wrote:
Thanks for that !
But my question still remains the same ... does PHP alone (without ZEND)
compile code into some .compiled_PHP file so that the user loading same page
for 2nd time gets better response than the 1st time?
Hello,
Both have nothing
But my question still remains the same ... does PHP alone (without ZEND)
compile code into some .compiled_PHP file so that the user loading same page
for 2nd time gets better response than the 1st time?
No, it doesnt. Every time a user accesses a page that has PHP, the
page will be
Does PHP compile : NO
Does the user loading same page for 2nd time gets better response : YES it
can if caching is provided
On a side not..isnt caching a bit like going against why PHP was
built in the first place? I mean, information may get a bit out of date if
we get a page on
In PHP programming this can be a complex issue. An excellent example of
caching or re-handling data is the Smarty Template Engine,
http://www.phpinsider.com/php/code/Smarty/ . It may seem a rather
redundant idea to cache and create scripts in PHP which is already part
of the HTML documents,
Caching is not going against PHP as long as whenever the file is changed of
the 1st access it would be cached, rather then caching php scripts based on
some arbitrary timer.
Ideally the caching script would on the 1st access of the script convert the
script to binary code which can then be
Ilia A. wrote:
Caching is not going against PHP as long as whenever the file is changed of
the 1st access it would be cached, rather then caching php scripts based on
some arbitrary timer.
Ideally the caching script would on the 1st access of the script convert the
script to binary code
15 matches
Mail list logo