jskitty / cee-de-en Goto Github PK
View Code? Open in Web Editor NEWA Rust-powered intelligent CDN with a name as ridiculous as it's serving speed.
License: MIT License
A Rust-powered intelligent CDN with a name as ridiculous as it's serving speed.
License: MIT License
Currently the content-type is hardcoded, which is obviously stupid, we should detect the content type from the file extension and pass it correctly to the response headers.
Simple task, but we need to find a way to map 'extension' to 'content-type', perhaps a crate for this?
The daemon uses hardcoded dummy values, we need to allow total customisation of the daemon... from network interface, to minifier and brotli parameters, the ability to determine which directory to host from, and what 'base route' to serve from, there's plenty of options we should allow.
We need to handle missing files properly (return 404s), ensure full integrity and stability of all the internal transformations (minifier, brotli, ut8<--->byte conversion ops, file parsing, etc), we cannot let any errors go uncaught and especially not let them leak into responses.
If the request itself causes issues, such as missing files, weird request input, then we toss back the expected HTTP code (bad request).
We should follow a philo of "do not do the same computation twice", thus, any time we minify or compress a resource, we should cache this to be able to re-serve it MUCH faster with zero computational overhead or wasting of CPU cycles.
This should be optimised in a way that tries to balance between memory preservation, and maximise "hot" / frequent file requests hitting the cache, infrequent files or noticable traffic drops should prompt a drop from the cache, somewhat like a Garbage Collector.
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.