Bugfixes:
- fix compatibility with Node.js v6.0.0
Bugfixes:
- Check for more specific pinterest crawler user agent since their iOS app changes the browser user agent to include "pinterest"
- Added svg to list of extensions to check
New features:
- Check for Whatsapp user agent in order to send prerendered pages when URLs are shared through Whatsapp
New features:
- Check for Applebot user agent in order to send prerendered pages to apple for Siri on iOS9
Bugfixes:
-
Make sure we pass through the error, request, and Prerender response to afterRender
Fixed an issue where the original request and Prerender response wasn't getting passed to afterRender after recent change to pass err through. Now works correctly:
afterRender(err, req, prerenderResponse)
Bugfixes:
-
Send HTTPS URLs through correctly.
Fixed an issue where
http
was always added to the URLs sent to Prerender even if the URL was https.
Bugfixes:
-
Stop swallowing errors if the prerender service fails.
Before: If the prerender service errors out (e.g., not available and the request times out), the error is swallowed and
next
called with no args.After: error is passed through to
next
, andprerender.afterRenderFn
is handederr
as the first arg. Makes it much easier to know if you're misconfiguring something or forgot to start the prerender server locally when testing.