Small refactor of ApplicationController
Add conditional get for resources and fragment caching for same