Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We use HEAD requests with header If-Modified-Since to identify if an object has been updated. #3

Open
ratzr15 opened this issue Apr 30, 2018 · 0 comments

Comments

@ratzr15
Copy link

ratzr15 commented Apr 30, 2018

@markst This is to extend support for the OPEN ticket at https://github.com/wvteijlingen/Spine

Is it possible to get the Last-Modified from the response in Spine?

Ideally, to perform client-side caching we would require the Header pieces of information.

Access-Control-Allow-Origin →http://localhost:3000
Cache-Control →private, must-revalidate
Connection →Keep-Alive
Content-Type →application/vnd.api+json
Date →Mon, 30 Apr 2018 11:31:21 GMT
ETag →"bea9503sasas6e14a17bf4192d6ea4312e47e"
Keep-Alive →timeout=5, max=100
Last-Modified →Mon, 30 Apr 2018 06:34:39 GMT
Server →Apache/2.4.18 (Ubuntu)
Transfer-Encoding →chunked
laravel-responsecache →cached on 2018-04-30 10:34:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant