zhanbei / static-server

A static server in Go, supporting hosting static files in the no-trailing-slash version.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning about the healthz of static resources.

zhanbei opened this issue · comments

In the process of maintaining a site(#9), the resources may be added or removed. Hence a list of common resources may be better maintained, to detect the abnormal conditions.

  • Resources with Regular 200
    • Responding 404 recently. Notice
      • Resources may be removed without redirections.
    • Responding 404 once for a while. Warning
      • Abnormal condition to be investigated.

Hence just investigating the 404 pages to take care of your sitemap will help.

Consequently, external monitors or logs analyzer may be considered.