Feature #66495
closed
Hook for clear opcode cache
Added by Heiko Kromm about 9 years ago.
Updated over 6 years ago.
Description
It would be nice to have a hook when the opcode cache is cleared.
This would be usefull to send a signal to multiple servers running behind a loadbalancer.
- Status changed from New to Needs Feedback
Can you elaborate on how exactly you would use such a hook? How exactly does your "multiple servers running behind a loadbalancer" scenario looks like and how is such a hook going to help?
I was thinking about an aws private cloud behind an ELB. If opcache is cleared I would like to call some AWS_CLI Scripts and trigger opcache clear on all running instances.
- Status changed from Needs Feedback to New
- Status changed from New to Needs Feedback
AFAIK in 8 LTS this is now coupled to the "clear all caches", where you can hook into and do custom calls. Can you check if this is sufficient for your needs?
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision, then please reopen it or open a new ticket and add a relation to this ticket number. Thank you!
Also available in: Atom
PDF