Closed shepmaster closed 2 years ago
did you consider actix ? only feature actix is missing - "url rewriting"
@fafhrd91 I have not really considered it. Speaking plainly, your incessant advertising of actix in almost every place I read about Rust (Gitter, Reddit, Hacker News, etc.) makes me less inclined to try it. I, so far, have no technical opinions about it and haven't ruled it in or out.
fair point. in that case Gotham is better choice I guess.
To be determined...
To be determined...
To be determined...
To be determined...
To be determined...
To be determined...
I've merged in an implementation using Axum. As of a few hours ago, I've enabled the Axum feature flag on play.rust-lang.org
. Assuming nothing drastic happens that cannot be fixed, I'll eventually move completely over.
Closed in #799
Iron is no longer actively maintained. Now is when we can see if our architecture separation pays off or not...
How can I help?
In order of difficulty from easy to hard...
What are you looking at?
Requirements
Caching
The playground serves up
index.html
and a few other similar files that never change name. These should ideally use something like ETags with a short-ish expiry. We currently use a 1 hour expiry, but not ETags.The assets are all in a path called /assets. These all have a digest hash appended to them, so they can be cached "forever". In practice, this is 1 year.
There's a few other pieces of information that could use caching (e.g. the playground crates, channel versions) but these are all generated data and so we could pre-compute an ETags identifier to check against.
Access statistics