Another trick I found: I needed to display an HTML table of 755 rows * 15 columns (filling out a total of 11 325 data).
This page used to delay loading by about 25/30 seconds, and then the page was a bit late. I set the table using display:none
and after the page was fully loaded I changed the CSS property using JavaScript.
After all this, the page loads in a maximum of 6 seconds. I believe that Django spends much less time rendering invisible elements.
I don't know if this only works in my case, but it seems to be so.
gmarsi
source share