File is easily cached e.g. if using Cloudflare, making filename unique per PDF generation

Created on 7 May 2025, 12 days ago

Problem/Motivation

Services like Cloudflare (free version) may having caching enabled based on file name. Regenerating PDF therefore can result in no visible change on refresh

Steps to reproduce

Cloudflare enable for PDFs, change node text, regenerate PDF, change not seen

Proposed resolution

  1. Allow control over filename pattern via token system
  2. Set default filename to have timestamp of generation in it
  3. Update hook to retain the status quo for existing sites to make this an opt-in feature

Remaining tasks

MR

User interface changes

New option to control filename

API changes

N/A

Data model changes

N/A

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024