FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » APC to cache application in full?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: APC to cache application in full? [message #180435 is a reply to message #180433] Thu, 14 February 2013 13:51 Go to previous messageGo to previous message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma:
Senior Member
Am 14.02.2013 11:30, schrieb Viktor Vad:

> I would have the following question:
>
> Is the most recent APC capable to be told to cache the whole application's
> code upon start of the application? I am not fully aware of the mechanics
> of APC yet and I wish to find a -if any- way to load generate the
> full opcode cache of my app and keep it there until, let's say server
restart.

That's the idea behind every byte code cache (APC, XCache etc.).

> I search for a behavior similar to running Rails on Passanger, where the
> full code is cached upon starting up the server. Is it possible in PHP?

Yes, with Zend Optimizer:

<http://www.zend.com/de/products/guard/runtime-decoders>

But every byte code cache will behave similar - it will cache the code
as long as possible, otherwise it would not make any sense.


--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Connection with Sql server on Windows
Next Topic: There’s a new free innovative PHP shopping cart from Japan called EC-CUBE
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 05:04:15 GMT 2024

Total time taken to generate the page: 0.04857 seconds