I know we can clear egroupware’s cache from admin, but can it also be cleared programmatically
Sure, question is from what environment.
For an EGroupware app you can do what we do in our sources, when you call it in Admin:
From a shell script you can send a signal to the FPM process:
[docker exec -it egroupware] kill -s usr2 1
I’d like to do it from a custom application in egroupware
Ok, see my answer above