Header | WordPress.org

[ad_1]

Hi @eliyahna,

You can send custom headers using PHP in WPCode. You will have to create a new snippet and set it to the PHP code type and use a code similar to this:

header('Clear-Site-Date: "cache"');

I recommend using an auto-insert location like “Frontend Only” or “Frontend Conditional Logic” and maybe adding some conditional logic rules to only load this header on some pages to avoid performance issues due to always clearing the cache.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer