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

results.json file is very large #11

Open
colinsenner opened this issue Dec 8, 2021 · 1 comment
Open

results.json file is very large #11

colinsenner opened this issue Dec 8, 2021 · 1 comment

Comments

@colinsenner
Copy link
Owner

I'd like to at least compress the results.json file before sending it to the front-end, but I couldn't figure out how to do it. I think it can be done with netlify's headers automatically, but I'm open to any other suggestions.

@kitallen23
Copy link
Collaborator

Hmmm. I'm no expert on this. I reckon compression would work really well and make it tiny, because all the keys of the JSON are the same for e.g. unique_weapons, and most weapons have a tc_group that starts with weap etc.

Problem is I have no idea how we would compress it.

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