magomogo / barberry Goto Github PK
View Code? Open in Web Editor NEWService for stroring and converting binary content with caching capabilities
Service for stroring and converting binary content with caching capabilities
Let's assume we want to load some image from barberry with no cache on client side.
That can be done easily with GET /SomeHash_100x100?{randomNumber}
for example GET /SomeHash_100x100?1528962263
But for now we will cache image everytime with all different randomNumber
we will pass.
That can lead to increase of used space for cache.
My suggestion is no to take into view GET parameters at all when you're creating cache file, since we do not handle any GET parameters anyhow, and we for sure will return same result no matter what GET parameters you will pass.
There is many conversions can be implemented: greyscale, setting of background color, etc.
It should declare how to initialaze an installer.
Now arguments are passed to the constructor which isn't obvious.
Should be barberry-plugin-imagemagic k
HTTP PUT verb support would be great to update resources. Now I have to DELETE and then POST again, then I receive new file ID so I should update my database too. So I have three operations instead of one tiny PUT.
It should declare how to initialize a converter.
Now necessary arguments are passed to the constructor, that is not obvious.
It should declare how to initialaze a monitor.
Now arguments are passed to the constructor which isn't obvious.
It should be an Exception of certain type.
A plugin should have a way to report that conversion isn't possible. It should lead to 404-not found at aplication-level
If file not exists in public cache then Range headers, HEAD request, etc are not supported.
Please use some smarter HTTP logic for file download and/or X-Accel-Redirect/X-Sendfile headers with corresponding extension for Nginx/Apache
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.