If your web server can't set those headers, Workbox and Service Worker patterns would be your best bet for client-side caching. Were you also able to review these create-react-app docs?

  1. Proxying API Requests in Development
  2. Deployment

You could also try using a web server like Nginx to proxy create-react-app, remove its headers, and add your own:

location / {

   // hide create-react-app response header
   proxy_hide_header max-age;

  // send your own header to client
  add_header max-age 99999;

Related Query

More Query from same tag