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

Unused payload removal #40

Open
pi0 opened this issue Feb 4, 2021 · 0 comments
Open

Unused payload removal #40

pi0 opened this issue Feb 4, 2021 · 0 comments

Comments

@pi0
Copy link
Member

pi0 commented Feb 4, 2021

One of pain parts with SSR applications when depending on external REST APIs, is that we fetch and hydrate payload data. For instance by checking landing page's html source, we have ~34250 minified chars of json data which is barely used in page this causes network latency, js parsing overhead (CPU) and memory usage.

Action points:

  • Use a serverMiddleware as BFF layer to reduce payload for landing page
  • Investigate actual perf improvements
  • Investigate possibility of creating a nuxt tool to analyze this for users about how much of hydrated data is accessed (via a proxy maybe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants