Skip to content

etag caching not working as expected  #9

@ThomasGrunewald

Description

@ThomasGrunewald

I have detected a issue with the cache behavior. From the server in the image response header I get following cache related fields:

Cache-Control: public, max-age=30
Etag: 0x8D3968523DB2C1F
Last-Modified: Fri, 17 Jun 2016 07:58:16 GMT

If I scrolling the tableView up and down the images getting cached or newly requested with the
request header fields:

If-Modified-Since: Mon, 30 May 2016 10:28:33 GMT
If-None-Match :0x8D3968523DB2C1F

In that case the response status code is 304 and the images are loaded from the cache.
So fare so good. But when the scrolling frequency is getting higher the images are sometimes loaded again and again without the If-Modified-Since and If-None-Match header fields set.

I using the standard cache configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions