|
|
|
|
|
by neeson
6316 days ago
|
|
So far, all the HTML that a given page will need is part of the same document. The templates for the dynamic content are all stored inside a hidden div. I expect that eventually this will cause too much of an up-front load time, so I'm planning on having the JS load bundles of it on demand. Reducing total HTTP requests is a big usability win, in my experience. To answer your URL question, I use attributes, like this: http://urbantastic.com/org.html?id=org-8srmt85mtf8t Which the server ignores, but the Javascript parses and uses to figure out where it is. |
|
So in the case of that link... org.html has all the html fragments it needs for anything that can be done on that page in a hidden div?
A neat idea for sure, thanks for sharing... (now off I go to play with it!)