NoUmlautsAllowed / gocook

Alternative frontend to Chefkoch. This is a repository mirror from Codeberg.
https://codeberg.org/NoUmlautsAllowed/gocook
MIT License
22 stars 0 forks source link

Add proper cache control #17

Closed NoUmlautsAllowed closed 7 months ago

NoUmlautsAllowed commented 7 months ago

Add proper cache control header to set image caching on the client side and reduce network throughput of images.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.39%. Comparing base (d037969) to head (58d4da4).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #17 +/- ## ========================================== + Coverage 94.36% 94.39% +0.02% ========================================== Files 9 9 Lines 213 214 +1 ========================================== + Hits 201 202 +1 Misses 6 6 Partials 6 6 ``` | [Flag](https://app.codecov.io/gh/NoUmlautsAllowed/gocook/pull/17/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/NoUmlautsAllowed/gocook/pull/17/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | `94.39% <100.00%> (+0.02%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.