-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add notes about assets' version #688
Comments
Thanks for the very thorough description - this has indeed been missing for two long. We'll also need to document the related packages and base URL options. The reference section as a whole is probably next for me. Thanks! |
This is great Ryan :) Just one thing, the default |
I've debated this myself. I think what I have is technically wrong, but very practically right. I'm inclined to stick with showing them the "practical" default, until/unless someone can give me a really good argument on why not to. Thanks! |
At the moment, there is absolutely no information about these options in the doc:
framework.templating.assets_version
framework.templating.assets_version_format
(which defaults to%s?%s
inSymfony\Component\Templating\Asset\Package
so that URLs look likemy_asset.xyz?version
)Notes about those options should be added at least in these places:
These notes should explain what those options are for (basically versionning assets in a project for cache busting) and could link to something like this.
It should also be reminded (clear warning) to bump the assets version in the config file each time we deploy a new version of the assets in production.
The text was updated successfully, but these errors were encountered: