feat: add TTLCache for get_cache_version and TEMPLATE_AUTO_RELOAD config with Makefile worker count variables

This commit is contained in:
2026-06-14 14:46:36 +00:00
parent c151325916
commit d75d5dc6a8
149 changed files with 9811 additions and 262 deletions
@@ -29,6 +29,7 @@ Set with the `mode` attribute:
| `allowed-types` | (none) | Comma list of permitted extensions, e.g. `.jpg,.png`. |
| `max-size` | `10` | Maximum size per file, in MB. |
| `max-files` | `10` | Maximum number of files. |
| `hide-chips` | off | Suppress the per-file name chips and keep only the `(N)` count badge on the button. |
| `endpoint` | `/uploads/upload` | Upload URL (attachment / direct). |
| `name` | `attachment_uids` | Hidden field name for collected UIDs (attachment mode). |
| `field-name` | `file` | File field name in upload requests / native field mode. |
@@ -45,7 +46,8 @@ Set with the `mode` attribute:
`dp-upload:uploaded` (per file, detail `{file, result}`), `dp-upload:error` (detail
`{file, message}`), `dp-upload:done` (direct mode, after a batch), `dp-upload:change`
(detail `{count}`).
(detail `{count}`), `dp-upload:busy` (detail `{busy}`, fired once when uploads start
and once when all in-flight uploads finish, for driving a host loader/disabled state).
## Usage