django-seo-js
django-seo-js copied to clipboard
Add SEO_JS_PRERENDER_TIMEOUT functionality
I've been seeing some very slow interactions with prerender.io (up to 59 seconds) in New Relic recently, so I wanted to add a timeout option to prevent the application server from being tied up for that long. In the case that the timeout is hit, a 408 response is returned, so the seo bot should try again later and hopefully have better luck.
This looks great. I'm pretty slammed right now, but will get it merged in once I get some free cycles!
Thanks for contributing!
Update - things are moving forward without me being in the way. Please see #32 for our next steps in this project, and thank you so much for your contributions, and for your patience. :)
@clifff can you update your PR? I think this is the nice thing we can get included into the next release.
@bmwant - I haven't been using Django or even Python in a number of years so I'm not inclined to sort through rebasing, but happy to accept any updates to this PR or I can close it if someone else would like to re-implement.