a complex operation • Doing math for a running average, only need a new result every 15 minutes? • Determining the range of dates a business is open? • Determining the edges of a spatial data set? CC BY-NC 4.0 Justin Yost 4
small, staticy subsets of data • Multi-threaded (beefier servers can add more scale) • Typically better at reads over writes. CC BY-NC 4.0 Justin Yost 11
value for x seconds Cache::forever('key', 'value'); // put at key, value forever Cache::forget('key'); // remove value at key Cache::has('key'); // does a value at key exist Cache::get('key', 'default'); // get the value at key, with a default option CC BY-NC 4.0 Justin Yost 13