server
server copied to clipboard
fix: Shipped apps should include the Nextcloud version in the cache buster
- Resolves: https://github.com/nextcloud/server/issues/46976
Summary
- The hash should also include the Nextcloud version if the app is shipped as every new Nextcloud update = new app version
- Cache the hash to prevent re-generation if the path is the same (e.g. the same app uses a lot of scripts / styles).
Checklist
- Code is properly formatted
- Sign-off message is added to all commits
- [x] Tests (unit, integration, api and/or acceptance) are included
- [x] Screenshots before/after for front-end changes
- [x] Documentation (manuals or wiki) has been updated or is not required
- [ ] Backports requested where applicable (ex: critical bugfixes)