Skip to content

1.14.0 Rework caching

Choose a tag to compare

@lahmatiy lahmatiy released this 20 Oct 17:15
· 307 commits to master since this release
  • Reworked cache subsystem
    • Added cache command
    • Added /cachez server route with details about cache
    • Added ETag header in server when cache is using (response with 304 when data is not changed)
    • Replaced --cache option with --no-cache and --cachedir
    • Changed --cachedir (former --cache option) default to .discoveryjs-cache
    • Improved background data cache updating
    • Fixed issues with corrupted data responding due to read from a cache that's not fully written or uncomplete because of
    • Introduced cache dispatcher that encapsulates cache related logic
    • Removed cache logic and options from data command
  • Added default favicon.ico to server
  • Added support for darkmode option in config (for index and model)
  • Fixed building to avoid "Download" and "Reload without cache" buttons in built result
  • Fixed streaming data to client (not through cache) when data contains async values