At Greenhouse, we’re currently working on a reports dashboard. Typically, based on how many widgets you have on your dashboard, there are a number of queries that need to run, and based on the amount of data you have, these queries may take a while to complete. Given this performance problem, we decided that we wanted to have our queries run only once and that anytime you come back to the dashboard page, we’ll read from the cache instead of re-fetching the data. Note that this primarily works in a single-page app context since the data is only cached on…

David Han

Software Engineer @ Greenhouse Software

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store