Demo

討論

保持飢餓,保持愚笨 (Stay hungry, stay foolish)。 史蒂夫·賈伯斯

公告

本網站已取消討論區的討論方式,如果您有問題請至LINE群行動條碼圖片網址,或Facebook社團

請問ioomla 快取機制是怎樣設定? 一直弄不好

  • oktiop52
  • oktiop52 的個人頭像 Topic Author
  • 訪客
  • 訪客
2011-08-18 21:04 #20647 來自 oktiop52
oktiop52 created the topic: 請問ioomla 快取機制是怎樣設定? 一直弄不好
我有在全站設定開啟快取
然後有安裝jotcache 然後把內建的cache關調....

現在問題是
有新留言 還有 自動讓新文章 時間到自動發表
還有記數器 會有延遲 再首頁是一個數字 到圖片別的頁面又是另一個數目
都沒辦法在blog首頁上更新 顯示出來
我都要手動在後台 工具 清除快取 裡再按一次清除快取才行

JOTCACHE plugin 和元件都安裝了
可是看起來似乎沒有抓到很多cache?

請問 全站設定裡的 開啟快取 外掛裡的 JOTCACHE 和系統內建的CACHE
以及 我在工具裡 清除快取 裡所看到的CACHE

這4個有何差別?? 要怎樣分別設定??

Please 登入 to join the conversation.

  • idarfan
  • idarfan 的個人頭像
  • 訪客
  • 訪客
2011-08-21 15:03 #20670 來自 idarfan
idarfan replied the topic: 請問ioomla 快取機制是怎樣設定? 一直弄不好
你的訊息少了一些東西.
你用的是那一個joomla版本?
你用的是那一個Templates?
現在你用的JOTCACHE 插件是那一個版本? 有更新到最新嗎?

CACHE的觀唸給你理清一下: 看一下底下的說明

快取緩衝及壓縮
Caching and Compression

Joomla

* Global Config - GZip Compression : This setting tells the webserver (typically Apache) to use gzip compression when sending the main HTML output that Joomla generates. This can reduce the size of the file quite dramatically. On the order of 70-90%. The main benefit of this is that the time it takes to send the file to the browser is greatly reduced, however the trade off is the webserver has to do more work in order to compress the file. Usually the tradeoff is worth it and we recommend enabling GZip compression on all sites.

* Global Config - Cache Settings : This setting is the global toggle to enable caching for Joomla. Every extension looks to this setting to see if they should cache their output. During development this can cause some strange lingering effects as updating an article will automatically flush the com_content cache, but it's not smart enough to know that a module might of had part of this same article cached. In these cases after you edit an article you should also manually flush the cache via the "clean cache" setting in Tools. Cache is the primary method to increase performance, so we highly recommend enabling this and setting it to 30-45 minutes when you are running in a 'live' environment. It's less handy during development, so we generally don't enable cache until we're ready for business.

* Plugin Manager - System-Cache : When you have enabled the Global config cache setting, you have the option to enable the System-Cache plugin. This cache plugin performs a 'page-cache' which can potentially have a huge performance boost, however due to it's nature, it's very rarely a viable option. What this plugin does is take the rendered Joomla output and store it in it's entirety in the cache. The next user to visit the page, get's shown the exact same output as the user before. This limits the amount of per-user customization that can be done, and you could potentially show data to a user that should not see it. In Gantry we send specific CSS files to IE users and don't send those files to other browsers. This is a performance optimization to ensure that only the files you need are sent, however a page cache breaks this as it will send you the same files no matter what your browser. Also if you have any 'dynamic' data displayed, that will be cached, and not updated. Overall, unless you have a very static site, this is not useful, and with Gantry it's not practical at all. We recommend not using this cache option.

關於進一步的 cache的解釋. 請你移駕底下的網站看一下
http://www.theartofjoomla.com/joomla-ca ... ained.html

這東西我去RTFM了一下. 都交待的很清楚啊.

你用的這個是沒有中文語系檔. 你可能要RTFM 一下了,我還在整理中. 相關的說明引用一下給你看
你裝的是最新版了嗎?
JOTCACHE PLUGIN VER.1.3.1 - BETTER CLEANING AND FEEDS
Monday, 18 April 2011 08:41
According community feedbacks it was possible to make Joomla page caching using JotCache solution better and more confortable. New JotCache plugin ver.1.3.1 has now implemented faster and upgraded cache cleaning method for automatic page cache clean when JotCache parameter 'Cache Auto Clean' is set ON as well as based on Andrew Eddie recommendation here are also solved obstacles with rss, pdf, etc. formats calls when Joomla global configuration setting 'Add suffix to URLs' is set ON.
New version of JotCache plugin you can find in download.

Last Updated on Monday, 18 April 2011 08:52

1.3版的相關說明.
http://www.kanich.net/radio/site/jotcache/jotcache-help

針對 1.5 跟 1.6 的安裝注意事項你要留意看. 兩者有一點點不同

Please 登入 to join the conversation.