JDG Caching

Adding the new jdg cache.
Using the jdg cache unless we're building for development.