473,785 Members | 2,363 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

firefox cache & Python

Hi,

I have got into an interesting problem. Today I found that if I type
"about:cache?de vice=disk" (without the quotes) in the address bar of
firefox, it displays disk cache information. Now I am thinking to
write a Python program that will read this cache info. My initial idea
is to somehow save the page in a file and parse it. But how to save
the page without human intervention (pressing ctrl+s) :) ?

Hope I could make it clear what I am trying to do...

Any clue?

regards,
Subeen.
http://love-python.blogspot.com/
Feb 19 '08 #1
2 2267
En Tue, 19 Feb 2008 17:44:57 -0200, subeen <ta************ @gmail.com>
escribió:
I have got into an interesting problem. Today I found that if I type
"about:cache?de vice=disk" (without the quotes) in the address bar of
firefox, it displays disk cache information. Now I am thinking to
write a Python program that will read this cache info. My initial idea
is to somehow save the page in a file and parse it. But how to save
the page without human intervention (pressing ctrl+s) :) ?
Search for "firefox automation"

--
Gabriel Genellina

Feb 19 '08 #2
Searching for FF automation but still no luck.

Any other idea on how to locate the cache directory and then read the
directory ?

regards,
Subeen
http://love-python.blogspot.com/

On Feb 20, 3:20 am, "Gabriel Genellina" <gagsl-...@yahoo.com.a r>
wrote:
>
Search for "firefox automation"

--
Gabriel Genellina
Feb 20 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2908
by: Dave Blair | last post by:
Hi, Hi, In firefox I can't get a page (which queries an SQL database and shows all the available records) to re-fresh with new updated data after a 'javascript:history.go(-4)' is used to return to the page after a new record is added. I have the following code in the page which displays the records:
1
2862
by: Bill H | last post by:
I run a dbms application that interfaces with the web. This module creates a frames page with two frames ('main' and 'mwinfoframe'). All communication with the dbms is routed through the 'mwinfoframe' (it's sort of hidden in that it is assigned 1% (so I can view it in IE). I'm having problems with Firefox working properly while both IE 6 and Netscape v7.x work as expected. The following is additional information. A list of reports...
3
12636
by: Sergey Surkov | last post by:
Hello Does anybody know how to make FireFox to cache data that comes via XMLHttpRequest? Here is the issue I deal with: - On the web server (apache2) I have a static xml file test.xml - When I download test.xml using XMLHttpRequest, FireFox always gets complete test.xml from the server, thus not using the browser cache (apache sends 200 OK back to FireFox). - If I look into the HTTP request and the HTTP response, I can see that FireFox...
2
3328
by: warteschlange | last post by:
Martin Honnen wrote: >You can set HTTP request headers if you need to > var httpRequest = new XMLHttpRequest(); > httpRequest.open('GET', 'file.xml', true); > httpRequest.setRequestHeader('Cache-Control', > 'desired cache value here') if you send httpRequest.setRequestHeader('Cache-Control', 'public'); or httpRequest.setRequestHeader('Cache-Control', 'max-age=3600, public');
1
2156
by: Gerald Stampfel | last post by:
Hi, i am doing ajax requests to an IIS server. the response is a JSON string, stored in xml.responseText. in IE everything is fine. in firefox, only a part (80%) of the string is delievered in 8 out of 10 cases; sometimes it does work, but in most of the cases it does not. both browsers receive the same response header from IIS: Server: Microsoft-IIS/5.1 Date: Thu, 01 Jun 2006 19:22:06 GMT
2
2146
by: jeanray | last post by:
I have a site made entirely with AJAX, base PhP and MySQL, so the is only one page (index.php). The user goes through various selections and an image is formed (on the server), then sent back to the client to show the updated image (SAME IMAGE NAME) It did not work "all the time" (IE7). I realised that the first image was stored in the cache and that, when the new image came, the image displayed was the one from the user's CACHE! Easy...
2
2428
by: firstexact | last post by:
Hi guys, First post, hope you can help, I have done two sites www.trisant.co.uk and my own www.firstexact.co.uk. The 2 x 2 grid I originally envisaged goes haywire in Firefox as I get a 4 high by 1 wide grid. think it's something to do with my floats and clear both with a <br> in CSS..I have tried everything I can think of, the sites are fine in IE 6/7..Some of the text formatting and the navigation fonts are in different places.. Here's...
4
2437
by: ak121234 | last post by:
Hello, We have written a page which views correctly in Internet Explorer. As well, the page views ok for some of the other programmers on their machines in FireFox. The other programmers are running either Windows 2000 or Windows 2003. Yesterday, I downloaded FireFox on my machine which is running XP Home. Whenever I try to browse the site it's giving me the following error. Can any one point me in the right direction. Thanks in...
1
4223
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being aligned to the top, along with the slideshow and link buttons, you have to scroll down to see the text - how can I make IE6 display correctly? http://geekarama.co.uk/new_home.html here is the code for new_home.html and following that the CSS...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9485
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8986
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7506
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5523
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4058
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3662
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.