Differentiate JSON and resource cache