خطر 404 صفحة مخصصة

One customer running a single WordPress was using a 4x vCPUs instance on Amazon AWS®. لكن استخدام وحدة المعالجة المركزية والتحميل كان مرتفعًا جدًا, دون أي أسباب واضحة (وكان عدد الزوار معقولا). لكن: كل 404 أدى إلى استهلاك ضخم لوحدة المعالجة المركزية وعرض النطاق الترددي! تم إجراء الاختبار و 404 was replaced by a flat and tiny 324 bytes HTML file. The result: the instance size could be divided by two, so halving all expenses (including the bandwidth).

When using a custom 404-page: one should not forget that even a simple dead link to an image will trigger an expensive and huge HTML code being returned to the browser, resulting in sluggish speeds for the visitors as well!

بعبارة أخرى: do not do it, even if it looks pretty to the eyes.

الشريط الجانبي