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

讓清漆在 Magento 上工作

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

問(wèn)題描述

首先請(qǐng)?jiān)徫覍?duì)Varnish完全缺乏了解.這是我第一次使用 Varnish 做任何事情.

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

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

但是,當(dāng)我安裝并運(yùn)行它時(shí),Varnish 似乎沒(méi)有緩存.我確實(shí)得到了帶有單個(gè)數(shù)字的 X-Varnish 標(biāo)頭和一個(gè)值為 1.1 清漆的 Via 標(biāo)頭

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)這是因?yàn)?Magento 設(shè)置了以下 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

他們說(shuō)我要么必須改變 Magento 來(lái)處理這個(gè)問(wèn)題,要么配置 Varnish 來(lái)處理這個(gè)問(wèn)題.由于更改 Magento 是不可能的,我想知道是否有人可以給我一個(gè)關(guān)于如何配置 Varnish 來(lái)處理這個(gè) 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 啟用整頁(yè)緩存的 Magento 擴(kuò)展.此擴(kuò)展依賴于 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)實(shí)現(xiàn)的功能:

These are the features already implemented:

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

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

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

相關(guān)文檔推薦

Override Magento Config(覆蓋 Magento 配置)
What would cause a print_r and/or a var_dump to fail debugging a variable?(什么會(huì)導(dǎo)致 print_r 和/或 var_dump 調(diào)試變量失敗?)
How to update custom options programatically in magento?(如何在 magento 中以編程方式更新自定義選項(xiàng)?)
Magento 404 on Admin Page(管理頁(yè)面上的 Magento 404)
Magento - get price rules from order(Magento - 從訂單中獲取價(jià)格規(guī)則)
Magento Change Product Page Titles to Include Attributes(Magento 更改產(chǎn)品頁(yè)面標(biāo)題以包含屬性)
主站蜘蛛池模板: 一区二区三区四区在线免费观看 | 99在线免费视频 | 国产精品资源在线 | 美女国内精品自产拍在线播放 | 久久久久久久一级 | 亚洲精品99| 日本在线你懂的 | 7777久久| 精品久久亚洲 | 草草视频在线观看 | 欧美成人精品在线 | 亚洲有码转帖 | 欧美日韩国产一区二区三区 | 羞羞视频在线免费 | 国产一级在线 | 免费观看毛片 | 成人三级av| 91免费视频 | 成人av网站在线观看 | 国产精品欧美一区二区三区不卡 | 精品久久久久一区二区国产 | 亚洲成人99 | 日韩视频a | 在线观看国产视频 | 日日操夜夜操天天操 | 日本三级电影在线免费观看 | 91国内精精品久久久久久婷婷 | 免费av直接看 | 国产精品网页 | 国产精品夜间视频香蕉 | 99成人| 国产黄a一级 | a级毛片国产 | 免费黄色片在线观看 | 狠狠爱免费视频 | 天天躁日日躁狠狠躁2018小说 | 欧美日韩第一页 | 国产精品一区在线观看 | 2019精品手机国产品在线 | 免费日本视频 | 精品视频在线一区 |