As a user who has configured a CDN or uses a caching proxy, I want more control over the cache headers.
For this purpose, we add the following two new config options:
| Environment |
CLI Flag |
Default |
Description |
| PHOTOPRISM_HTTP_CACHE_MAXAGE |
--http-cache-maxage |
2592000 |
time in SECONDS until cached content expires |
| PHOTOPRISM_HTTP_CACHE_PUBLIC |
--http-cache-public |
|
allow static content to be cached by a CDN or caching proxy |
As a user who has configured a CDN or uses a caching proxy, I want more control over the cache headers.
For this purpose, we add the following two new config options:
SECONDSuntil cached content expires