-
-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explore Jetty-free implementation of resource handler #2157
Comments
Hi @dzikoysk What would it take for a simple implementation here? Like a |
Hey, I remember @zugazagoitia did some work on exploring this topic, so maybe he could add some extra feedback on what we actually need to cover that. I personally didn't touch this part of Javalin that much, because I don't really use this feature on my own. |
There are two main issues expanding on the ones @dzikoysk mentioned in the OP:
You are completely right about this, it is more complicated than it should. If you have the time and will please give it a shot and see how far you get! I currently don't have the time to keep working on it unfortunately. A minimal implementation should just implement the Optimally we would in future versions implement smarter caching, but not a big issue now either. If you want to explore this further we're available also in Discord. |
Context
Currently, our static files api directly depends on Jetty's resource handler. It's a bit painful, because this implementation is relatively complex itself (because it works directly on Jetty's API) and it's one of the main blockers before exploring the possibility to use other http servers.
Requirements
The new implementation should:
The text was updated successfully, but these errors were encountered: