Necko/MobileCache: Difference between revisions

m
(Created page with "== How we're using this wiki page == We're using this wiki page to organize and prioritize our necko work on mobile HTTP disk caching. We're keeping track of both TODO lists, a...")
 
Line 61: Line 61:
* Only cache items that don't require revalidation? (on theory that with a high latency network, most revalidates don't save much time).
* Only cache items that don't require revalidation? (on theory that with a high latency network, most revalidates don't save much time).
* Various ideas to improve hit rate of cache (both memory and disk caches) given small cache size  
* Various ideas to improve hit rate of cache (both memory and disk caches) given small cache size  
** Compress currently uncompress items ([https://bugzilla.mozilla.org/show_bug.cgi?id==648429 bug 648429])
** Compress currently uncompress items ([https://bugzilla.mozilla.org/show_bug.cgi?id=648429 bug 648429])
** Use a smarter scheme than plain LRU for disk cache ([https://bugzilla.mozilla.org/show_bug.cgi?id==648605 bug 648605])
** Use a smarter scheme than plain LRU for disk cache ([https://bugzilla.mozilla.org/show_bug.cgi?id=648605 bug 648605])
** Only store certain file types  
** Only store certain file types  
** See if lowering max cache item size for memory cache improves perf.
** See if lowering max cache item size for memory cache improves perf.
* Store cache using a single (mmapped?) file or small number of files
* Store cache using a single (mmapped?) file or small number of files
** simpler version of this might be to have BLOCK files for larger file sizes ([https://bugzilla.mozilla.org/show_bug.cgi?id==593198 bug 593198])
** simpler version of this might be to have BLOCK files for larger file sizes ([https://bugzilla.mozilla.org/show_bug.cgi?id=593198 bug 593198])
Confirmed users
1,759

edits