require is now passed an expanded path
HTTP memory optimization for custom-404 detection

Updated to keep a limited cache of signatures to prevent memory exhaustion.