[phpa] Re: what is acceleration good for?

> > I have a lot of static content requiring  php includes
> > and possibly a few online forms, so I suspect
> > php-accelerator will be good for that. I'm still a
> > relative newbie to php. 
> > 
> > I'm guessing that the application works by caching and
> > that it works globally on all php pages.
> 
> It does, but it doesn't cache PHP output, but rather the compiled form of 
> the source scripts. As my site says in the 'About' section, the reading and 
> processing of source scripts can be quite time consuming, and PHPA 
> eliminates that overhead. So yout scripts go faster, but remain as dynamic 
> as without the cache.

You might think of using PHP accelerator to cache PHP files and also use a PHP 
caching system...
There are some classes around that let you cache pages. If you have php scripts 
generating some pages that are almost static, you can use one of these classes 
that 
will build the static page once and load it every time without "regenerating" 
it.
PHPA will take care of caching the PHP class, the class will generate the 
static 
pages.

Dunno if this explanation was clear, sorry. ;)

andrea
------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: