Add configurable asset cache lifetime per proxy host - #5815
Open
RentnerKev wants to merge 1 commit into
Open
Conversation
This was referenced Aug 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Issue #5448 requests configurable asset cache lifetimes without manual Advanced configuration directives.
This is the asset-caching portion of #5803, split out following the maintainer's request. It targets
developindependently and does not include gzip or HTTP/3 controls. It addresses the caching part of #5448; the gzip part is submitted separately in #5816. The HTTP/3 portion is in #5817.What Changed
asset_cache_ttl, with a database default of 1800 seconds and validation from 1 to 31536000 seconds.assets.confinclude available.Existing API clients can omit the new field. There are no removed or renamed fields, and no HTTP/3 listener, port, or gzip changes.
Validation
The Windows frontend test run used
NODE_OPTIONS=--no-experimental-webstoragewith Node 26. The runtime checks used the project'snginxproxymanager/nginx-full:certbot-nodeimage with Node 22.A temporary combined checkout of all three split changes also passed 13 backend tests, 13 frontend tests, the frontend build, all 22 migrations, and the Nginx runtime checks after resolving the shared insertion points.
Type of Change
AI Usage