- Learn more - what is Prerendering and why you need it
- For more info see
ostrio:spiderable-middleware
package on Atmosphere.
meteor add webapp
meteor add ostrio:spiderable-middleware
To cause the special behavior of web crawlers on JavaScript powered websites use fragment
meta tag. Although it's officially deprecated by Google search engine, it's may be used by other search engines and web crawlers. Learn more:
<html>
<head>
<meta name="fragment" content="!">
<!-- ... -->
</head>
<body>
<!-- ... -->
</body>
</html>
import Spiderable from 'meteor/ostrio:spiderable-middleware';
WebApp.connectHandlers.use(new Spiderable({
rootURL: 'http://example.com',
serviceURL: 'https://render.ostr.io',
auth: 'APIUser:APIPass'
}));