---
title: "page cache set"
author: "taink"
date: "2010-12-02T17:03:37Z"
tags: ["Cache"]
categories: ["Web前端"]
slug: "page-cache-set"
draft: false
lastmod: "2010-12-02T17:03:37Z"
id: 831791
url: "https://taink.iteye.com/blog/831791"
---

response.setHeader("Cache-Control","no-cache"); //HTTP   1.1   
    response.setHeader("Pragma","no-cache");        //HTTP 1.0   
    response.setDateHeader("Expires", 0);