Skip to content
Snippets Groups Projects
  1. Jul 03, 2021
    • Claire's avatar
      Fix anonymous access to outbox not being cached by the reverse proxy (#16458) · 49219508
      Claire authored
      * Fix anonymous access to outbox not being cached by the reverse proxy
      
      Up until now, anonymous access to outbox was marked as public, but with a
      0 duration for caching, which means remote proxies would only serve from cache
      when the server was completely overwhelmed.
      
      Changed that cache duration to one minute, so that repeated anonymous access
      to one account's outbox can be appropriately cached.
      
      Also added `Signature` to the `Vary` header in case a page is requested, so
      that authenticated fetches are never served from cache (which only contains
      public toots).
      
      * Remove Vary: Accept header from webfinger controller
      
      Indeed, we have stopped returning xrd, and only ever return jrd, so the
      Accept request header does not matter anymore.
      
      * Cache negative webfinger hits for 3 minutes
      49219508
  2. Jul 02, 2021
  3. Jun 30, 2021
  4. Jun 27, 2021
  5. Jun 25, 2021
  6. Jun 24, 2021
  7. Jun 23, 2021
  8. Jun 21, 2021
  9. Jun 18, 2021
  10. Jun 15, 2021
    • Claire's avatar
      Fix OCR failure when erroneous lang data is in cache (#16386) · 8428faa0
      Claire authored
      Fixes #15472
      
      If the Tesseract worker fails at any point, re-try with cache settings that
      overwrite the cache. It is difficult to catch more precise errors as those
      are pretty opaque and do not occur when loading lang data but when trying to
      detect text.
      8428faa0
  11. Jun 14, 2021
Loading