{"push_id":1110600668,"size":1,"distinct_size":1,"ref":"refs/heads/fix/tidy-up-cache-directives","head":"84853bf735be9f27cec00a2c5fd8a707dfb50e83","before":"71c8f37e1271e7b8b77bcbc9d1b43c8d71abe1b9","commits":[{"sha":"84853bf735be9f27cec00a2c5fd8a707dfb50e83","author":{"email":"77666125932addc6fc525b281b518fd8fd2203d8@dp.la","name":"Mark Breedlove"},"message":"Pay attention to _dpla_no_cache header for frontend\n\nThe proxy_cache_bypass and proxy_no_cache directives to respect this\ncookie were removed in an earlier commit.  The cookie should be\nrecognized because it only applies to admin requests.\n\nThe proxy_ignore_headers has been returned to the location / block,\nbut only with Cache-Control.  We're not caching anything with\nSet-Cookie, per the default NGINX behavior.\n\nFor caching to be optimal, the frontend app needs to be modified to set\nthe _dpla_no_cache header only when necessary, not with every single\nrequest. It should only be set when an admin logs in or out.\n\nThe /saved and /users locations already have caching disabled for\nregular users who are logged in.","distinct":true,"url":"https://api.github.com/repos/dpla/automation/commits/84853bf735be9f27cec00a2c5fd8a707dfb50e83"}]}