Is the compiler cache a function of the my web host or my code?
You can cache the PHP bytecode on the server (which is more what I meant
originally), and you can also cache in your code. For an easy example of
caching with your code you could check out PEAR's package Cache_lite.
--
PHP General
On Tue, 2004-07-20 at 23:08, Jason Barnett wrote:
> Ee wrote:
>
> > Dears,
> >
> > In one of the tutorials I read about templates, the writer is diving the
> > code into multiple files. He put the menu, main, left, right, footer
> > each in a separate file. He is using foreach to go through an ar
"Ee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Would this slow down the site?
yes, but in most cases this is not important since bandwith to the client,
and database queries have usually orders of magnitude larger bottlenecks.
rush
--
http://www.templatetamer.com/
--
PHP Gen
Ee wrote:
Dears,
In one of the tutorials I read about templates, the writer is diving the
code into multiple files. He put the menu, main, left, right, footer
each in a separate file. He is using foreach to go through an array and
reads all these files.
Is this a good practice?
I use a lot of inclu
4 matches
Mail list logo