Only cache or return a cached file for GET requests