Cache blocking: content type: text/xml
I have an unusual request: Is there a way to prevent caching of a particular file with the content type of "text/xml", alot of these files are small and useless. I would want only a file over 25k to be saved.
For example a file with that content type wouldn't be saved to cache unless it is over 25k in size. I have 6000 of these types of files which are saved in cache_001, 002 etc.
All Replies (4)
There is no built-in way to do that, but an add-on might be able to do it. This one doesn't mention treating files of different sizes in different ways, but if it is otherwise effective, you could check with the developer on whether that feature could be added: BetterCache :: Add-ons for Firefox. I haven't tried it myself.
Thank-you for the reply. I tried the bettercache addon, however it didn't work. I think it is only for invididual files stored on disk, and not stored in cache_001 etc.
Thank-you, after doing some research, I finally got the hang of bettercache. My apologies, it does work.
Next question, I have a certain website I want to block the cache, however, its mime-type is undefined.
Looks something like this.
Filename= c1=2&c2=7352209&c3=&c4=%2Fgameshell%2Foptions_dialog&c5=&c6=&c1
Content type is blank
URL looks something like this;
I see that you've created a new thread for your above posted question, so please continue there.
- [/questions/934118] Bettercache with a blank content type