What do you mean with bypass PHP? If the page is found in the page cache, apache/nginx will respond with the cached HTML file, so PHP will not be touched.
I assume your page cache setting is set to “Disk Enhanced”? If not then there’s your problem. Granted, the lesser efficient: “Disk” mode also bypasses most of php it still does some processing. Disk Enhanced skips all php.
@fistfullofcrisco
Hi im using Disk enhanced method
Although when load testing i can see php process via Top command in linux
That’s interesting. I dont have that problem. Dumb question but i have to ask..does your cached page have any calls back to your site that might directly or indirectly make use of php e.g. an embedded wordpress plugin?
@fistfullofcrisco
No although I move to fast cgi cache with hhvm which Does alot better job