linslin / laravel-coffee-cache Goto Github PK
View Code? Open in Web Editor NEW☕ File based lever out cache for laravel. This cache hook in before composer autoload and Laravel boostrapping. It will push your application into light speed.
☕ File based lever out cache for laravel. This cache hook in before composer autoload and Laravel boostrapping. It will push your application into light speed.
The current implementation will drop all files into the cache directory, leading to a massive amount of files in one directory. Depending on the underlying filesystem, this will stop working at a certain point.
In any case this adds overhead, as the directory must be scanned with all entries.
Solution: add a subdirectory structure with 2-3 levels, and use the first characters of the filename for the subdirectory.
Example: http://www.squid-cache.org/Versions/v3/3.5/cfgman/cache_dir.html
The root directory ("/") is hardcoded into spaceLeftOnDevice(). This might check the wrong path for free space, as the cache directory might be a mounted RAM disk, or a device mounted from a SAN.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.