#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Location
    Winnipeg, Canada
    Posts
    10
    Rep Power
    0
    Hi everyone,

    Is there a way with cgi & perl to disable the caching of a page? I'm new with these two.
    I know in php you would use:
    header ("Cache-Control: nocache,must-revalidate");
    header ("Pragma: no-cache");

    Thanks!



    ------------------
    Thanks,
    Rick Salsa
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Location
    Indiana
    Posts
    614
    Rep Power
    15
    You can send those same headers with perl/cgi:

    print "Cache-Control: nocache,must-revalidaten";
    print "Pragma: no-cachen";
    print "Content-type: text/htmlnn";

    Whether it work or not, I have no idea. I'm just saying that you can send the same headers.

IMN logo majestic logo threadwatch logo seochat tools logo