全页缓存已打开(Magento EE版本1.14.0.1)。但是,某些产品在点击URL时就会出现重定向循环。日志中没有错误。如果我清除了full_page_cache,那么它现在可以工作。我在full_page_cache文件夹中搜索有问题的URL,这是我得到的(以序列号形式):
array (
  'cache_subprocessor' => 'Enterprise_PageCache_Model_Processor_Product',
  'current_product_id' => '400',
  'response_headers' => 
  array (
    0 => 
    array (
      'name' => 'Content-Type',
      'value' => 'text/html; charset=UTF-8',
      'replace' => false,
    ),
    1 => 
    array (
      'name' => 'X-Frame-Options',
      'value' => 'SAMEORIGIN',
      'replace' => true,
    ),
    2 => 
    array (
      'name' => 'P3p',
      'value' => 'CP="CAO PSA OUR"',
      'replace' => true,
    ),
    3 => 
    array (
      'name' => 'Location',
      'value' => 'http://www.example.com/this-is-the-product-url',
      'replace' => true,
    ),
  ),
  'routing_aliases' => 
  array (
    'rewrite_request_path' => 'this-is-the-product-url',
  ),
  'routing_requested_route' => 'catalog',
  'routing_requested_controller' => 'product',
  'routing_requested_action' => 'view',
  'sid_cookie_name' => 'frontend',
)
其他产品没有这个:
   3 => 
    array (
      'name' => 'Location',
      'value' => 'http://www.example.com/this-is-the-product-url',
      'replace' => true,
    ),
如果我清除了整个页面缓存,则不会发生这种情况,因此间歇出现在随机产品上。我无法复制重定向循环的原因。任何的想法?
                  我也面临着同样的问题,直到现在都没有找到任何解决方案。
                
                
                  
                    —
                    Anshu Mishra 2015年
                    
                  
                
              
                  @AnshuMishra,您是否使用其他缓存机制,例如cloudlflare?
                
                
                  
                    —
                    user1240207 
                    
                  
                
              
                  除了默认的Magento缓存机制外,我正在使用Google Page Speed
                
                
                  
                    —
                    Anshu Mishra 
                    
                  
                
              