Chrome not caching JSON responses Chrome not caching JSON responses google-chrome google-chrome

Chrome not caching JSON responses


Chrome sends Cache-Control:max-age=0 in case if you open a page using address bar or F5.

That's it - if you want to see it working go to that page by a link click.

Related but obsolete answer: https://stackoverflow.com/a/385491/251311