karpetrosyan / hishel

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

Caching partial content #262

Open powellnorma opened 3 weeks ago

powellnorma commented 3 weeks ago

Are there plans to support this?

https://github.com/psf/cachecontrol/issues/246

karpetrosyan commented 1 week ago

Hey! That's an interesting topic, I think we can think about this feature. Could you please provide a public URL that supports partial content? I think we already somehow support it thanks to vary headers

powellnorma commented 1 week ago

This URL could be used for testing:

https://sample-videos.com/ https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_30mb.mp4