WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/nocache headers

Description

Sets the headers to prevent caching for the different browsers.

Different browsers support different nocache headers, so several headers must be sent so that all of them get the point that no caching should occur.

Usage

<?php nocache_headers() ?>

Parameters

None.

Return Values

(void) 
This function does not return a value.

Examples

Notes

Change Log

Since: 2.0.0

Source File

nocache_headers() is located in wp-includes/functions.php.

Related

See also index of Function Reference and index of Template Tags.