View Source CHANGELOG
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[0.4.0] - 2025-05-17
Fixed
[http_cache]: now takesstale-if-errorandstale-while-revalidatedirective values into account when calculating the grace period- [
http_cache]:max-stalenow takes precedence overstale-while-revalidate. That ismax-stale=0will never return a stale response even ifstale-while-revalidateis set
Changed
- [
http_cache]: handling of thestale-if-errordirective has changed. Stale responses returned in this case are now returned by thecache/3andcache/4functions, whose signature has changed - [
http_cache]: theallow_stale_while_revalidateoption was renamed tostale_while_revalidate_supported
Removed
- [
http_cache]: thestale_if_erroroption has been removed - [
http_cache]: theorigin_unreachableoption has been removed
[0.3.2] - 2025-04-07
Fixed
- [
http_cache] Fixed bug that made cache/3 and cache/4 return gziped content even when the request didn't support gzip
[0.3.1] - 2023-12-20
Added
- [
http_cache] Addedprevent_set_cookieoption. Caching a response in a shared cache withset-cookieheader now raises
[0.3.0] - 2023-06-22
Changed
- [
http_cache] Use external libraryhttp_cache_store_behaviour
[0.2.0] - 2023-04-25
Added
- [
http_cache] Exportnotifying_downloading/2for future support of HTTP request collapsing
Changed
- [
http_cache] Options are now a map (was previously a proplist)