Page Size Check
Monitoring page size.
Page Size Check
The Page Size Check monitors the size of your website's HTML response content (body) in bytes. Unexpected changes in file size can indicate serious issues that are missed by a pure status code check (200 OK).
Use Cases
- Hacks / Defacements: Attackers often inject code, significantly increasing the page size.
- Empty Pages: A database error could cause only the header to render (page suddenly very small), although the server reports Status 200.
- Performance: Accidentally including huge scripts or CSS files in the HTML.
Configuration
You can define thresholds:
Min Page Size
Alert if the page is smaller than X bytes.
- Recommendation: Set this to approx. 80-90% of your page's normal size to detect partially empty renderings.
Max Page Size
Alert if the page is larger than Y bytes.
- Recommendation: Protects against "code bloat" or injections.
The check is considered failed if the actual size is outside this range.