miniflux/internal/reader
Scott Leggett bf1c851093 fetcher: use ETag as a stronger validator than Last-Modified
As per the MDN article on HTTP caching:

  During cache revalidation, if both If-Modified-Since and If-None-Match
  are present, then If-None-Match takes precedence for the validator.

  https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching

Previously Miniflux would consider a resource unmodified if the
Last-Modified header had not changed, even if the ETag had changed.

With this commit, Miniflux will consider a resource modified if the ETag
header has changed, even if Last-Modified has not.

This fixes Bug 1 in https://rachelbythebay.com/w/2024/06/11/fsr/
2024-07-02 22:05:49 -07:00
..
atom Ensure enclosure URLs are always absolute 2024-03-19 21:57:46 -07:00
date Small refactoring of internal/reader/date/parser.go 2024-02-26 18:08:04 -08:00
dublincore Refactor RDF parser to use an adapter 2024-03-12 20:54:05 -07:00
encoding Inline a one-liner function 2024-03-20 17:21:30 -07:00
fetcher fetcher: use ETag as a stronger validator than Last-Modified 2024-07-02 22:05:49 -07:00
googleplay Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
handler Fix force refresh 2024-03-15 19:42:09 -07:00
icon Inline a one-liner function 2024-03-20 17:21:30 -07:00
itunes Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
json Ensure enclosure URLs are always absolute 2024-03-19 21:57:46 -07:00
media Minor simplification of internal/reader/media/media.go 2024-03-18 16:09:32 -07:00
opml Add description field to feed settings 2024-05-06 15:40:36 -07:00
parser Refactor Atom parser to use an adapter 2024-03-15 17:27:16 -07:00
processor Add global block and keep filters 2024-07-02 21:03:49 -07:00
rdf Remove trailing space in SiteURL and FeedURL 2024-03-18 17:51:06 -07:00
readability Enable go-critic linter and fix various issues detected 2024-03-17 13:52:34 -07:00
readingtime reader/readingtime: fix incorrect package name 2024-05-21 18:12:24 -07:00
rewrite Update theverge.com rewrite rule: fix duplicate image 2024-06-10 21:08:59 -07:00
rss reader/rss: don't add empty tags to RSS items 2024-03-24 19:46:56 -07:00
sanitizer sanitizer: add support for HTML hidden attribute 2024-06-21 14:00:40 -07:00
scraper Add pitchfork.com scraping rule 2024-06-10 21:08:59 -07:00
subscription Improve YouTube page feed detection 2024-06-13 20:18:47 -07:00
xml Enable go-critic linter and fix various issues detected 2024-03-17 13:52:34 -07:00