This forum has been archived. All content is frozen. Please use KDE Discuss instead.

how to disable http cache?

Tags: None
(comma "," separated)
dreamz
Registered Member
Posts
70
Karma
0
OS

how to disable http cache?

Tue Feb 16, 2010 5:08 am
is there any way to disable http caching? i've already disabled caching in rekonq and konqueror, but for some reason, ~/.kde4/cache-arch/http keeps filling up with tiny files.

thanks. :)
xxtjaxx
Registered Member
Posts
58
Karma
0
OS

Re: how to disable http cache?

Tue Feb 16, 2010 5:16 am
Open Konqueror open Settings, Go to Cache in the "Surfing on the internet"-note and disable it.

Have fun!


My blog :
http://adreasdevblog.wordpress.com

I work with the head developer on this one:
http://techbase.kde.org/Projects/Aki

My code repository on github:
https://github.com/xxtjaxx/xxtjaxxRepository/tree
dreamz
Registered Member
Posts
70
Karma
0
OS

Re: how to disable http cache?

Tue Feb 16, 2010 5:22 am
here's what i did: load konqueror > settings > configure konqueror > web browsing > cache > uncheck 'use cache'. i did something similar in rekonq.

but that didn't work.
xxtjaxx
Registered Member
Posts
58
Karma
0
OS

Re: how to disable http cache?

Fri Feb 19, 2010 4:16 pm
I actually have checked again and suprisingly I dont have such file in my .kde4 directory.
But if you feel confident to work with the commandline. I will show you a little trick to find out which applications have files opened and which those are.

Just open a Konsole session and type
Code: Select all
lsof | grep ~/.kde4/cache-arch/http

Well this is what it does:
lsof is a small application that will list all (and I mean ALL) files that are currently held open by applications and processes on your system. Believe me those can be loads when you let a machine run for >2days(mine runs since 4 days at the moment) which results in a session with (here) ca 11000 files/pipes/connections(TCP/IP) open.

The | in this snippet just takes ALL the output that goes out of lsof and gives it to the next command as if it was something you typed in after starting the second command.

Now grep and friends are some of my mooooost beloved friends since they help filtering out all the stuff I dont want to see out of what it gets as input(such as lsof's output) and only shows you what you asked it for. Like in this example grep will only search for lines where "~/.kde4/cache-arch/http" is in the lines content.

So if this will print a line like this:
Code: Select all
konqueror  29317     andreas  mem       REG                8,1     26048     196679 /usr/lib/gconv/gconv-modules.cache

Please tell what there is written just paste it here.


My blog :
http://adreasdevblog.wordpress.com

I work with the head developer on this one:
http://techbase.kde.org/Projects/Aki

My code repository on github:
https://github.com/xxtjaxx/xxtjaxxRepository/tree


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]