Closed joanhey closed 1 year ago
Actually it's calling opcache_reset() from the CLI, so clean only the CLI cache, but never in the server.
opcache_reset()
https://github.com/myaaghubi/PHP-Frameworks-Bench/blob/main/base/hello_world.sh#L70
We need to create a file in the server to clean, and call it with CURL.
Also will be good to after clean the opcache, call the url of the new framework with CURL, to recache it for the new framework. And check that the response is OK.
Actually it's calling
opcache_reset()
from the CLI, so clean only the CLI cache, but never in the server.https://github.com/myaaghubi/PHP-Frameworks-Bench/blob/main/base/hello_world.sh#L70
We need to create a file in the server to clean, and call it with CURL.
Also will be good to after clean the opcache, call the url of the new framework with CURL, to recache it for the new framework. And check that the response is OK.