久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

讓清漆在 Magento 上工作

Getting Varnish To Work on Magento(讓清漆在 Magento 上工作)
本文介紹了讓清漆在 Magento 上工作的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

首先請原諒我對Varnish完全缺乏了解.這是我第一次使用 Varnish 做任何事情.

First please forgive me for total lack of understanding of Varnish. This is my first go at doing anything with Varnish.

我正在關注以下示例:http://www.kalenyuk.com.ua/magento-performance-optimization-with-varnish-cache-47.html

但是,當我安裝并運行它時,Varnish 似乎沒有緩存.我確實得到了帶有單個數(shù)字的 X-Varnish 標頭和一個值為 1.1 清漆的 Via 標頭

However when I install and run this, Varnish does not seem to cache. I do get the X-Varnish header with a single number and a Via header that has a value of 1.1 varnish

我被告知(我的 ISP)這是因為 Magento 設置了以下 cookie:

I have been told (by my ISP) it is because of the following cookie that Magento sets:

Set-Cookie: frontend=6t2d2q73rv9s1kddu8ehh8hvl6;到期=周四,2011 年 2 月 17 日 14:29:19 GMT;路徑=/;域=XX.X.XX.XX;httponly

他們說我要么必須改變 Magento 來處理這個問題,要么配置 Varnish 來處理這個問題.由于更改 Magento 是不可能的,我想知道是否有人可以給我一個關于如何配置 Varnish 來處理這個 cookie 的線索?

They said that I either have to change Magento to handle this or configure Varnish to handle this. Since changing Magento is out of the question, I was wondering if someone can give me a clue as to how I would configure Varnish to handle this cookie?

推薦答案

http://moprea.ro/2011/may/6/magento-performance-optimization-varnish-cache-3/ 描述了使用 varnish 啟用整頁緩存的 Magento 擴展.此擴展依賴于 github 上發(fā)布的 Varnish 配置.

http://moprea.ro/2011/may/6/magento-performance-optimization-varnish-cache-3/ describes the Magento extension that enables full page cache with varnish. This extension relies on Varnish config published on github.

這些是已經(jīng)實現(xiàn)的功能:

These are the features already implemented:

  1. 可行的清漆配置
  2. 使用 Varnish(一種超快速緩存 HTTP 反向代理)啟用整頁緩存.
  3. Varnish 服務器可在 Admin 中的 System/Configuration/General - Varnish Options 下進行配置
  4. 在保存產(chǎn)品、類別和 CMS 頁面時自動清除(僅)緩存的頁面.
  5. 在 Magento Admin 中的系統(tǒng)/緩存管理下添加新的緩存類型,并提供停用緩存和刷新緩存的可能性.
  6. 在保存類別導航并且需要刷新 Varnish 緩存時通知管理員用戶,以便為所有頁面更新菜單.
  7. 為購物車中有產(chǎn)品或已登錄等的用戶自動關閉清漆緩存.
  8. 提供默認清漆配置,以便模塊可用.屏幕截圖:https://github.com/madalinoprea/magneto-varnish/wiki

這篇關于讓清漆在 Magento 上工作的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關文檔推薦

Override Magento Config(覆蓋 Magento 配置)
What would cause a print_r and/or a var_dump to fail debugging a variable?(什么會導致 print_r 和/或 var_dump 調(diào)試變量失敗?)
How to update custom options programatically in magento?(如何在 magento 中以編程方式更新自定義選項?)
Magento 404 on Admin Page(管理頁面上的 Magento 404)
Magento - get price rules from order(Magento - 從訂單中獲取價格規(guī)則)
Magento Change Product Page Titles to Include Attributes(Magento 更改產(chǎn)品頁面標題以包含屬性)
主站蜘蛛池模板: 中文字幕专区 | 久久精品| 日韩一区二区在线免费观看 | 久久精品国产v日韩v亚洲 | 亚洲欧美在线观看 | 亚洲日本视频 | 青青草华人在线视频 | 国产美女h视频 | 一区视频在线 | 综合久久av | 久久久亚洲 | 中文字幕在线观看www | h视频免费在线观看 | 久草精品视频 | www.久久99 | 热99精品视频 | 国产成人综合在线 | 天天操天天射天天 | 玖玖国产精品视频 | 日本激情视频中文字幕 | 国产精品久久久久久 | www.99热.com | 在线看片网站 | 黑人巨大精品欧美一区二区一视频 | 高清成人免费视频 | 女人精96xxx免费网站p | 亚洲永久 | 久久久亚洲综合 | 午夜精品久久 | 91精品久久久久久久久 | 亚洲一区不卡在线 | 亚洲第一免费播放区 | chengrenzaixian| 亚洲aⅴ精品 | 日日夜夜精品 | 成人午夜黄色 | 在线观看三级av | 欧美成人h版在线观看 | 欧美一级在线 | 亚洲成人av| 久久免费观看一级毛片 |