getkirby / ideas

This is the backlog of ideas and feature requests from the last two years. Use our new feedback platform to post your new ideas or vote on existing ideas.
https://feedback.getkirby.com
20 stars 0 forks source link

Cache: Support for If-Modified-Since or If-None-Match #542

Open lukasbestle opened 4 years ago

lukasbestle commented 4 years ago

If Kirby's cache is used, Kirby can determine if the cache was updated since the client has last requested a resource by comparing the cache timestamp with the If-Modified-Since request header. We could also support ETag and the If-None-Match header, but I guess that's optional.

In both cases, Kirby would respond with an empty HTTP 304 Not modified response.