aboutsummaryrefslogtreecommitdiff
path: root/271
diff options
context:
space:
mode:
Diffstat (limited to '271')
-rw-r--r--271/index.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/271/index.md b/271/index.md
new file mode 100644
index 0000000..e48b96b
--- /dev/null
+++ b/271/index.md
@@ -0,0 +1,8 @@
+Title: Protect the user against massive image loading
+Author: rodarima
+Created: Mon, 07 Oct 2024 20:31:15 +0000
+State: open
+
+Some news websites have a massive number of images, which are usually designed to be rendered at a reasonable size. However, a failure in parsing some of the constraints in the CSS rules may cause all images to render at a much higher size than intended. This situation causes a spike in CPU and memory usage which may fill all available memory. As a concrete example, in my computer it reaches 1 GiB of memory usage opening a single news page.
+
+We should by default protect the user against this problem (but let them remove the restriction if desired). One option may be to cap the maximum image cache per page, so we stop loading more images if we already reached the limit. \ No newline at end of file