dom-to-image icon indicating copy to clipboard operation
dom-to-image copied to clipboard

How to speedUp loading of CssStyles

Open dredintellekt opened this issue 6 years ago • 3 comments

Hello there. When I try to load image, for example jpeg, I have updating on the page for element where image is located. When it happens I have big delay, about 3 seconds while every styles and fonts reload. I get about 60 lines something like this

dom-to-img.js:440 XHR finished loading: GET "https://localhost/configurator/isbc_uikit/fonts/ClearSans/ClearSans-BoldItalic.woff".
dom-to-img.js:440 XHR finished loading: GET "https://localhost/configurator/isbc_uikit/fonts/ClearSans/ClearSans-Bold.woff".
dom-to-img.js:440 XHR finished loading: GET "https://localhost/configurator/isbc_uikit/fonts/ClearSans/ClearSans-Medium.woff".
dom-to-img.js:440 XHR finished loading: GET "https://localhost/configurator/isbc_uikit/fonts/ClearSans/ClearSans-MediumItalic.woff".
dom-to-img.js:440 XHR finished loading: GET "https://localhost/configurator/isbc_uikit/fonts/ClearSans/ClearSans-Light.woff".

Is is possible to parallels that loading or increase speed of that?

I use Chrome 71.0.3578.98

dredintellekt avatar Jan 22 '19 08:01 dredintellekt

Hello again. Any information about that issue?

dredintellekt avatar Apr 22 '19 09:04 dredintellekt

I am also having this problem

phidoi247 avatar Jul 22 '20 02:07 phidoi247

How to solve this problem

sRect avatar Jul 21 '21 09:07 sRect