Comments (4)
Agree.
from yii-debug.
Given the type of data is likely to be ephemeral, how about using a cache for this?
If the data is not available it 's usually not a big issue; assuming you don't store debug data for long periods of time anyway.
Cache has widely supported implementations anyway.
from yii-debug.
While cache could be used, I think an interface for debug data should be added so more sophisticated implementations could be added later.
from yii-debug.
Makes sense, initial implementation could then be an adapter for a cache:
class CacheStorage implements DebugStorage {
public function __construct(CacheInterface $cache) {
...
}
public function store(...) {
$this->cache->set($key, $value);
}
}
from yii-debug.
Related Issues (20)
- Add support `yiisoft/view` version `^5.0`
- Remove yiisoft/cache dependecy HOT 2
- Actualize docs
- Add support `yiisoft/view` version `^6.0`
- Callback in `MiddlewareCollector` can be Closure, but supports array only
- Remove dependency on yii-filesystem
- The "_complete" command gets into the debugger HOT 2
- Sniff all cURL requests
- CLI debug commands HOT 6
- Increase psalm level to 1
- update links
- Timeline collector
- update irc link
- Export/Import results HOT 1
- [RFC] Debugger design draft HOT 11
- Don't collect requests related to yii-debug-api
- Debug always logs the same amount of memory used HOT 2
- Trim git history
- Debugger crashes if console command can not be initialized
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 yii-debug.