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

slow "time to first byte" on logged in state #682

Open
wants to merge 2 commits into
base: ssr
Choose a base branch
from
Open

slow "time to first byte" on logged in state #682

wants to merge 2 commits into from

Commits on Aug 17, 2016

  1. slow "time to first byte" on logged in state

    When the user is logged in the browser measure for time to first byte is very slow (1.5s). I am testing with a remote mongodb which might contribute to the issue. In that situation also responses for js-files, assets and css all suffer the same initial delay. My debugging brought me to the conclusion that the handleOnAllRoutes has some side effect that is causing this. I do not see a reason why handleOnAllRoutes would need to run on every request and especially for static files / assets?
    Therefore i wrapped the call to handleOnAllRoutes into the picker route when we are anticipating an html rendering to occur.
    AirBorne04 authored Aug 17, 2016
    Configuration menu
    Copy the full SHA
    d465656 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2016

  1. trailing whitespace removed

    travis build failed due to trailing whitespace
    AirBorne04 authored Aug 22, 2016
    Configuration menu
    Copy the full SHA
    910842f View commit details
    Browse the repository at this point in the history