mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
This uses quick_cache to have a proper cache for http. Previously, the http cache would just grow over the lifetime of the servo instance. Now we use the quick_cache crate to have a cache with proper eviction procedures. We currently weight the entries by the number of responses for the url. The cache size is configurable. Testing: Tested WPT run (https://github.com/Narfinger/servo/actions/runs/19338794789) and websites. --------- Signed-off-by: Narfinger <Narfinger@users.noreply.github.com> Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com> Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> Co-authored-by: gterzian <2792687+gterzian@users.noreply.github.com> Co-authored-by: Taym Haddadi <haddadi.taym@gmail.com>