'Page load on the openshift server takes 2-3 mins while on local it takes 4 seconds
We have a nods JS application which needs chromium and puppeteer core to run, the application works fine on local and openshift server only issue we see is with page load. I am using puppeteer-core(>3.0.0) and chromium in both scenarios below code is getting executed:
console.log('browser built : ' + (new Date().getTime() - startTime))
const page = await browser.newPage();
await page.setDefaultNavigationTimeout(0);
await page.goto(URL);
console.log('page loaded : ' + (new Date().getTime() - startTime))
Open shift terminal Server logs: page loaded : 140201
Local machine logs: page loaded : 4137
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
