1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:54:58 +00:00
serenity/Userland/Libraries/LibWebView
Timothy Flynn f1d6693990 LibWebView: Reduce overhead of updating a cookie's last access time
Getting a document's cookie value currently involves:

1. Doing a large SELECT statement and filtering the results to match
   the document and some query parameters based on the cookie RFC.
2. For every cookie selected this way, doing an UPDATE to set its last
   access time.
3. For every UPDATE, do a DELETE to remove all expired cookies.

There's no need to perform cookie expiration for every UPDATE. Instead,
we can do the expiration once after all the UPDATEs are complete.

This reduces time spent waiting for cookies on https://twinings.co.uk
from ~1.9s to ~1.3s on my machine.
2024-02-26 19:59:09 +01:00
..
Attribute.cpp LibWebView+WebContent: Add APIs to manipulate DOM nodes 2023-12-04 01:33:57 +01:00
Attribute.h LibWebView+WebContent: Add APIs to manipulate DOM nodes 2023-12-04 01:33:57 +01:00
CMakeLists.txt LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
CookieJar.cpp LibWebView: Reduce overhead of updating a cookie's last access time 2024-02-26 19:59:09 +01:00
CookieJar.h LibWebView: Reduce overhead of updating a cookie's last access time 2024-02-26 19:59:09 +01:00
Database.cpp Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02:00
Database.h Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02:00
Forward.h LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
History.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
History.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
InspectorClient.cpp LibWebView: Escape HTML within attribute values in the Inspector HTML 2024-02-20 17:04:36 +01:00
InspectorClient.h LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
Native.css LibWebView: Add a standard "look like the OS" style sheet 2023-08-25 20:30:20 +01:00
OutOfProcessWebView.cpp Ladybird+WebContent: Update IPC calls to handle multiple traversables 2024-02-03 20:51:37 -05:00
OutOfProcessWebView.h Ladybird: Add ability to create a tab without creating a new WebContent 2024-02-03 20:51:37 -05:00
RequestServerAdapter.cpp Everywhere: Use unqualified AK::URL 2024-02-25 08:54:31 +01:00
RequestServerAdapter.h Everywhere: Use unqualified AK::URL 2024-02-25 08:54:31 +01:00
SearchEngine.cpp LibWebView: Add an API to format a search query for UI display 2023-10-24 07:28:30 +02:00
SearchEngine.h LibWebView: Add an API to format a search query for UI display 2023-10-24 07:28:30 +02:00
SocketPair.cpp LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
SocketPair.h LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
SourceHighlighter.cpp LibWebView: Extract CSS to highlight HTML source to a constant 2023-11-24 08:37:19 +01:00
SourceHighlighter.h LibWebView: Implement a WebView-based Inspector client 2023-11-24 08:37:19 +01:00
URL.cpp LibFileSystem+Userland: Return ByteString from real_path() 2024-01-16 08:42:34 +00:00
URL.h LibWebView: Add some helpers for "Copy email/telephone" functionality 2023-12-05 11:36:22 -05:00
UserAgent.cpp Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
UserAgent.h Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
ViewImplementation.cpp LibWeb+LibWebView+WebContent: Implement more <input type=file> behavior 2024-02-26 14:18:49 +01:00
ViewImplementation.h LibWeb+LibWebView+WebContent: Implement more <input type=file> behavior 2024-02-26 14:18:49 +01:00
WebContentClient.cpp LibWeb+LibWebView+WebContent: Implement more <input type=file> behavior 2024-02-26 14:18:49 +01:00
WebContentClient.h LibWeb+LibWebView+WebContent: Implement more <input type=file> behavior 2024-02-26 14:18:49 +01:00
WebSocketClientAdapter.cpp Everywhere: Use unqualified AK::URL 2024-02-25 08:54:31 +01:00
WebSocketClientAdapter.h Everywhere: Use unqualified AK::URL 2024-02-25 08:54:31 +01:00