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

"require server load" config var #3

Open
donundeen opened this issue Dec 15, 2014 · 0 comments
Open

"require server load" config var #3

donundeen opened this issue Dec 15, 2014 · 0 comments

Comments

@donundeen
Copy link
Member

sometimes a widget basically requires running on the server to execute some part of itself. And sometimes that requires a bunch of other dependancy widgets to run. plus the overhead of loading up the entity itself. So if several nodes are doing this, we don't want to run all that code more than once.

So the entity should ask all the widgets, when it runs client-side, "Do you need a server-side load too?" If any of them say yes, it will run the entity server-side, just once.

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