Cache completed for json page

Added a static cache and completed database cache work