-
Notifications
You must be signed in to change notification settings - Fork 409
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
Cache date ranges in localStorage rather than recalculating #48
Comments
Can you please provide a fiddle or plunker that demonstrates the problem? |
yep i will do it |
Here: I think we can do something with localStorage to deal with it. |
Thanks for plunk - I'm seeing bootstraping: 604.701ms - is that what you are seeing? Is that much worse than you expect? I'm afraid I don't understand how localStorage will help with the load time, can you clarify? |
It's pretty slow when entire angularJS app is bootstrap in like 100ms. I think localStorage can help to increase date generation. Instead of loop every time to generate the same date range, do it one time and get result from localStorage. |
Interesting idea - are you willing to submit a PR to use local storage? I would welcome the help! |
I'm sorry, I'm pretty slammed lately and have not gotten to this - Closing since there is no PR since June - please feel free to submit a PR if you need this. |
Hey,
I've an issue with performance on my app due to
ui.bootstrap.datetimepicker
. I've a page with 6 datetimepicker and angular take 3 sec to boot.Without it it take 500ms.
The text was updated successfully, but these errors were encountered: