rendercycle always returns Nan

No the browser check is always on desktop/mobile browser / clientside, the other is serverside. So only one check, if rendering.env === “browser” you are on client side. But if you want to speed up code make webmodules and run all time consuming work in a webmodule, way faster