Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My bookmarks.html file is 40 MB in size. Anytime I edit a bookmark in Bookmark Manager (Firefox), I find myself waiting 5-10 seconds for the operation to complete. (If I open up Activity Monitor, I can see there is a lot of disk activity).

Q: How can I tell my OS to specifically cache the file "bookmarks.html" (so that read/write operations on that file are fast) ?

share|improve this question

1 Answer 1

This really is not an OS X issue...

To my knowledge there is no way to tell any mainstream OS to specifically Cache a particular file. That is done automatically by the OS. The OS detects the reading or writing to the file, and automatically stores the contents in a memory buffer for some period of time, especially if it detects frequent access to the file. (Yes, I'm simplifying, but the core concept is valid).

(Please note, I'm seperating the idea of placing the file on a RAM Drive from caching it, since it's not transparent to the user)

Now, I'm more concerned with the fact that your bookmarks file is 40 MB in size... Are you sure of this? Unless you have tens of thousands of booksmarks, I wouldn't expect you to be anywhere near 40 MB.

And if it, then I would suggest validity your bookmarks, and making sure that you don't have bad links in there... Here's one plugin for Firefox that does this...

share|improve this answer
    
Yes, I have tens of thousands of bookmarks. Basically a lot of Q&A on programing problems and solutions (best solutions being voted up by dragging up), along with solution provenance, all in specific contexts. I maintain them as a Splay Tree so that most recent work is quick to access and provides for serendipitous rediscovery (a year later). Closest thing to a mind upload via a standard bookmark manager. –  russian_spy Nov 4 '11 at 5:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.