Closed allthesignals closed 7 years ago
Response headers are currently as followS, no Cache-Control
set. Going to try to solve with by adding to static.json (https://github.com/mars/create-react-app-buildpack/issues/52).
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 25 Jul 2017 18:45:36 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Last-Modified: Tue, 25 Jul 2017 13:10:30 GMT
Vary: Accept-Encoding
ETag: W/"59774346-c08"
Content-Encoding: gzip
Pushed an experimental branch to staging, Now seeing Cache-Control in the response headers:
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 25 Jul 2017 18:48:44 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Last-Modified: Tue, 25 Jul 2017 18:47:03 GMT
Vary: Accept-Encoding
Cache-Control: no-store, no-cache
ETag: W/"59779227-c08"
Content-Encoding: gzip
Updates to assets requires a hard refresh. Need to check server configuration and the way it sets expiration dates