Modify return type of getCacheControlMaxAge to long