<div dir="ltr">You could start a webworker to copy everything from the DB to RAM in the background when you start up...</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 12, 2014 at 4:21 PM, Jacob Hoffman-Andrews <span dir="ltr"><<a href="mailto:jsha@newview.org" target="_blank">jsha@newview.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here's a branch I made to experiment with putting rulesets into an SQLite db:<br>
<a href="https://github.com/jsha/https-everywhere/compare/sqlite" target="_blank">https://github.com/jsha/https-<u></u>everywhere/compare/sqlite</a>.<br>
<br>
It works pretty well. Startup is very fast, and URLs get rewritten correctly. You can try it yourself here: <a href="https://jacob.hoffman-andrews.com/hacks/https-everywhere-jsha-sqlite-demo.xpi" target="_blank">https://jacob.hoffman-andrews.<u></u>com/hacks/https-everywhere-<u></u>jsha-sqlite-demo.xpi</a> (and .asc for sig)<br>


<br>
The downside is that we hit the DB pretty frequently, which slows down browsing when you hit new sites. Once a given domain has been checked for in the DB, we won't re-check. Probably the solution here is to load all the targets into memory at startup.<br>


<br>
Let me know what you think!<br>
______________________________<u></u>_________________<br>
HTTPS-Everywhere mailing list<br>
<a href="mailto:HTTPS-Everywhere@lists.eff.org" target="_blank">HTTPS-Everywhere@lists.eff.org</a><br>
<a href="https://lists.eff.org/mailman/listinfo/https-everywhere" target="_blank">https://lists.eff.org/mailman/<u></u>listinfo/https-everywhere</a><br>
</blockquote></div><br></div>