Use URI as key instead of converting to Strings
max-age is in seconds!
Fix negative max-age