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

Take advantage of whatever minification that Brian Grant implemented in Emergency Response #131

Open
MikeTheCanuck opened this issue Apr 18, 2017 · 2 comments

Comments

@MikeTheCanuck
Copy link
Collaborator

MikeTheCanuck commented Apr 18, 2017

He ended up doing this to mitigate the effect of pushing all the static files through Django in a non-Debug deployment. It sounded like it was worth the effort.

@hassanshamim
Copy link
Collaborator

We don't have any custom static files in our backend app. What we do have is from DRF or Swagger and the big ones seem to be minified already. Some aren't (particularly the custom css), but seeing as how this only affects devs using the API and not the end users I'd give this a pretty low priority.

@MikeTheCanuck
Copy link
Collaborator Author

Would it make sense to do this to reduce either the number or the overall data load of all the files that come with Swagger?

I imagine that plain-Jane RESTful requests won't improve as a result of this effort, but would it make a foreseeable dent in the overall load or performance of the API container, if we expect any significant load of Swagger UI exploration?

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