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

Longer browser caching of ET interface. #46

Open
wrdixon opened this issue Mar 5, 2013 · 4 comments
Open

Longer browser caching of ET interface. #46

wrdixon opened this issue Mar 5, 2013 · 4 comments
Assignees

Comments

@wrdixon
Copy link
Contributor

wrdixon commented Mar 5, 2013

When remotely logging into ET, it's a ~360k to get. That's a LOT of data to push on a slow, congested connection, making the first connection very slow.

We should change this to have a very long cache timeout to keep the loading quick when someone remotely connects.

@ghost ghost assigned nausica Mar 5, 2013
@fougner
Copy link
Contributor

fougner commented Mar 5, 2013

Partly related, maybe use Google's CDN for jquery at least?

https://developers.google.com/speed/libraries/devguide#jquery

@djfurie
Copy link
Member

djfurie commented Mar 5, 2013

I think that would help people remoting in from the WAN side of things, but we'd want to serve things up from the router itself if they are connecting from the LAN side. It may be possible to determine and then we'd have a server side function like <% include_jquery_path() %> to insert the appropriate path.

@wrdixon
Copy link
Contributor Author

wrdixon commented Mar 5, 2013

I agree with djfurie. Also we rolled our own to make it smaller. Seems like just putting a few week cache on would do just fine.

It just kills you to wait 30+seconds on first load, every time...

@djfurie
Copy link
Member

djfurie commented Mar 7, 2013

This is mainly a note to myself....
I think we can do the hybrid approach and host it from google as fougner suggested. There is a function:
int get_client_info(char *mac, char *ifname)
that should return the interface that the client is logged in through.

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

4 participants