nathansamano / spa

Sandbox for OSCON SPA app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spa

Sandbox for OSCON SPA app

spa

Sandbox for OSCON SPA app

For prerender: git clone https://github.com/prerender/prerender.git cd prerender npm install node server.js

then start app.js in new window then in another window type: curl http://localhost:8000/dates then type: curl http://localhost:8000/dates/?\_escaped\_fragment\_=

And notice the difference on how in the first curl you only see the div with no content and the next one you see all of the html

//////////////////////////////////// NOTE: due to the markdown I added in the '' so that the underscore would be shown on github, If you plan on copying it from a text editor it you will have to remove the '' before the underscores. ///////////////////////////////////

If you are on a local machine and want to see what the page will look like in the browser, then type in:

this is prerender io// This is my localhost///////////////// http://localhost:3000/http://localhost:8000/dates/?_escaped_fragment_=

About

Sandbox for OSCON SPA app


Languages

Language:HTML 44.4%Language:CSS 28.2%Language:JavaScript 27.1%Language:Python 0.3%Language:Ruby 0.1%Language:Shell 0.0%