- Issue created by @luke.leber
- πΊπΈUnited States bkosborne New Jersey, USA
I'm pretty sure if no version is present then Drupal calculates a hash of the file contents and uses that as the version on cache clear. Are you sure that's not happening? I know it works that way for asset aggregates.
If it works as I think it does, then I'd rather leave it as is. We're likely to forget incrementing that version on future updates.
- πΊπΈUnited States luke.leber Pennsylvania
I think you may be correct in that cache busting will happen automatically if a version is omitted.
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co...
Learn something new every day!