site:john-doe.neocities.org in a google search only finds the main page and dist page.
Entire website in a single HTML file
11–20 of 333 posts
Re: Entire website in a single HTML file
#12How is this news? React SPAs have been around for years, and SPAs existed long before React too.
Re: Entire website in a single HTML file
#13Re: Entire website in a single HTML file
#14Re: Entire website in a single HTML file
#15Normal websites used to be one file way back in the day. It was a "pro tip" to split out the JS & CSS into a separate files.
A site is a collection of those.
Re: Entire website in a single HTML file
#16Re: Entire website in a single HTML file
#17Re: Entire website in a single HTML file
#18Using url fragments seems to limit how well Google can index it. site:john-doe.neocities.org in a google search only finds the main page and dist page.
Google likely haven't designed their indexer to handle pages like this because not many people do it.
Many people don't do it, because Google won't index it properly.
Re: Entire website in a single HTML file
#19How is this news? React SPAs have been around for years, and SPAs existed long before React too.
There is a concept of a single file app (SFA). You can share an html file, and that is the application.
It can have inlined micro js/css frameworks, or hand-rolled everything. An SFA should be human readable though- viewing the page source is useful.
I think it’s a concept worth exploring.
Re: Entire website in a single HTML file
#20This is something I've always wanted for virtual textbooks. A single .html file with all the JS, CSS, images as inline data blobs, etc. For most physics, math, CS, etc books, this should be possible. It would make it trivial to download the book for offline use and share it with others. Other than the raster images, the entire content of these types of books would probably fit in a couple MB of text. The use of #anch…