When using webkit_set_cache_model (WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER), WebKit should disable the cache completely. Now it is not disabled properly.
Yes, this is because setting the cache capacities to 0 doesn't disable the cache, capacities are only used when pruning the cache, but when adding new resources only whether the cache is enabled is checked.
Created attachment 205984 [details] Patch
Comment on attachment 205984 [details] Patch Great!
Committed r152483: <http://trac.webkit.org/changeset/152483>