Skip to content

RSS fetcher doesn't fetch conditionally #159

@michaelnordmeyer

Description

@michaelnordmeyer

The RSS fetcher should be doing conditional requests, according to #136 (comment), but apparently it doesn't:

$ ll /var/www/michaelnordmeyer.com/feed.xml*
-rw-r--r-- 1 user group 136066 Apr  5 11:10 /var/www/michaelnordmeyer.com/feed.xml
-rw-r--r-- 1 user group  21350 Apr  5 11:10 /var/www/michaelnordmeyer.com/feed.xml.gz
$ grep marginalia michaelnordmeyer.com.log 
[04/Apr/2025:15:57:10.133 +0000] 200 193.183.0.165 "GET /feed.xml HTTP/2.0" "-" "search.marginalia.nu" gzip/21225
[05/Apr/2025:18:32:57.705 +0000] 200 193.183.0.165 "GET /feed.xml HTTP/2.0" "-" "search.marginalia.nu" gzip/21350
[06/Apr/2025:21:08:11.011 +0000] 200 193.183.0.165 "GET /feed.xml HTTP/2.0" "-" "search.marginalia.nu" gzip/21350

The last request at 06/Apr/2025:21:08:11.011 should have been conditional and should have resulted in a 304. The server's timezone is set to UTC.

I run nginx mainline:

$ nginx -v
nginx version: nginx/1.27.5
  • Files are pre-gzipped and used by nginx with gzip_static on.
  • Only default ETags are being used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions