Add basic caching on $resource requests

Save a few bytes while we're at it :)