3 ms·
Not the same. Disk files can be browsed via HTTP (HTTPS), so you can preview a local static site directly, without tools such as http-server, SimpleHTTPServer,
by etherdream 5y ago
Not the same. Disk files can be browsed via HTTP (HTTPS), so you can preview a local static site directly, without tools such as http-server, SimpleHTTPServer, etc.
- beardyw 5y agoIf the files are served via HTTP I am missing it. A page which is fetched via HTTP and then accesses local files is not an HTTP server. https://en.m.wikipedia.org/wiki/Hypertext_Transfer_Protocol https://en.m.wikipedia.org/wiki/Hypertext_Transfer_Protocol
- cdaringe 5y agoService worker file loader != HTTP server. You are intercepting requests which are usually fulfilled by HTTP, but you are not implementing or interacting with HTTP. Even so, cool project.