hishel

An elegant HTTP Cache implementation for HTTPX and HTTP Core.

BSD-3-CLAUSE License

Downloads
1.8M
Stars
167
hishel - Version 0.0.30 Latest Release

Published by karpetrosyan 4 months ago

Changelog

0.0.30 (12th July, 2024)

  • Fix cache update on revalidation response with content (rfc9111 section 4.3.3) (#239)
  • Fix request extensions that were not passed into revalidation request for transport-based implementation (but were
    passed for the pool-based impl) (#247).
  • Add cache_private property to the controller to support acting as shared cache. (#224)
  • Improve efficiency of scanning cached responses in FileStorage by reducing number of syscalls. (#252)
  • Add remove support for storages (#241)
hishel - Version 0.0.29

Published by karpetrosyan 4 months ago

Changelog

0.0.29 (23th June, 2024)

  • Add revalidated response extension. (#242)
hishel - Version 0.0.27

Published by karpetrosyan 5 months ago

Changelog

0.0.27 (31th May, 2024)

  • Fix RedisStorage when using without ttl. (#231)
hishel - Version 0.0.26

Published by karpetrosyan 7 months ago

Changelog

0.0.26 (12th April, 2024)

  • Expose AsyncBaseStorage and BaseStorage. (#220)
  • Prevent cache hits from resetting the ttl. (#215)
hishel - Version 0.0.25

Published by karpetrosyan 7 months ago

Changelog

0.0.25 (26th March, 2024)

  • Add force_cache property to the controller, allowing RFC9111 rules to be completely disabled. (#204)
  • Add .gitignore to cache directory created by FIleStorage. (#197)
  • Remove stale_* headers from the CacheControl class. (#199)
hishel - Version 0.0.24

Published by karpetrosyan 9 months ago

Changelog (hotfix release)

0.0.24 (14th February, 2024)

  • Fix botocore is not installed exception when using any kind of storage. (#186)
hishel - Version 0.0.23

Published by karpetrosyan 9 months ago

Changelog

0.0.23 (12th February, 2024)

  • Support caching for POST and other HTTP methods. (#183)
  • Make S3Storage to check staleness of all cache files with set interval. (#182)
  • Fix an issue where an empty file in FileCache could cause a parsing error. (#181)
hishel - Version 0.0.22

Published by karpetrosyan 9 months ago

Changelog

0.0.22 (31th January, 2024)

  • Make FileStorage to check staleness of all cache files with set interval. (#169)
  • Support AWS S3 storages. (#164)
  • Move typing_extensions from requirements.txt to pyproject.toml. (#161)
hishel - Version 0.0.21

Published by karpetrosyan 10 months ago

Changelog

0.0.21 (29th December, 2023)

  • Fix inner transport and connection pool instances closing. (#147)
  • Improved error message when the storage type is incorrect. (#138)
hishel - Version 0.0.20

Published by karpetrosyan 11 months ago

Changelog

0.0.20 (12/12/2023)

  • Add in-memory storage. (#133)
  • Allow customization of cache key generation. (#130)
hishel - Version 0.0.19

Published by karpetrosyan 11 months ago

Changelog

0.0.19 (30/11/2023)

  • Add force_cache extension to enforce the request to be cached, ignoring the HTTP headers. (#117)
  • Fix issue where sqlite storage cache get deleted immediately. (#119)
  • Support float numbers for storage ttl. (#107)
hishel - Version 0.0.18

Published by karpetrosyan 11 months ago

Changelog

0.0.18 (23/11/2023)

  • Fix issue where freshness cannot be calculated to re-send request. (#104)
  • Add cache_disabled extension to temporarily disable the cache (#109)
  • Update datetime.datetime.utcnow() to datetime.datetime.now(datetime.timezone.utc) since datetime.datetime.utcnow() has been deprecated. (#111)
hishel - Version 0.0.17

Published by karpetrosyan 12 months ago

Changelog

0.0.17 (6/11/2023)

  • Fix Last-Modified validation.
hishel - Version 0.0.16

Published by karpetrosyan about 1 year ago

Changelog

0.0.16 (25/10/2023)

  • Add install_cache function. (#95)
  • Add sqlite support. (#92)
  • Move ttl argument to BaseStorage class. (#94)
hishel - Version 0.0.14

Published by karpetrosyan about 1 year ago

Changelog

0.0.14 (23/10/2023)

  • Replace AsyncResponseStream with AsyncCacheStream. (#86)
  • Add must-understand response directive support. (#90)
hishel - Version 0.0.13

Published by karpetrosyan about 1 year ago

Changelog

0.0.13 (10/5/2023)

  • Add support for Python 3.12. (#71)
  • Fix connections releasing from the connection pool. (#83)
hishel - Version 0.0.12

Published by karosis88 about 1 year ago

Changelog

0.0.12 (8/9/2023)

  • Add metadata into the response extensions. (#56)
hishel - Version 0.0.11

Published by karosis88 about 1 year ago

0.0.11 (8/15/2023)

  • Add support for request cache-control directives. (#42)
  • Drop httpcore dependencie. (#40)
  • Support HTTP methods only if they are defined as cacheable. (#37)
hishel - Version 0.0.10

Published by karosis88 about 1 year ago

Changelog

0.0.10 (8/7/2023)

  • Add Response metadata. (#33)
  • Add API Reference documentation. (#30)
  • Use stale responses only if the client is disconnected. (#28)
hishel - Version 0.0.9

Published by karosis88 about 1 year ago

Changelog

0.0.9 (8/1/2023)

  • Expose Controller API. (#23)