mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-18 15:52:21 +00:00
Store JavaScript bytecode side data in the WebContent HTTP memory cache and replay it when serving cached responses. Also update an already-complete memory-cache entry when asynchronous bytecode cache generation finishes, so the first source-only response does not keep shadowing the disk-cache sidecar during same-process navigations. Keep the HTTP memory-cache backfill keyed with the request headers that populated the memory-cache entry, so Vary responses still receive their generated bytecode sidecar. Add LibHTTP coverage for round-tripping bytecode side data through a memory-cache entry, attaching it after the response body has already been cached, and matching Vary headers during updates. Add LibWeb coverage for preserving the memory-cache request headers when cloning responses. |
||
|---|---|---|
| .. | ||
| Agent.cpp | ||
| Agent.h | ||
| ClassicScript.cpp | ||
| ClassicScript.h | ||
| Environments.cpp | ||
| Environments.h | ||
| EnvironmentSettingsSnapshot.cpp | ||
| EnvironmentSettingsSnapshot.h | ||
| ExceptionReporter.cpp | ||
| ExceptionReporter.h | ||
| Fetching.cpp | ||
| Fetching.h | ||
| Fetching.idl | ||
| ImportMap.cpp | ||
| ImportMap.h | ||
| ImportMapParseResult.cpp | ||
| ImportMapParseResult.h | ||
| ModuleMap.cpp | ||
| ModuleMap.h | ||
| ModuleScript.cpp | ||
| ModuleScript.h | ||
| Script.cpp | ||
| Script.h | ||
| SerializedEnvironmentSettingsObject.cpp | ||
| SerializedEnvironmentSettingsObject.h | ||
| SimilarOriginWindowAgent.cpp | ||
| SimilarOriginWindowAgent.h | ||
| TemporaryExecutionContext.cpp | ||
| TemporaryExecutionContext.h | ||
| WindowEnvironmentSettingsObject.cpp | ||
| WindowEnvironmentSettingsObject.h | ||
| WorkerAgent.cpp | ||
| WorkerAgent.h | ||
| WorkerEnvironmentSettingsObject.cpp | ||
| WorkerEnvironmentSettingsObject.h | ||