The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniWeb General (http://forums.omnigroup.com/forumdisplay.php?f=8)
-   -   Caches bypassed when loading workspaces (http://forums.omnigroup.com/showthread.php?t=725)

Tesseract 2006-06-10 11:22 AM

Caches bypassed when loading workspaces
 
I've noticed that when I load a workspace in OmniWeb, every request causes a TCP_CLIENT_REFRESH_MISS on my Squid proxy. (Normal browsing does not.) Presumably this is because OW is sending a "Pragma: no-cache" or "Cache-Control: no-cache" header.

What is the rationale for this behaviour? Is there any way to change it? Squid is pretty good at figuring out when resources need to be refreshed, so I would only like OW to force a refresh when I manually request it.

Len Case 2006-06-11 01:44 AM

Ideally we would rather revalidate pages rather than forcing a reload, but there isn't an API in WebKit for that. Our current options are to prefer the cache or force a reload--if you would prefer to load from the cache, you can set a hidden default
[CODE]defaults write com.omnigroup.OmniWeb5 WorkspacesLoadFromCache -bool true[/CODE]

Tesseract 2006-06-11 11:35 AM

Thanks, that will do nicely. :)

Mad Hatter 2006-06-12 03:31 AM

Hidden Defaults...
 
Is there a list anywhere of what all of the hidden preferences and defaults are?

Something akin to the keyboard shortcuts?

Len Case 2006-06-12 04:26 AM

There is a list on omni's website...[INDENT][url]http://www.omnigroup.com/Documentation/OmniWeb/DefaultsList-5.0.html[/url][/INDENT]
but it is not 100% complete (as I found when I went to look up the default i shared with you).

zdlo 2010-12-02 08:01 PM

[QUOTE=Len Case;3142]Ideally we would rather revalidate pages rather than forcing a reload, but there isn't an API in WebKit for that. Our current options are to prefer the cache or force a reload--if you would prefer to load from the cache, you can set a hidden default
[CODE]defaults write com.omnigroup.OmniWeb5 WorkspacesLoadFromCache -bool true[/CODE][/QUOTE]

Excuse me, but, what do we do with this code? And can it still be used with 5.10.3? Why not putting it as an option under the preferences?

whpalmer4 2010-12-02 08:57 PM

[QUOTE=zdlo;89836]Excuse me, but, what do we do with this code? And can it still be used with 5.10.3? Why not putting it as an option under the preferences?[/QUOTE]
It's a Terminal command. Launch the Terminal app (it's in your Applications/Utilities folder) and copy and paste that string in, followed by pressing the return key. Best to do it when OmniWeb isn't running.

As for whether or not it works, why not try it? If you can't tell if it is working or not, it must not matter :-)


All times are GMT -8. The time now is 09:16 AM.

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