-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
good first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Milestone
Description
In the performance article, the section about byte code caches mentions the problem with clearing the APC/OpCache from the CLI.
The article mentions a working, but rather impractical way:
You either need to restart the web server or call the apc_clear_cache() or opcache_reset() functions via the web server (i.e. by having these in a script that you execute over the web).
If you are running PHP via FCGI (like FPM) you can use the cachetool to send the cache clear command directly via the FCGI protocol. That prevents exposing a publicly callable cache-clear script (which might be a DDoS attack vector).
So my question: would be beneficial to mention this tool here as a better solution to this problem?
Metadata
Metadata
Assignees
Labels
good first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.