Check if prerendering
nicooprat opened this issue ยท 3 comments
nicooprat commented
(Using Meteor) How can I check whether the code is currently being prerendered or not? Something like location.href.indexOf('?_escaped_fragment_=')
? Thanks.
dr-dimitru commented
Hello @nicooprat ,
Not possible for right now. As we pretend to be a regular browser as much as possible.
We will add this feature in next release.
dr-dimitru commented
Hello @nicooprat ,
Sorry for delay with this one.
Now it's possible, see docs:
- Detect Prerendering engine requests during runtime
- Detect Prerendering engine requests during runtime (Meteor specific)
Thank you a lot for contribution ๐
Feel free to close if this solution fits your needs.
nicooprat commented
Thanks to you!