Link to home
Start Free TrialLog in
Avatar of Gagik
Gagik

asked on

PHP - MySQL Connection Pooling

Hi, I wonder if there's a way in PHP to:

 - somehow keep MySQL connection on regardless if the web page changes, in order to avoid reconnecting to MySQL server every time...

 - "precompile" a PHP page conating often used functions. The idea is to avoid processing the same included page many times. For instance if we include a given php page in many other pages, we have to process it every time the page opens. While if we somehow percompile the inlcluded page, it won't be processed every time ...

Thanks a lot
ASKER CERTIFIED SOLUTION
Avatar of TheAnarchist
TheAnarchist

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Gagik
Gagik

ASKER

thanks a lot!!
thanks logudotcom for the important info!