For example let us say that we want to save a list of URLs and this list is updated dynamically. The following are the ways that I see this can be done.
1) Save in a text file
2) Save in a SQLite data base
3) Save in a preference (I know preferences are for storing preferences but is there any drawback of using a preference?)
What is the best method to save data related to a Firefox add-on? If a generic answer is not possible, what is the best method for a situation like the example above? And why do you think that such a method is appropriate and others are not?