added basic tastypie caching for pinresources