Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

只針對搜尋引擎的BOT提供prerender & 讓prerender會等到title變更完成 #591

Merged
merged 2 commits into from
Mar 2, 2019

Conversation

SoftwareSing
Copy link
Member

  1. 將prerender的對象改為只針對搜尋引擎的BOT
    社群網站的BOT使用head中的meta tag便足以顯示資訊,且prerender的等待時間太久,可能被社群網站判斷為無法連線

  2. 由於一些不確定因素,google拿到網頁時title可能還沒更換完成,但title是搜尋結果顯示的重要依據,因此讓prerender等到title完成更換後才設置ready

將prerender的對象改為只針對搜尋引擎的BOT
社群網站的BOT使用head中的meta tag便足以顯示資訊,且prerender的等待時間太久,可能被社群網站判斷為無法連線
由於一些不確定因素,google拿到網頁時title可能還沒更換完成,但title是搜尋結果顯示的重要依據,因此讓prerender等到title完成更換後才設置ready
@mrbigmouth mrbigmouth merged commit c2ab942 into ACGN-stock:dev Mar 2, 2019
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants