ladybird/Libraries/LibWeb/DOM
Andreas Kling 7af337764e LibWeb: Add a naive Resource cache
This patch introduces a caching mechanism in ResourceLoader. It's keyed
on a LoadRequest object which is what you provide to load_resource()
when you want to load a resource.

We currently never prune the cache, so resources will stay in there
forever. This is obviously not gonna stay that way, but we're just
getting started here. :^)

This should drastically reduce the number of requests when loading
some sites (like Twitter) that reuse the same images over and over.
2020-06-01 21:58:29 +02:00
..
Attribute.h LibWeb: Move Attribute to its own header file 2020-05-22 21:45:00 +02:00
AttributeNames.cpp LibWeb: Use the globals from HTML::AttributeNames in style resolution 2020-05-30 13:06:26 +02:00
AttributeNames.h LibWeb: Use the globals from HTML::AttributeNames in style resolution 2020-05-30 13:06:26 +02:00
CanvasRenderingContext2D.cpp LibWeb: Implicitly close all subpaths when canvas.fill() is called 2020-05-09 23:25:39 +02:00
CanvasRenderingContext2D.h LibWeb: Add CanvasRenderingContext2D.canvas 2020-05-21 01:24:36 +02:00
CharacterData.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
CharacterData.h LibWeb: Start implementing character token parsing 2020-05-24 23:54:22 +02:00
Comment.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Comment.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
Document.cpp LibWeb: Handle two kinds of deferred script executions 2020-05-30 12:26:15 +02:00
Document.h LibWeb: Handle two kinds of deferred script executions 2020-05-30 12:26:15 +02:00
DocumentFragment.h LibWeb: Move get_element_by_id() to a NonElementParentNode mixin class 2020-03-28 09:13:29 +01:00
DocumentType.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DocumentType.h LibWeb: Add "name" to DocumentType nodes 2020-05-24 00:12:00 +02:00
Element.cpp LibWeb: Fall back to block layout for unimplemented CSS display values 2020-05-28 12:44:34 +02:00
Element.h LibWeb: Let Element cache its list of classes 2020-05-26 23:07:19 +02:00
ElementFactory.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
ElementFactory.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
Event.h Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
EventListener.cpp LibWeb: Make EventListener::function() return a reference 2020-04-29 12:46:20 +02:00
EventListener.h LibWeb: Make EventListener::function() return a reference 2020-04-29 12:46:20 +02:00
EventTarget.cpp LibWeb: Use FlyString for DOM event names 2020-03-22 19:53:22 +01:00
EventTarget.h LibWeb: Use FlyString for DOM event names 2020-03-22 19:53:22 +01:00
HTMLAnchorElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLAnchorElement.h LibWeb: Pass link target to HtmlView's on_link_click callback 2020-04-24 14:34:11 +02:00
HTMLBlinkElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLBlinkElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLBodyElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLBodyElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLBRElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLBRElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLCanvasElement.cpp LibWeb: Let HTMLCanvasElement.getContext() return null for unknown types 2020-05-21 01:24:36 +02:00
HTMLCanvasElement.h LibWeb: Limit the maximum size of <canvas> bitmap buffers 2020-04-15 12:29:21 +02:00
HTMLElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLFontElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLFontElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLFormElement.cpp LibWeb: Rename Web::HtmlView => Web::PageView 2020-05-28 18:22:54 +02:00
HTMLFormElement.h LibWeb: When creating form action URL, only include value for the submit 2020-05-05 11:19:38 +02:00
HTMLHeadElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadingElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadingElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHRElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHRElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHtmlElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHtmlElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLImageElement.cpp LibWeb: Add a naive Resource cache 2020-06-01 21:58:29 +02:00
HTMLImageElement.h LibWeb: Start building a new Resource class to share more resources 2020-06-01 21:36:43 +02:00
HTMLInputElement.cpp LibWeb: Turn <input type=button> into an actual button :^) 2020-05-30 11:59:10 +02:00
HTMLInputElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLLinkElement.cpp LibWeb: Move ResourceLoader into a new Loader/ directory 2020-06-01 20:42:50 +02:00
HTMLLinkElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLScriptElement.cpp LibWeb: Move ResourceLoader into a new Loader/ directory 2020-06-01 20:42:50 +02:00
HTMLScriptElement.h LibWeb: Bring up basic external script execution in the new parser 2020-05-27 23:02:03 +02:00
HTMLStyleElement.cpp LibWeb: Implement <script src> support for synchronous scripts 2020-04-03 23:06:09 +02:00
HTMLStyleElement.h LibWeb: Implement <script src> support for synchronous scripts 2020-04-03 23:06:09 +02:00
HTMLTitleElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLTitleElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
ImageData.cpp LibWeb: Add ImageData objects and implement 2D context putImageData() 2020-04-21 23:49:51 +02:00
ImageData.h LibWeb: Add ImageData objects and implement 2D context putImageData() 2020-04-21 23:49:51 +02:00
MouseEvent.h Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
Node.cpp LibWeb: Use the globals from HTML::AttributeNames in style resolution 2020-05-30 13:06:26 +02:00
Node.h LibWeb: Add some helpers to the DOM Node class 2020-05-24 23:54:22 +02:00
NonElementParentNode.h LibWeb: Add cached global attribute name FlyStrings 2020-05-26 23:45:43 +02:00
ParentNode.cpp LibWeb: Add ParentNode::remove_all_children() 2020-03-25 18:52:03 +01:00
ParentNode.h LibWeb: Add ParentNode::remove_all_children() 2020-03-25 18:52:03 +01:00
Text.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Text.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
Window.cpp LibWeb: Rename Web::HtmlView => Web::PageView 2020-05-28 18:22:54 +02:00
Window.h LibWeb: Allow reloading the current page with location.reload() 2020-05-18 22:05:13 +02:00
XMLHttpRequest.cpp LibWeb: Move ResourceLoader into a new Loader/ directory 2020-06-01 20:42:50 +02:00
XMLHttpRequest.h LibWeb: Add XMLHttpRequest.readyState and constants 2020-04-23 11:03:17 +02:00