You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a the code below to check if there are updates available or refresh needed. if update is found a pop up is displayed to inform the user. One thing I noticed is that popup also displayed to googlebots, even Pagespeed insights shows that popup.
This is affecting performance score of the website. What is the best way to handle bots and crawlers?
Perhaps there is a way to disable serivce worker for crawler or at least not display the popup for bots?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a the code below to check if there are updates available or refresh needed. if update is found a pop up is displayed to inform the user. One thing I noticed is that popup also displayed to googlebots, even Pagespeed insights shows that popup.
This is affecting performance score of the website. What is the best way to handle bots and crawlers?
Perhaps there is a way to disable serivce worker for crawler or at least not display the popup for bots?
Beta Was this translation helpful? Give feedback.
All reactions