-
Notifications
You must be signed in to change notification settings - Fork 22
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
Create CRON to purge S3 buckets based on commit hash #1065
Comments
We have dicussed about using service-worker, offline-plugin API to check if the assets have been changed to do a refetched-navigation and agreed to try this method: https://zach.codes/handling-client-side-app-updates-with-service-workers/ The service worker implemented by the lib “offline-plugin” (we are currently using it) allows us to detect when the new code is out by checking the status of the manifest file automatically every X time, or checking it manually, then we can use that info to do a re-fetched navigation when the user changes their route |
* [CLD-161] import back Pagination from elements (#93) * Initial Commit * Initial Commit * feat: #1031 DB schema for web component config * fix: #1065 fix loading chunk fail (#1092) * feat: #1031 fix failing tests * feat: #1031 update config.example.json * fix: #1031 add daysOfWeek as a schema field * fix: #1031 resolve conflict * fix: #1031 update comment * fix: #1031 rebasing into master Co-authored-by: Thanh Pham <[email protected]> Co-authored-by: Nghia Pham <[email protected]> Co-authored-by: NghiaPham <[email protected]>
Also;
|
Background context or User story:
We get occasional chunk missing errors in dev when we deploy because currently we replace the content of a bucket with the new deployment. If a user has a session, the script will be missing when they navigate. eg of this behaviour https://sentry.io/organizations/reapit-ltd/issues/1623235951/?project=1885603&referrer=slack
Specification or Acceptance Criteria:
The text was updated successfully, but these errors were encountered: