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

Translating JS-Files once #1494

Merged
merged 3 commits into from Apr 20, 2021

Conversation

matmair
Copy link
Member

@matmair matmair commented Apr 20, 2021

Initial implementation as in #1485

Already speeds up InvenTree quite a lot + reduces load on gunicorn / wsgi.
Combined with caching-policies and manifest-storage I measure about 50% faster loading times on single-api-call views (part, stock, etc).

@SchrodingersGat
Copy link
Member

Fantastic, this looks like a really clean implementation!

InvenTree/InvenTree/management/commands/prerender.py Outdated Show resolved Hide resolved
InvenTree/InvenTree/management/commands/prerender.py Outdated Show resolved Hide resolved
InvenTree/InvenTree/management/commands/prerender.py Outdated Show resolved Hide resolved
InvenTree/InvenTree/settings.py Outdated Show resolved Hide resolved
@SchrodingersGat
Copy link
Member

A couple of minor notes, but it seems to run very well. No (major) issues getting it running on my system.

SchrodingersGat added a commit to inventree/inventree-docs that referenced this pull request Apr 20, 2021
@SchrodingersGat SchrodingersGat merged commit 4903826 into inventree:master Apr 20, 2021
@SchrodingersGat
Copy link
Member

Awesome work :)

@matmair matmair deleted the feature/js_translation branch April 21, 2021 08:50
@matmair matmair restored the feature/js_translation branch April 21, 2021 08:50
@matmair matmair deleted the feature/js_translation branch April 21, 2021 08:50
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.

None yet

2 participants