Title: Age Header Missing
Last modified: September 3, 2023

---

# Age Header Missing

 *  [bandsaw12](https://wordpress.org/support/users/bandsaw12/)
 * (@bandsaw12)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/age-header-missing/)
 * I am using a NGINX reverse proxy on a remote machine. Installed and configured
   caching. Using your health check, it is reporting “Your domain does not report
   an “Age” header, making it impossible to determine if the page is actually serving
   from cache.”
 * Despite numerous google searches, I can not get NGIX to return any age details
   in the header. I.e Curl -I URL
 * What is the exact header name or title that your plugin is looking for. The only
   age header that I can return is
 * add_header X-Cache-date $upstream_http_date;

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [2 years, 8 months ago](https://wordpress.org/support/topic/age-header-missing/#post-17028439)
 * This is true, Nginx does not have that out of the box. But that does mean that
   the check will never work because it cannot tell if the file has, in fact, been
   cached. Basically your server isn’t telling it if it was cached.
 * You can, however, MAKE an age header.
 * [https://stackoverflow.com/questions/38071617/how-to-display-the-age-of-an-nginx-cached-file-in-headers](https://stackoverflow.com/questions/38071617/how-to-display-the-age-of-an-nginx-cached-file-in-headers)
 * Edit: Actually that error means your Nginx box isn’t returning a proper X-Varnish
   header either. The checker was built to look for that and, if it’s valid, return
   true on all age checks. Make sure `'X-Varnish'` is returning `HIT`
    -  This reply was modified 2 years, 8 months ago by [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/).
 *  Thread Starter [bandsaw12](https://wordpress.org/support/users/bandsaw12/)
 * (@bandsaw12)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/age-header-missing/#post-17028616)
 * Thank you. The X-Varnish is the piece of information that is missing in your 
   documentation. If I may suggest, add to your product description exactly what
   header names your product is looking for. As I read the description, I am assuming
   the plug in works for both NGINX and Varnish. I don’t read it as NGINX with Varnish.
 * Just curious, do you really need the age header at all? If you get a cache status
   of HIT, then the page is cached? Yes?
 * I will try changing my cache status header to X-Varnish and see if I get this
   working.
 * Also, again, if I may so, if negative results of the cache checks does not always
   impede the operation of your plug in, the failed check should say so. As it is,
   the Age check shows red and I take it as meaning a show stopper.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Age Header Missing’ is closed to new replies.

 * ![](https://ps.w.org/varnish-http-purge/assets/icon-256x256.png?rev=3027185)
 * [Proxy Cache Purge](https://wordpress.org/plugins/varnish-http-purge/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/varnish-http-purge/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/varnish-http-purge/)
 * [Active Topics](https://wordpress.org/support/plugin/varnish-http-purge/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/varnish-http-purge/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/varnish-http-purge/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bandsaw12](https://wordpress.org/support/users/bandsaw12/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/age-header-missing/#post-17028616)
 * Status: not resolved