我最近查看了我的 Firefox 缓存,因为我已使其不缓存:
我找到了这个文件夹doomed
:
/home/arthur-dent/.cache/mozilla/firefox/k29gs42c.default/cache2/doomed
所以我想知道这个文件夹是什么,用途是什么?这是否意味着我完蛋了?
以下是其中包含的一些文件的示例:
-rw------- 1 arthur-dent arthur-dent 2393 May 31 18:49 991673276
-rw------- 1 arthur-dent arthur-dent 2444 May 31 16:46 993458609
-rw------- 1 arthur-dent arthur-dent 3043 May 31 16:47 997747681
查看它们nano
表明它们都是转换后的 DOS 格式。
信息更新:
以下是其中一个文件的内容示例:
0s^Eý^@^@^@^A^@^@^@^AUkHhUkHi;5>Ö^@^@^@^@^@^@^@::https://duckduckgo.com/i.js?q=fat%20pug%20swimming&o=json^@security-info^@FnhllAKWRHGAlo+ESXykKAAAAAAAAAAAwAAAAAAAAEaphjojH6pBabDSgSnsfLHeAAQAAgAAAAAAAAAAAAAAAAAAAAAB4vFIJp5wRkeyPxAQ9RJGKPqbqVvKO0mKuIl8ec8o/uhmCjImkVxP+7sgiYWmMt8F+O2DZM7ZTG6GukivU8OT5gAAAAAAAAUTMIIFDzCCA/egAwIBAgIQC32RdOpqNNosf0CGvxPVRTANBgkqhkiG9w0BAQUFADBIMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMSIwIAYDVQQDExlEaWdpQ2VydCBTZWN1cmUgU2VydmVyIENBMB4XDTE0MDQwODAwMDAwMFoXDTE1MDYxMjEyMDAwMFowbDELMAkGA1UEBhMCVVMxFTATBgNVBAgTDFBlbm5zeWx2YW5pYTEOMAwGA1UEBxMFUGFvbGkxGzAZBgNVBAoTEkR1Y2sgRHVjayBHbywgSW5jLjEZMBcGA1UEAwwQKi5kdWNrZHVja2dvLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMBAeMxgMVrjCA1TPuxo6JysCKqT+kiFIQapRp4pfGGX3QmWdc1e3PmvXweqvKAfgoR/s+tvbuQO9Vt8Fo6VF2p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2GYME9n1u1nwxQG4/iTMjcBP1+7gVtcjjsqf985YrebG7guZtiiXHXUOB4lsxA/zWkLHsOoxd7up5O9MNXG5lDndS8qxxxlCVLaB7E+MSawY9kCSFFphauVXZsbJ6QifgE+U+WNEh0yBr1bmu27JzqkT9upzCIFtQ8cuclYNI3JOGlheIDEYfoevsmwC8AAwAAAAABAQAA^@request-method^@GET^@response-head^@HTTP/1.1 200 OK
Server: nginx
Date: Sun, 31 May 2015 17:44:09 GMT
Content-Type: application/x-javascript; charset=UTF-8
Expires: Sun, 31 May 2015 17:44:08 GMT
Cache-Control: no-cache
Strict-Transport-Security: max-age=31536000
x-duckduckgo-locale: en_GB
Content-Encoding: gzip
X-Firefox-Spdy: 3.1
^@^@^@^@^@
另外,我上面列出的 3 个文件现在已经神奇地消失了,尽管许多其他文件仍然存在。
操作系统信息:
Description: Ubuntu 15.04
Release: 15.04
封装信息:
firefox:
Installed: 38.0+build3-0ubuntu0.15.04.1
Candidate: 38.0+build3-0ubuntu0.15.04.1
Version table:
*** 38.0+build3-0ubuntu0.15.04.1 0
500 http://gb.archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ vivid-security/main amd64 Packages
100 /var/lib/dpkg/status
37.0+build2-0ubuntu1 0
500 http://gb.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
答案1
要完全关闭 Firefox 中的缓存,请打开新选项卡并输入about:config
,然后搜索browser.cache.disk.enable
并双击将其设置为false
。
然后手动删除缓存,重新启动 Firefox,那些注定丢失的文件就消失了。
当前文件存在是因为您的缓存不为 0,这就是它们存在的原因,消失然后被其他文件替换... ;-)