Frequently Asked Questions

Q:

Is there a way to tell OmniWeb NOT to cache a page? I have written a CGI that is called from a static page. The contents of the body should change over the course of the day. However, after the first execution of the HTML, the page does not update unless an explicit reload is done. Is there a way to force OmniWeb to re-execute the script?

A:

We cache searches because one of the discussions we found in a standards working group indicated that this was the right thing to do--that a browser could expect that the same search would always return the same answer. Unfortunately, since the most popular browsers don't do this, it isn't what people expect or want (so we'll probably stop doing it in the next release).

However, there is a reasonable solution to the problem: we don't cache forms, and you can build a form that is the equivalent of any anchor.

The following form is an example that will generate the exact same query as a search anchor--so you should be able to drop something like this in a static page and not have to change anything about the perl script.

<FORM ACTION="/NYIR_CGI/SHARED/COMMENTARY/SearchGroup.pl">

<INPUT TYPE="hidden" NAME="Category" VALUE="IRW3_BNDOPTCOM">

<INPUT TYPE="hidden" NAME="PREV" VALUE="/NYIR_DOCS/COMM/index.html">

<INPUT TYPE="submit" VALUE="IRW3_BNDOPTCOM Bond Option Commentary from London">

</FORM>

Valid for 1.0

Fixed in 2.0



Product literature and demonstration software are available. For more information about this or any other Lighthouse Design product, send e-mail to info@lighthouse.com.


Copyright 1995 Lighthouse Design, Ltd. 2929 Campus Drive, San Mateo, CA 94403 USA. All rights reserved.