English 中文(简体)
Why do firefox/chrome show a different page than IE8?
原标题:

When I look at this published Google Docs document, I see the latest version with Firefox and Chrome, but an older version with IE8. Also, screen-scraping it via PHP/Curl gives me an older version.

I ve tried CTRL-Refresh in IE8 but I can t get it to show me the newest version. No matter what headers I try to change in PHP/Curl, I can t get it to show me the newest version.

Note: I m sure I could dig in IE8 and find some cache entry to clear, but what is not happening on this URL that is happening on, say, cnn.com which indeed gives me the current news every time I look at it in IE8 and not some cached version of the site from a couple days ago? e.g. is Google Docs not sending some kind of header that browsers (or at least IE and PHP/Curl) expect in order to not show a cached version?

What am I not understanding about browsers/headers/caching here? How can it be that different browsers show different contents of one page?

alt text
(source: deviantsart.com)

最佳回答

Here is the deal: IE is showing the latest version, it s Firefox and Chrome who are caching the page.

Try hitting CTRL + F5 in Firefox and Chrome, if that doesn t work install the Web Developer Toolbar extension for Firefox and pick "Disable Cache" under the "Disable" options menu.

问题回答

Try navigating to & downloading: http://ccleaner.com

Once you ve got it installed, close all your browsers, then run the cleaner. This should clear the cache from all browsers (as well as lots of temp files, etc).

Once done, re-open each browser and try the URL again. I m guessing you have some cached data from the page in your browsers that s affecting your tests.

Looks like the browser is caching the old data. You could try clearing the cache on your browser and re-open the link.





相关问题
Write-though caching of large data sets in WCF?

We ve got a smart client that talks to a SQL Server database via WCF, displaying the entities in the database, and allowing the user to edit those entities. Some of the WCF calls return a large data ...

Clearing RSL in Cache

I have built a flex application which has a "main" project and it is assosciated with a few RSL s which are loaded and cached once i run my "main" application. The problem i am facing is that the ...

how to tell clicking "back" to load cache?

I would like for my site when someone clicks "Back" or "Forward" for the server to tell the browser to load the cache instead of reloading the entire page. I ve tested some headers and done research, ...

java plugin cache and dynamic IP host

I m trying to use Amazon S3 and Amazon Cloudfront CDN to deliver the jar files of my applet application. I m seeing several cache misses of my jars by the java plugin. This is a show-stopper for me, ...

Frequently Used metadata Hashmap

Are there any implementations of a static size hashtable that limits the entries to either the most recently or most frequently used metadata? I would prefer not to keep track of this information ...

PHP - Memcache - HTML Caching

I would like to create a caching system that will bypass some mechanisms in order to improve the performance. I have some examples: 1-) I have a dynamic PHP page that is updated every hour. The page ...

Performance of Sql subqueriesfunctions

I am currently working on a particularly complex use-case. Simplifying below :) First, a client record has a many-to-one relationship with a collection of services, that is, a single client may have ...

热门标签