July 11–12, 2026
Instant Locally, 13–17 Seconds Externally
ASP.NET Core under IIS: /api/test with return Ok() was instant on localhost but 13–17s externally. IIS time-taken matched on 200, 404, and 500—ruling out app logic.
Engineer Hiker tested a static test.txt externally—still 14s TTFB. FREB traced ScriptsModule (SolidCP) blocking ~3s at three pipeline stages (~9s total).
Global config was locked; site-level fix in web.config:
<system.webServer>
<modules>
<remove name="ScriptsModule" />
</modules>
</system.webServer>
External TTFB dropped to ~3–4 seconds.
July 13–15, 2026
Full IIS Optimization — ~3s Still Remained
Engineer Queta applied AlwaysRunning, idle timeout 0, preload, module trims, HTTP/2, Defender exclusions, InProcess/OutOfProcess tests, and SQL connection tuning (~1s recovered). ~3s delay persisted identically on every request.
| Scenario | TTFB | Visual |
| Initial external | 13–17s | |
| After ScriptsModule removal | ~4.0s | |
| After full IIS + SQL tuning | ~3.2s | |
| Direct Kestrel :5000 | ~0.84s | |
| Kestrel service + IIS proxy | 0.917s | |
July 15–22, 2026
Kestrel Windows Service — IIS as Pure Reverse Proxy
Direct Kestrel: 0.84s. Through IIS ANCM: 3.2s. FREB showed ~3.15s inside IIS before app code ran. Customer chose Option 1: Windows Service on localhost:5000, new IIS site for HTTPS rewrite only, original site renamed <SITE_NAME>.bak.
Internet (HTTPS)
↓ IIS <SITE_NAME> SSL only, no ANCM
↓ reverse proxy
Kestrel http://localhost:5000 Windows Service
↓ <APP_DLL>.dll
“Performance test: TCP 0.028s, TLS 0.104s, TTFB 0.917s—previously ~4s+ through original IIS ASP.NET Core hosting.”
Queta · July 22, 2026
Resolved No data loss No OS reload 17s → 0.9s