Notifications
Clear all
BugOverflow
1
Posty
1
Users
0
Reactions
2,620
Widok
0
30/07/2015 9:23 pm
Topic starter
Optimize speed for domPdf?
1 Answer
0
30/07/2015 9:29 pm
Topic starter
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 !