[web] move `nocdn` checks out of overriden block GitOrigin-RevId: fc9713cc50dccd73ae0582b852ae399e61fe7424