Re: APC and CGI
| From: | Rasmus Lerdorf | Date: | Thu, 20 Sep 2012 15:32:05 +0000 |
| Subject: | Re: APC and CGI | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-9810@lists.php.net to get a copy of this message | ||
On 09/19/2012 06:22 PM, Marten Lehmann wrote:
> I know that APC can do a lot more than keeping opcode in memory, but
> would it be so hard to make it work similar to the Java JSP style in its
> simplest case (=CGI mode)? Each .jsp file gets compiled to a class and
> the bytecode is only re-generated (ie. the class-recompiled) when the
> original .jsp file has changed. Couldn't APC precompile the PHP-files to
> a .cache-folder or similar if not even in memcached?
Yes, it would be extremely difficult actually.
-Rasmus