session - How does OPcache in PHP determine whether a hit how occurred or not? -


What criteria are used to determine whether a cache hit has occurred in PHP OPC? I would think that things such as request URLs, headers, etc. are affected or not, but the hit is affected or not, but how OPCAC behaves with things like pages / scripts relying on cookies / sessions for presentation of the page ?

You are confusing PHP opcache with an HTTP cache.

The PHP Opcache output does not cache a PHP page instead, it caches the internal presentation used by PHP for a PHP source file, when the source files are requested every time a page is requested Allows PHP to execute it instantly when necessary to redirect.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -