Versioning in SS4+ for assets

versioning
Tags: #<Tag:0x00007f10cfdbb5c8>

#1

Silverstripe Version: 4.3

We recently upgraded our Common Web Platform to SS4.3. Looks really neat. Noticed that assets now have a version number in the url. Any idea where i can find documentation regarding this and how this versioning works? Had a look here and didn’t find anything talking about this. https://userhelp.silverstripe.org/en/4

Once thing that’s pretty annoying is that if i’m linking to a document on the website from a link on our intranet, once that document is replaced on the website, the link no longer works as the version integers change and breaks the link.


#2

Hi! Sorry for the delay in answering. Your concern has been hotly discussed in a core bug report: https://github.com/silverstripe/silverstripe-versioned/issues/177.

Until that’s resolved, the current behaviour is described for a developer audience in https://docs.silverstripe.org/en/4/developer_guides/files/file_migration/.

In short, this is a bug which we’re trying to fix: Permanent links on websites are important.