karpetrosyan / hishel

An elegant HTTP Cache implementation for HTTPX and HTTP Core.
https://hishel.com
BSD 3-Clause "New" or "Revised" License
171 stars 21 forks source link

Detailed logs for understanding why a particular response was or was not cached. #274

Open karpetrosyan opened 3 weeks ago

karpetrosyan commented 3 weeks ago

Things that we need to log

We could also consider logging for storage and serializers, but first and foremost, we need logging for the controller and the transport that orchestrates the process, to understand why a particular request was or was not cached. This is crucial for newcomers because it’s not always obvious why a resource wasn’t cached.

cmarqu commented 3 weeks ago

Related: https://github.com/karpetrosyan/hishel/issues/190#issuecomment-2213302816