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

Eager Loading module #37

Open
admwx7 opened this issue Jan 15, 2014 · 1 comment
Open

Eager Loading module #37

admwx7 opened this issue Jan 15, 2014 · 1 comment

Comments

@admwx7
Copy link

admwx7 commented Jan 15, 2014

Need to create a module to implement eager loading on the server. The idea is that when a client makes a request to us we want to fulfill their request all at once, not require them to make repeated requests. So we'll build off of the module to make server requests and when the initial request returns parse out all of the "resources" (CSS files, images and so on) then make those requests and combine them into one response to the client. This should improve load times, reduce number of requests, and reduce the overall amount of data transmitted to/from the client.

@admwx7
Copy link
Author

admwx7 commented Jan 15, 2014

If we can implement SPDY then eager loading wouldn't make sense, instead we could use a cache and over-eager loading instead. When the request is made from the client, respond with just that request then load all of the resources within that request into a short lived cache so when the client makes another request to the server (shortly after) for the resources needed they will be there already and have a higher response time. SPDY would greatly reduce the connection time for all connections after the initial connection (from what I read).

SPDY is being discussed in #38

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

1 participant