Skip to content
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

RELIC: Enhance Support for Serving Static Files #8

Open
klkucaj opened this issue Dec 9, 2024 · 0 comments
Open

RELIC: Enhance Support for Serving Static Files #8

klkucaj opened this issue Dec 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@klkucaj
Copy link
Collaborator

klkucaj commented Dec 9, 2024

Is your feature request related to a problem? Please describe.
The current support for serving static files is limited or lacks flexibility in handling various use cases, such as caching, content negotiation, or serving files from custom directories. Enhancing this functionality can improve performance and make the framework more versatile.

Describe the solution you'd like
Enhance static file support by:

  • Adding better caching mechanisms (e.g., ETag, Last-Modified, Cache-Control headers).
  • Allowing configuration for serving files from custom directories.
  • Supporting partial content responses (e.g., Range requests) for large files.
  • Improving MIME type handling for different file extensions.

Describe alternatives you've considered

  • Using an external file server to handle static files. While feasible, this introduces additional complexity and dependencies for applications that need to serve static assets.

Additional context
Enhanced static file support will align the framework with modern web application needs and simplify serving common assets like images, scripts, and styles.

@klkucaj klkucaj added the enhancement New feature or request label Dec 9, 2024
@SandPod SandPod transferred this issue from serverpod/serverpod Dec 16, 2024
@SandPod SandPod moved this to Next 🌟 in Relic Roadmap Dec 18, 2024
@SandPod SandPod moved this from Next 🌟 to Later 🥳 in Relic Roadmap Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Later 🥳
Development

No branches or pull requests

1 participant