Use Meta to cancel the traffic cache to refresh the page every time you visit it for easy debugging

Use Meta to cancel the traffic cache to refresh the page every time you visit it for easy debugging

Copy code
The code is as follows:

<!-- Prevent the browser from accessing pages from the local cache. -->
<meta http-equiv="pragram" content="no-cache">
<!--The web page is not saved in the cache and is refreshed every time it is visited. -->
<meta http-equiv="cache-control" content="no-cache, must-revalidate">
<!--Same as above, you must reload the page-->
<meta http-equiv="expires" content="0">
<!--The expiration time of the web page in the cache is 0. Once the web page expires, it must be re-subscribed from the server-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<<:  Login interface implemented by html+css3

>>:  JavaScript to achieve balance digital scrolling effect

Recommend

CenterOS7 installation and configuration environment jdk1.8 tutorial

1. Uninstall the JDK that comes with centeros fir...

An article teaches you how to use Vue's watch listener

Table of contents Listener watch Format Set up th...

A brief discussion on tags in HTML

0. What is a tag? XML/HTML CodeCopy content to cl...

Use Smart CSS to apply styles based on the user's scroll position

By adding the current scroll offset to the attrib...

Centos8 builds nfs based on kdc encryption

Table of contents Configuration nfs server (nfs.s...

Use Docker Compose to quickly deploy ELK (tested and effective)

Table of contents 1. Overview 1.1 Definition 1.2 ...

How to install Docker CE on Ubuntu 18.04 (Community Edition)

Uninstall old versions If you have installed an o...

WeChat Mini Program to Implement Electronic Signature

This article shares the specific code for impleme...

A guide to writing flexible, stable, high-quality HTML and CSS code standards

The Golden Rule Always follow the same set of cod...

How to change the root password in a container using Docker

1. Use the following command to set the ssh passw...

Steps to run ASP.NET Core in Docker container

There are too much knowledge to learn recently, a...

How does MySQL ensure master-slave consistency?

Table of contents The basic principle of MySQL ma...

MySQL trigger definition and usage simple example

This article describes the definition and usage o...