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

JS modules #447

Merged
merged 3 commits into from
Mar 17, 2024
Merged

JS modules #447

merged 3 commits into from
Mar 17, 2024

Conversation

sergystepanov
Copy link
Collaborator

No description provided.

Static files will be rechecked every 3 days instead of unlimited cache time. The Cache-Control header is mandatory in order to make browsers handle cache properly with Go's FileServer. The option can be modified in the server.CacheControl line of the config file.
These modules should be supported by all contemporary browsers, and this transition should resolve most issues related to the explicit import order of the .js files.
@sergystepanov sergystepanov merged commit 8654604 into master Mar 17, 2024
4 checks passed
@sergystepanov sergystepanov deleted the js-modules branch March 17, 2024 19:09
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