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

Add support for file suffixes #12

Open
dbrgn opened this issue Mar 15, 2017 · 1 comment
Open

Add support for file suffixes #12

dbrgn opened this issue Mar 15, 2017 · 1 comment

Comments

@dbrgn
Copy link

dbrgn commented Mar 15, 2017

To simplify cache busting, it would be great if there were an option to add e.g. a profilesSuffix, analogous to the profilesPrefix option (and the same for memoryInitializerPrefix and libfecPrefix).

In my project I set HTTP caching to 1 year for all static resources and use a ?v=123 parameter that is incremented on each release.

@brian-armstrong
Copy link
Member

@dbrgn

This is a good idea, and I believe it'd be easy enough to do with the profiles. Unfortunately I'm not sure it'll work for the emscripten bits since that tends to be more inflexible.

I've got a big overhaul planned on how all the fetching stuff works since it's presently pretty brittle. I'll see what I can do with suffixes as part of that

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

No branches or pull requests

2 participants