Graylog2 / Graylog2/graylog2-server

Enable HTTP client cache directory

Open
#4,257 0 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

Various subsytems load data asynchronously via HTTP.
These requests are currently not cached by the clients in Graylog, leading to some of the users implement half-baked conditional requests and caches, complicating the implementations.

okhttp already supports a [comprehensive on-disk LRU cache](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java) that is bounded in size.
Add configuration options (preferably changable on the fly), metrics and management capabilities to Graylog to improve the HTTP client subsystem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.