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
HTTP client from linthumbnail #596
Comments
So default (without specifying size query param), the linshare thumbnail server return all 3 sizes? BTW can we try to see the size and quality of the 3 sizes? |
OutputStream is not a reactive type. We should have a type the represent the actual structure. |
Time that it takes to generate the thumbnail? |
Generate thumbnail is a synch request, time depends on the size of the payload, network, and workload of the thumbnail server |
:-( ... Let's make a cache for this then! Key: SHA-256(byte stream of the attachment) Technology to implement the cache: caffeine |
ThumbGenerateResponse => ThumbnailGenerationResponse |
ThumbnailHttpClient => ThumbnailGenerator |
Why
In order to get a thumbnail image from the mail attachment file.
Create an HTTP Client for request to linthumbnail server.
How
The client like
RspamdHttpClient
Bonus
The text was updated successfully, but these errors were encountered: