Skip to content

Broken caching behavior #2079

@flisk

Description

@flisk

I'm seeing a lot of requests for my blog feed from a NextCloud-News/1.0 user agent that isn't caching responses properly, because it's sending an If-Modified-Since header of Wed, 01 Jan 1800 00:00:00 GMT with no If-None-Match header for ETag matching.

Needless to say I'm not particularly happy that these clients are fetching full copies of my feed each time for seemingly no reason, and I'm also not very happy that this user agent reports itself as being "version 1.0" when that string has been hardcoded as the client's user agent since forever and doesn't reflect the actual software version whatsoever.

Pure speculation, but this broken caching behavior might be why people are blocking your user agent (#2049). I've myself redirected requests with that 1800's If-Modified-Since header to an alternate feed telling users to please fix their clients.

For reference, I don't seem to be the first or only person upset about this: https://utcc.utoronto.ca/~cks/space/blog/web/VeryOldIfModifiedSince

So, would you folks mind fixing your client, and maybe making your user agent header a little more informative while you're at it? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions