Skip to content
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

fix: remove hashes from build outputs and simplify build #393

Closed
wants to merge 1 commit into from

Conversation

2color
Copy link
Member

@2color 2color commented Oct 22, 2024

This PR attempts to simplify the build by removing hashes from filenames of build outputs.

How important is it to have the hashes in the script outputs?

Since we have the cache headers set to Cache-control: public, max-age=0, must-revalidate set from, we might want to consider removing the additional logic (which seems a bit flaky) for removing the hash for the service worker, and injecting the scripts into the index.html.

However, since we also cache assets in the service worker, this makes things more complicated, because we have no expiry mechanism for sw assets in the service worker.

@2color 2color requested a review from SgtPooki October 22, 2024 09:49
@2color 2color closed this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant