support more possible values of Cache-Control header
fast maxAge value checking
Merge pull request #1308 from nremond/cache_control

Caching mechanism should take into account the Cache-Control header