Cache Notes: Difference between revisions

Jump to navigation Jump to search
Line 13: Line 13:
*Consider other eviction options
*Consider other eviction options
**Prioritize by file type, giving css and js higher priority
**Prioritize by file type, giving css and js higher priority
**Evict based on frecency, not just recency (frequency + recency)
**Evict based on "frecency", not just recency (frequency + recency)
**Use Adaptive Replacement Cache algorithm: http://en.wikipedia.org/wiki/Adaptive_replacement_cache  
**Use Adaptive Replacement Cache algorithm: http://en.wikipedia.org/wiki/Adaptive_replacement_cache  
**We could consider letting servers specify "cache-priority" with resources. This leads to other issues, like fairness.
**We could consider letting servers specify "cache-priority" with resources. This leads to other issues, like fairness.


*Keep dimensions of evicted img files, so layout can still render before the image data arrives across the network
*Keep dimensions of evicted image files, so layout can still render before the image data arrives across the network
*Compress cache entries?
*Compress cache entries?
**This could save space and improve I/O time
**This could save space and improve I/O time
*Don't throw away the entire cache when the browser crashes.
And here are some miscellaneous items:
*Add more info to about:cache, including hit rates and other info.


== List of Other Cache Resources ==
== List of Other Cache Resources ==
21

edits

Navigation menu