mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-19 02:10:26 +00:00
No need to duplicate this in LibWeb.
In doing so, this also fixes an apparent bug for SWR handling in LibWeb.
We were previously deciding if we were in the SWR lifetime with:
stale_while_revalidate > current_age
However, the SWR lifetime is meant to be an additional time on top of
the freshness lifetime:
freshness_lifetime + stale_while_revalidate > current_age
|
||
|---|---|---|
| .. | ||
| CacheEntry.cpp | ||
| CacheEntry.h | ||
| CacheIndex.cpp | ||
| CacheIndex.h | ||
| CacheRequest.h | ||
| DiskCache.cpp | ||
| DiskCache.h | ||
| Utilities.cpp | ||
| Utilities.h | ||
| Version.h | ||