note 112828 added to intro.opcache
| From: | aka at myself dot com | Date: | Sat, 27 Jul 2013 14:43:15 +0000 |
| Subject: | note 112828 added to intro.opcache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-195789@lists.php.net to get a copy of this message | ||
Is thee good pratices for using the cache?
I would assume that php sources with a lot of conditional include would be less good, because such a
source would be cachable as "text", but not as byte code.
I would assume that unconditional include (and even a lot of includes) - mostly in the main php
source would be best.
Therefore include of class definitions seems to be a good usecase.
----
Server IP: 69.147.83.199
Probable Submitter: 188.176.16.86
----
Manual Page -- http://php.net/manual/en/intro.opcache.php
Edit -- https://master.php.net/note/edit/112828
Del: integrated -- https://master.php.net/note/delete/112828/integrated
Del: useless -- https://master.php.net/note/delete/112828/useless
Del: bad code -- https://master.php.net/note/delete/112828/bad+code
Del: spam -- https://master.php.net/note/delete/112828/spam
Del: non-english -- https://master.php.net/note/delete/112828/non-english
Del: in docs -- https://master.php.net/note/delete/112828/in+docs
Del: other reasons-- https://master.php.net/note/delete/112828
Reject -- https://master.php.net/note/reject/112828
Search -- https://master.php.net/manage/user-notes.php