Title: basic cache different redirect url cached
Last modified: June 25, 2019

---

# basic cache different redirect url cached

 *  Resolved [agrisv](https://wordpress.org/support/users/agrisv/)
 * (@agrisv)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/basic-cache-different-redirect-url-cached/)
 * Hi! In Basic Cache Mode. After around 2-5 min i can search cached response to
   domain [https://elevate-conference.xyz](https://elevate-conference.xyz)
    But 
   our domain are web.lv for example. Even one day INDEX page was cached with such
   response. Question: from where it come? Headers/source code? No such url in source
   files and plain db dump. So only left are headers.
 *     ```
       /var/www/web/wp-content/cache/page/7d8/6ea/7d86eaf6bfcf1cc8169b884742ceb849.php:1:h<]<?php exit; ?>a:4:{i:404;b:0;s:7:"headers";a:2:{s:11:"Status-Code";i:302;s:8:"Location";s:109:" https://elevate-conference.xyz/DjzNzz?q=%2Ftag%2Fvita-varpina%2F&se_referrer=https%3A%2F%2Fwww.google.com%2F";}s:4:"time";i:1561472600;s:7:"content";s:0:"";}
       ```
   
 * cloudflare->server->nginx->php
    wp 5.2.x, php 7.3, all maintained plugins updated
   access log related url:
 *     ```
       GET /tag/vita-varpina/ HTTP/1.1" 302 12 "https://www.google.com/" "Mozilla/5.0 (Linux; Android 8.1.0; Redmi S2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36
       ```
   
 * have some recommendations for debugging?

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/basic-cache-different-redirect-url-cached/#post-11671089)
 * Hello,
 * W3 Total Cache only caches what your business logic outputs.
    So, in this case,
   you should check there.
 *  Thread Starter [agrisv](https://wordpress.org/support/users/agrisv/)
 * (@agrisv)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/basic-cache-different-redirect-url-cached/#post-11671177)
 * And how my logic are different from disk-enhanced vs disk-basic? with enhanced
   variant no problems..
    let say two modes take same generated response from wordpress
   and save in file, on mode in static html other mode in php file.
 * How saved responses could be different?
 * Can you tell the lines/file, where i can add code to simple logging all request
   and saved result at disk-basic cache.
    thanks.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/basic-cache-different-redirect-url-cached/#post-11672386)
 * Hello,
 * The disk-enhanced caching method doesn’t cache redirect responses. It just technically
   cannot do it.
    Other cache engines however can and do.

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

The topic ‘basic cache different redirect url cached’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/basic-cache-different-redirect-url-cached/#post-11672386)
 * Status: resolved