Search
(Navigator)
1.* Photos * | 2.Best/Pano/Minis | 3.My Adventures | 4.Travels | 5.Questions/Answers | 6.Prog | 7.Maps | 8.Cool

Programming

1.Unix | 2.* Perl * | 3.PHP | 4.ASP.NET | 5.ASP | 6.Visual C++ | 7.Visual Basic | 8.JavaScript | 9.HTML | 10.CSS |
11.CGI, bin and Perl | 12.Cygwin | 13.Linux | 14.mySQL | 15.Python | 16.robertbody C++ & *.BAT |
17.Unix Notes (live) | 18.Perl Notes (live)
HTML


Expiring pages - preventing browser caching
Suggestion 1 (also put in <header> between </body> and </html>)
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="-1"> 
Suggestion 2
    <meta HTTP-EQUIV="Expires" CONTENT="0">
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-store">
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
Suggestion 3
   <META HTTP-EQUIV="EXPIRES" CONTENT="Thu, 1 Jan 1970 00:00:01 GMT">
   <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
   <META HTTP-EQUIV="PRAGMAS" CONTENT="NO-CACHE">

Reloading pages
Javascript
  • document.location=URL; // load new URL
  • document.location.replace(URL); // load new URL, replacing entry in History

the suggested method is referencing document.location, though all of these should work:
Location:
location=*
location.href=*
location.reload()

location.replace(*)
Document:
document.location=*
document.location.href=*
document.location.reload()

document.location.replace(*)
Window:
window.location=*
window.location.href=*
window.location.reload()

window.location.replace(*)

Formatting text
Cascading Style-Sheets (CSS)

also
To put list entries just below this top line of text (without extra space):
  • Place <li> (line item) for a bullet on each line
  • enclose with <ul> (unordered list)
  • enclose with a table - text in row 1, list in row 2
Counter:
Last Updated: Thu, September 1, 2005 20:07