Evitar Cache - Avoid Cache


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <%
  2. Response.Expires=0
  3. Response.Buffer = True
  4. Response.ExpiresAbsolute = Now() - 1
  5. Response.CacheControl = "no-cache"
  6. Response.AddHeader "cache-control", "private"
  7. Response.AddHeader "pragma", "no-cache"
  8. %>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.