Re: Feature request : Self caching of .php files for wide multi backend setups.
| From: | Sebastian Mendel | Date: | Mon, 06 Aug 2007 05:39:40 +0000 |
| Subject: | Re: Feature request : Self caching of .php files for wide multi backend setups. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31464@lists.php.net to get a copy of this message | ||
Constantin B schrieb:
require should : 1 : check in /localcopy/path/to/file.php if it exist 2 : then if its not too old // we can define what this means later // it just require it as now 3 : if the file does not exist or if its too old we refresh it from the /path/to/file.php and require it .if it would be possible to share the 'scope' (i am not sure if this is the right term) between two functions or main() and a function f.e. example by function definition or some language construct in the called function - this could be implemneted in user space ... of course, if the included files does only contain function and/or classes this could be done already in userspace ... -- Sebastian