Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWhitelisting socketTimeout parameter and added Googlebot #43
Conversation
…eout" to the whitelisted parameters 2. Add "GoogleBot" as a crawler agent
| @@ -14,7 +14,7 @@ | |||
| public class PreRenderSEOFilter implements Filter { | |||
| public static final List<String> PARAMETER_NAMES = Lists.newArrayList("preRenderEventHandler", "proxy", "proxyPort", | |||
| "prerenderToken", "forwardedURLHeader", "crawlerUserAgents", "extensionsToIgnore", "whitelist", | |||
| "blacklist", "prerenderServiceUrl"); | |||
| "blacklist", "prerenderServiceUrl","socketTimeout"); | |||
kartikl
Nov 8, 2017
Author
Since socketTimeout was not a 'whitelisted' parameter, override from within our filters did not work. Adding this enabled us to specify socket timeouts for callouts to prerender.
Since socketTimeout was not a 'whitelisted' parameter, override from within our filters did not work. Adding this enabled us to specify socket timeouts for callouts to prerender.
|
You should not add the Googlebot user agent to the list of user agents being checked. Checking Googlebot by their user agent could get you penalized for cloaking. Google follows the escaped fragment crawling protocol so if you add |
|
@thoop thanks. Will remove googlebot |
No description provided.