Dashboard Speedup

You may have noticed your first visit to the dashboard each day taking a bit longer than expected.

The dashboard has goal calculations, which involve retrieving the year's lessons from the database, and calculating them.  This is a slow process, so the calculation results are cached.  However, this calculation expires each day at midnight.

So when you first visit Scholaric, the goals for all of your students had to be recalculated.  I've now added a cache primer that runs each night so that your first-visit experience should be a faster one.

Check it out, and let me know if you think it is faster.

Happy Planning