labrinth icon indicating copy to clipboard operation
labrinth copied to clipboard

Support Conditional Requests

Open TheAlan404 opened this issue 7 months ago • 0 comments

Is your suggested enhancement related to a problem? Please describe.

GitHub API has a feature called Conditional Requests which allows clients to cache the ETag of requests to ask if the content has changed yet.

Describe the solution you'd like

Probably using the actix_middleware_etag crate this can be implemented into Labrinth.

Implementing conditional requests, if clients implement properly, should use less bandwidth and a small amount of less response times, im guessing

Describe alternatives you've considered

None

Additional context

No response

TheAlan404 avatar Jan 20 '24 04:01 TheAlan404