I have a frame window which displays a html page based on the contents of a data binary file. There are a number of these data files, so I use an index to display the html version of which ever file, in the output frame. So suppose i have five different html pages I can display in my output frame, is it possible to use cgi to generate five html pages that can be sent to the client along with the parent frame. THerefore if i decide to view the fifth file for the second time, the browser will display the locally stored version of this file. At the moment the index is given the url of a cgi file, so each time a page is indexed a new version is downloaded from the server(this is not a html file, but cgi prints instead). I dont consider this atall efficient
It might also be an idea to use a log file at the server which indicates when each file was last updated. If the locally stored file is current then theres no need to download a new version.
Im not at all sure about any of this so if anyone could shed some light on it I would be grateful
THANX Baz
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.