[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #11563 [DocTor]: Improve consensus-health page by reducing size of HTML
#11563: Improve consensus-health page by reducing size of HTML
-----------------------------+------------------------------
Reporter: alphawolf | Owner: atagar
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: DocTor | Version:
Resolution: | Keywords: consensus-health
Actual Points: | Parent ID:
Points: |
-----------------------------+------------------------------
Comment (by alphawolf):
Agreed on the leading spaces. Patch submitted, but needs tested.
I have an idea for a "part 4", but I'll need to test it in HTML/CSS first.
There are over 240K '<br>' tags, mostly between the flags in the relay
list. I believe these could be replaced with a single newline each, and
then CSS applied to make those newlines actually render. (In the relay
table only). This change would shave off another 720 KB.
The downside of "part 4" is that it would be a little harder for humans to
read the HTML source, as each flag in source view would be on its own
line. Thoughts?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11563#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs