맞춤 404페이지의 위험

One customer running a single WordPress was using a 4x vCPUs instance on Amazon AWS®. But the CPU and load usage were so high, with no apparent reasons (the number of visitors was reasonable). 하지만: each 404 triggered a huge CPU and bandwidth consumption! A test was conducted and the 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!

In other words: do not do it, even if it looks pretty to the eyes.

코멘트

여기 너무 비어 ... 코멘트를 남겨주세요!

답글 남기기

귀하의 이메일 주소는 공개되지 않습니다. 필요 입력 사항은 표시되어 있습니다 *

사이드바