klein / klein.php

A fast & flexible router
MIT License
2.66k stars 290 forks source link

Disable json response nocache by default #318

Open Aldie opened 8 years ago

Aldie commented 8 years ago

Is it possible to have JSON responses not have the nocache headers sent by default? I would like to have some of our JSON API responses be stored by NGINX proxy cache.