Tuesday, 15 March 2011

html - Http Expire Document? -



html - Http Expire Document? -

i seen 'document expired' on browsers including 1 using (firefox 18.0.2). can't seem create page expire. tried sending these in headers

expires: thu, 01 jan 1970 00:00:00 gmt pragma: no-cache cache-control: no-cache

and set these in html

<!doctype html> <html> <head> <title>the title</title> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="thu, 01 jan 1970 00:00:00 gmt"> <meta http-equiv="pragma" content="no-cache"> </head>

but no luck. tried looking @ mdn couldn't figure out. how create page expire? i'm testing summiting form via <form method="post" enctype="multipart/form-data"> , hitting back.

html firefox

No comments:

Post a Comment