Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Append hash to bust cache on all static resources #10411

Merged
merged 5 commits into from
Jun 20, 2024

Conversation

HexaField
Copy link
Member

Summary

Subtasks Checklist

Breaking Changes

References

closes #insert number here

QA Steps

Copy link
Member

@barankyle barankyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some bugs around saving scenes. If you change a scene and then save it, the hash is getting saved onto the scene key in the DB, which we don't want. If you change the scene and save it again, things get weirder, with the scene now having a key of e.g. projects/default-project/public/scenes/defaulthash91b94e.gltf?hash=5129ca and a new GLTF file, of type 'file', with a key like projects/default-project/public/scenes/defaulthash91b94e.gltf. Hopefully fixing the former prevents the latter from happening.

@HexaField HexaField requested a review from barankyle June 20, 2024 11:38
@HexaField HexaField merged commit be3ac39 into dev Jun 20, 2024
28 checks passed
@HexaField HexaField deleted the append-hash-to-bust-cache-on-all-static-resources branch June 20, 2024 22:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants