URL encryption breaks caching
Bug #457474 reported by
root
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
psiphon |
Fix Committed
|
Unknown
|
Adam P |
Bug Description
We use CBC mode (random IV mixed into each string encryption) to encode URLs. This means that the same URL will encode differently each time. This means that instead of the same page element getting downloaded only once, regardless of how often it's referenced, it will get downloaded once for each reference.
For example: On cnn.com, the little red bullet image gets downloaded 33 times instead of one time.
This causes major inefficiency on the client end, and unnecessary load on our server.
Changed in psiphon: | |
status: | New → Confirmed |
visibility: | private → public |
tags: | added: category1 |
Changed in psiphon: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → Adam (adam+) |
milestone: | none → 2.5 |
To post a comment you must log in.
Note that if we switch to port forwarding we could stop encoding URLs and this problem would go away.