Comments (3)
Interesting question @p5ych0 and not one I've thought of before now. Off the top of my head, you could use the Amnuts\Opcache\Service
class with an endpoint over the top of it which has an endpoint that returns the contents of the compileState
method call. You'd then have to change the main GUI script so that instead of using $opcache = (new Service($options))->handle();` you'd go to each of your services, get the results and amalgamate them for output.
Of course, that has a bunch of issue to resolve such as what if there are different directives? How would you know what server the results came from? How would you invalidate anything in the cache (because you'd need to know which server)? ... and so on.
I think a lot of that could probably be resolved by also including an id or url of the server you've got those results from and then putting that into the results. Combine anything that is the same across all servers (like functions or possibly directives), but for the file list have a list built up of on which servers that file is found. Then you could work out something in the frontend to invalidate and filter based on the server values(which would require extra endpoints on the web services to do such things).
I think it'll require a bit of a rejig of things, but doesn't feel like it'd be too much or a re-write.
from opcache-gui.
I think it'll require a bit of a rejig of things, but doesn't feel like it'd be too much or a re-write.
I think drop-down selection of a single server to check would be sufficient
from opcache-gui.
Yeah, that would work, too. I was going for a more integrated approach, I guess, but it's your setup so do what best works for you. 😄
from opcache-gui.
Related Issues (20)
- v3.5.0 hasn't been synchronized to packagist.org HOT 1
- PHP Warning 8.2 HOT 3
- Incorrect directives links to PHP documentation HOT 1
- JIT buffer tab shows even if JIT is disabled HOT 4
- Dark mode HOT 2
- OpCache data in Home Assistant HOT 4
- `interned_strings_buffer` setting doesn't match 'php -i' HOT 2
- Undefined index HOT 1
- Update installation instructions in readme file HOT 4
- Describe the interface of the Overview tab in the README. HOT 1
- PHP 8.0 compatibility issues HOT 3
- Gui shows only info of domain where it is installed HOT 2
- jit expansion HOT 13
- Notice for file_cache_only HOT 3
- Information when a file has been cached or modified in the cache HOT 5
- Add react *.js to the project, instad of load from external - CSP support HOT 4
- Setting `opcache.validate_timestamps=0` causes all files to display "has been invalidated" HOT 6
- https://unpkg.com down
- PHP 8.1 502 Bad Gateway HOT 5
- strict MIME type errors, page does not load on certain sites HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opcache-gui.