now caching data on front end