The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniWeb > OmniWeb Bug Reports
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Caching issues Thread Tools Search this Thread Display Modes
I'm working on a local web server, i.e. /Library/Webserver/Documents/ == http://www.example.com/

When I change a file on this server, and reload the http address, the changes do not appear. If I change an image, this problem is even worse.
Flush the Cache. Command+R seventeen times. No change.

Open up the image in preview. Open it up via the file protocol. Open the URL in Firefox—all of these reflect the change.

Reload #18: No change.

Firefox has a "Force Reload" option, shift+command+R that automatically bypasses the cache. A similar option would be nice. Or at least make Flush Cache work.

This is a major issue with development use of OW.

(thanks for the great work so far though)
 
Hmm … I haven't seen this behavior on my local webserver yet. Just tested replacing a picture with another of the same name, and a simple reload works.

Maybe you have configured OW but not Firefox to use a proxy server? That's the only explanation that comes to my mind at the moment. ;-)
 
I've seen lots of caching issues with 5.5 on remote web servers. 5.1.3 doesn't have these issues.
 
Double checked—no proxy server. I am using OW 5.5 (v607). I have the "Validate cached content" set to "Automatic" and I really don't want to change that for the rest of the Web.
 
I'm not certain we got the "Validate cached content" setting working in 5.5--at least not for browsing (it might work for bookmark change checking since it still uses our old networking code instead of Apple's).

I don't think anything cached should be able to survive flushing the cache and reloading--could your webserver be caching in some way?
 
Quote:
Originally Posted by Len Case
I don't think anything cached should be able to survive flushing the cache and reloading--could your webserver be caching in some way?
Were the web server caching the file, wouldn't my results be similar in both Firefox and OmniWeb?
 
Quote:
Originally Posted by Forrest
I've seen lots of caching issues with 5.5 on remote web servers. 5.1.3 doesn't have these issues.
Including a press on the reload button? Hm. That has always worked for me.
 
Quote:
Originally Posted by zottel
Including a press on the reload button? Hm. That has always worked for me.
Even hitting reload 20 times, it still pulls from cache.
 
Greetings.

A web browser can actually send (at least) two different kinds of GET requests, and one instructs the server to flush caches and regenerate the content. (I forget the HTTP codes.) FireFox sends this "give me a fresh copy, dammit!" code when you use shift-command-(reload menu item). I think Safari might do it if you reload twice in a row, but I'm not 100% certain about that.

I discovered this when I ran into a caching problem that sounds similar to the one that started this thread. I was doing through-the-web authoring with the Plone content management system, and images I'd uploaded to replace others weren't displaying properly; the old image was still being sent (though at the new image's dimensions, which was a bit strange). I eventually convinced myself that it wasn't being cached on my local machine, by trying from multiple browsers and machines. But if I used FireFox's shift-command-reload, *bing* the server bypassed its own cache and the new image was displayed. I verified this interpretation by solving the same problem another way, going to the server's control panel and making it dump all its caches. I also looked at the server logs in detail, and noticed that a different request came in.

And that little feature makes Firefox very, very handy for authoring/development with servers that do any server-side caching, or when you have a caching proxy anywhere between you and the server. It would be a great feature to have in OmniWeb.

HTH,
:ian
 
Quote:
Originally Posted by Forrest
Even hitting reload 20 times, it still pulls from cache.
Does that mean there is no point in setting my preferences to:
Validate cached content "Always"?

Always wondered why OW was telling me I'm not connected to the internet when I am.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
various issues sromni OmniWeb General 5 2012-03-11 04:10 PM
3 way sync issues dancingbrook iDisk/MobileMe/.Mac Syncing 4 2010-03-30 04:59 PM
Known Issues kaebot OmniFocus 1 for Mac 0 2008-01-11 01:11 PM
page icon caching is excessive leeharveyosmond OmniWeb Bug Reports 1 2007-07-31 04:47 AM
Site indexing & caching Forrest OmniWeb Feature Requests 2 2006-09-24 09:43 PM


All times are GMT -8. The time now is 12:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.