Forum

Optimize speed for ...
 
Powiadomienia
Wyczyść wszystko

Optimize speed for domPdf?

1 Wpisy
1 Użytkownicy
0 Reactions
2,744 Widoki
0
Rozpoczynający temat

Optimize speed for domPdf?

1 odpowiedź
0
Rozpoczynający temat

A: 1. Do not use any TABLE / TR /TD tag, replace it with SPAN or DIV and set css for it ( http://www.w3schools.com/html/html_layout.asp )

A: 2. Replace all withe spaces from HTML, /r/n replace with nothing, replace double wihitespace with nothing.

A: 3. I you have to use table, avoid colspan and rowspan, they give extrmely lag to whole documment. Avoid % sizes, make them static like width:100px, not width:100%

A: Keep PHP fresh, upgrade it

A: and…fastest option in whole world is to USE wkhtmltopdf !

Twoja odpowiedź

Nazwa autora

E-mail autora

Twoje zapytanie *

Podgląd 0 rewizje Zapisano
Udostępnij: