Title: cache miss
Last modified: May 6, 2017

---

# cache miss

 *  Resolved [aelsharawi](https://wordpress.org/support/users/aelsharawi/)
 * (@aelsharawi)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/cache-miss/)
 * Hi this is the header for my cache, why it is missed?
    Date: Sat, 06 May 2017
   15:08:50 GMT Content-Type: text/html; charset=UTF-8 Vary: Accept-Encoding Set-
   Cookie: wordpress_logged_in_numbersssssss0604750faa90; expires=Sat, 06-May-2017
   16:08:50 GMT; Max-Age=3600 X-VC-Enabled: true X-VC-TTL: 600 X-VC-Debug: true 
   Link: <[https://domain/?p=8280&gt](https://domain/?p=8280&gt);; rel=shortlink
   Server: nginx X-Powered-By: nginx Content-Encoding: gzip X-VC-Cacheable: NO:Not
   cacheable, ttl: 0.000 X-Varnish: 17 Age: 0 Via: 1.1 varnish (Varnish/5.1) X-VC-
   Cache: MISS X-VC-Hash: /url requested Connection: keep-alive
 * ====
 * also I cant get the statistics on the backend altough it I made and pointed the
   json file

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

 *  Thread Starter [aelsharawi](https://wordpress.org/support/users/aelsharawi/)
 * (@aelsharawi)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/cache-miss/#post-9103989)
 * This is my basic modifications for woocomerce:
    #### woocomerce cookie # Unset
   Cookies except for WordPress admin and WooCommerce pages if (!(req.url ~ “(wp-
   login|wp-admin|cart|my-account/*|wc-api*|checkout|addons|logout|lost-password
   |product/*|courses/*)”)) { # set req.http.X-VC-Cacheable = “NO:dynamic logged
   in cookie”; unset req.http.cookie; } # don’t cache these special pages. Not needed,
   left here as example if (req.url ~ “courses/*|cart|my-account|checkout|addons
   |nocache|wp-admin|wp-(comments-post|login|activate|mail)\.php|bb-admin|server-
   status|control\.php|bb-login\.php|bb-reset-password\.php|register\.php”) { set
   req.http.X-VC-Cacheable = “NO:Special page: ” + req.url; return(pass); }
 * ### another skip pages
    if ( req.url ~ “\?add-to-cart=” ) { set req.http.X-VC-
   Cacheable = “NO:Special page: ” + req.url; return (pass); }
 *  Thread Starter [aelsharawi](https://wordpress.org/support/users/aelsharawi/)
 * (@aelsharawi)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/cache-miss/#post-9104170)
 * this is the curl command
 *     ```
       Set-Cookie: learn_press_user_guest_id=1494088783; expires=Sat, 06-May-2017 18:39:43 GMT; Max-Age=7200; path=/
       Set-Cookie: learn_press_user_guest_id=1494088783; expires=Sat, 06-May-2017 18:39:43 GMT; Max-Age=7200; path=/
       ```
   
 * is that because of Set-Cookie: learn_press_user_guest_id=
 * but my whole website is based on learnpress
 * how to solve this?
 *  Plugin Author [Razvan Stanga](https://wordpress.org/support/users/razvanstanga/)
 * (@razvanstanga)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/cache-miss/#post-9107181)
 * VCaching bypasses caching for logged in users.
 *  Plugin Author [Razvan Stanga](https://wordpress.org/support/users/razvanstanga/)
 * (@razvanstanga)
 * [9 years ago](https://wordpress.org/support/topic/cache-miss/#post-9144558)
 * Closed.

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

The topic ‘cache miss’ is closed to new replies.

 * ![](https://ps.w.org/vcaching/assets/icon-256x256.png?rev=1293998)
 * [Varnish/Nginx Proxy Caching](https://wordpress.org/plugins/vcaching/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/vcaching/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/vcaching/)
 * [Active Topics](https://wordpress.org/support/plugin/vcaching/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vcaching/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vcaching/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Razvan Stanga](https://wordpress.org/support/users/razvanstanga/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/cache-miss/#post-9144558)
 * Status: resolved