This gets into how the pHP engine fucntions and if there's any way I can tweak it for performance.
Suppose Ihave a site with say hundreds of pages, but most all have
require('config.php');
at the head of them, which contains functions, connections to the db, etc.
Is there any way I can have that file near-permanently reside in memory so that that call can be that much faster? is this a PHP thing or a Linux thing?
In case you didn't already know, I thought of this idea because IE keeps .js and .css links in memory from page to page on a site (it just checks the file date hasn't changed since the last visit). Second visits to any page using the same .js script are faster. I'd like to implement the same concept on the server side.
Very gratefully,
Sam Fullman