Hasty Briefsbeta

SQLite-HTTP-cache: SQLite Extension to cache HTTP requests

7 days ago
  • #Caching
  • #HTTP Proxy
  • #SQLite
  • Repository contains tools for integrating with the httpcache SQLite Extension.
  • sqlite-http-proxy is an HTTP proxy cache storing data in multiple SQLite databases for faster responses, implementing RFC9111 (excluding Vary header).
  • Installation options include downloading from releases or installing via 'go install'.
  • Execution command includes specifying port, response table, and database files.
  • Testing involves using curl with the proxy to fetch data, noting faster subsequent requests.
  • HTTPS proxying requires CA Certificate and key.
  • Use '--help' for more command line options.
  • SQLite lacks built-in scheduling; external mechanisms like Cron Jobs are suggested for timed inserts.
  • Example shows inserting into a temp table based on Time to Live (TTL).