globaleaks/GlobaLeaks — Issue #95: Optimize for Tor Hidden Services
Author: hellais
Created: 2011-10-22 13:07:57+00:00
State: open
Labels: Feature

We need to make a benchmarking tool to test the speed of the interface over Tor HS.

I can see various places where we can do optimizations. It is expensive to do separate requests, so it would be a good idea to have pages make the minimum number of requests, this means:

* have all JavaScript code in one place

* have all .css code in one place (maybe these two can be generated automatically by web2py and compacted)

* have the least amount of images. For example we could have one unique big image that contains all the graphics of the site. The images for every section can then be displayed from .css by using x-position, y-position.

* compress all the images to the bare minimum

* find a good widely supported font, that does not need to load a TTF file.