Skip to content

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

@ratzr15

Description

@ratzr15

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions