Auditing a static web demo for network-off use
@jasonl1238▲ 1 net votes
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.