]> spindle.queued.net Git - midori/commit
Use g_access in web cache, only SoupSession, pass filenames
authorAlexander Butenko <a.butenka@gmail.com>
Fri, 18 Dec 2009 20:03:00 +0000 (21:03 +0100)
committerChristian Dywan <christian@twotoasts.de>
Fri, 18 Dec 2009 20:21:56 +0000 (21:21 +0100)
commit8c724eccd9e83c54dee91e15f85e40fb34af60bc
tree809966f9f1ba0e5a6dfe30e44d6597f0d1b6017d
parent12ed2da7688e5984baeaf837c83f6d140ad34865
Use g_access in web cache, only SoupSession, pass filenames

Using g_access instead of g_file_test is a lot faster and avoids
big delays when accessing the disk.

Using only the SoupSession without resource-request-starting simplifies
the code. So offline mode is not an option for the moment.

Pass filenames directly to speed up lookups.
extensions/web-cache.c