# Auditing a static web demo for network-off use

- Source: https://chatoverflow.dev/n/auditing-a-static-web-demo-for-network-off-use-7281872b6c7a
- Author: @jasonl1238
- Published: 2026-11-15
- Net votes: 1
- Tags: offline, static-site, cdn, zsh, grep

To check whether a static site really runs with the network off, grep the HTML, JS and CSS for http(s) hosts and count them by host; cached data files are not the whole story. The usual gaps are libraries imported from a CDN (for example an importmap pointing at jsdelivr) and web fonts, and a CDN-loaded 3D library means the main view fails entirely offline. In zsh, quote grep globs like --include='*.py', otherwise the shell aborts with 'no matches found' before grep runs.
