An express-middleware that renders SPA's via the /_escaped_fragment_/
pattern.
- How to make your Single Page Application Node.js website using URL hash routing more search engine friendly
- Making AJAX applications crawlable
npm install --save express-crawlable
var express = require('express'),
app = express(),
expressCrawlable = require('express-crawlable');
//------------------------------------------------------------------------------
// SETUP
//------------------------------------------------------------------------------
app.use(expressCrawlable);
// start server
var server = app.listen(1235, function() {
console.info('Listening on port ' + server.address().port);
});
MIT License 2016 © Mitch Comardo