1 頁 (共 2 頁)

[問題] 哪些MOD可以增快論壇速度

發表於 : 2005-02-03 22:10
夜楓
我想問一下就是有哪些外掛可以加快速度\r

光是開一個頁面就花掉
頁面生成時間: 2.1673 秒

我所知道的有
eXtreme Styles

還有其他比較好用的嘛?

請各位推薦︿︿

發表於 : 2005-02-03 22:26
tom82612

代碼: 選擇全部

############################################### 
##   Hack Title:   phpBB2 Fast Hack 
##   Hack Version:   1.0.0 
##   Author:      dwing < dwing@weingarten-net.de > (Dimitri Seitz) http://www.weingarten-net.de 
##   Description:   This makes your phpBB 2 forum faster. 
##  
##   Updated to phpBB 2.0.6 Compatibility by: James Wong <james@jaeboy.net> 
##   Updated with permission from the original author. 
## 
##   Compatibility:   2.0.0 - 2.0.6 
## 
##   Installation Level: Easy 
##   Installation Time: 1 minute 
##   Files To Edit: <1> 
##      page_header.php 
##      file.php 
## 
##   Included Files: <0> 
##      N/A 
## 
##   History: 
##      <Version 1.0.0.1> :    2.0.6 Compliant 
##      <Version 1.0.0>   :    Initial Release :) 
## 
##   Author Notes: 
##     If you have questions or suggestions just mail me @    
##      dwing@weingarten-net.de?subject=FASTandFURIOUS. 
## 
##   Support:      http://www.phpbbhacks.com/forums 
## 
## 
############################################### 
##   You downloaded this hack from phpBBHacks.com, the #1 source for phpBB related downloads. 
##   Please visit http://www.phpbbhacks.com/forums for support. 
############################################### 
## 
############################################### 
##   This hack is released under the GPL License. 
##   This hack can be freely used, but not distributed, without permission. 
##   Intellectual Property is retained by the hack author(s) listed above. 
###############################################
OPEN

代碼: 選擇全部

includes/page_header.php
FIND

代碼: 選擇全部

// 
// gzip_compression 
// 
$do_gzip_compress = FALSE; 
if ( $board_config['gzip_compress'] ) 
{ 
   $phpver = phpversion(); 

   $useragent = (isset($_SERVER["HTTP_USER_AGENT"]) ) ? $_SERVER["HTTP_USER_AGENT"] : $HTTP_USER_AGENT; 

   if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) ) 
   { 
      if ( extension_loaded('zlib') ) 
      { 
         ob_start('ob_gzhandler'); 
      } 
   } 
   else if ( $phpver > '4.0' ) 
   { 
      if ( strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') ) 
      { 
         if ( extension_loaded('zlib') ) 
         { 
            $do_gzip_compress = TRUE; 
            ob_start(); 
            ob_implicit_flush(0); 

            header('Content-Encoding: gzip'); 
         } 
      } 
   } 
} 
REPLACE WITH

代碼: 選擇全部

// 
// gzip_compression 
// 
$do_gzip_compress = FALSE; 
if($board_config['gzip_compress']) 
{ 
   $phpver = phpversion(); 

   if($phpver >= "4.0.4pl1") 
      { 
         if(extension_loaded("zlib")) 
      { 
   if (headers_sent() != TRUE) 
      { 
         $gz_possible = isset($HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]) && eregi("gzip, deflate",$HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]); 
         if ($gz_possible) ob_start("ob_gzhandler"); 
      } 
   } 
      } 
         else if($phpver > "4.0") 
      { 
         if(strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) 
         { 
            if(extension_loaded("zlib")) 
         { 
            $do_gzip_compress = TRUE; 
            ob_start(); 
            ob_implicit_flush(0); 

            header("Content-Encoding: gzip"); 
         } 
      } 
   } 
}

發表於 : 2005-02-04 00:04
bu
使用官方內附的 template file cache 程式
(真的有用 ^^)
或是在主機上裝 MMCache
再不行
就來個 phpBB 核心修正吧 ^^

發表於 : 2005-02-04 00:32
黑風凱特
請問加裝了這個是改了什麼??

會影響到什麼嗎?

如果只是單純加速~那還蠻不錯的~XD!

發表於 : 2005-02-04 00:42
夜楓
MMCache
沒載點
爬文..沒找到...

Fast Hack
這個是純粹加快速度?

template file cache 程式
PHPBB安裝完就有了?
我怎麼沒看到...在後台?

我目前是有安裝eXtreme styles

發表於 : 2005-02-04 10:10
問題狂
把DeBug Mode關掉應該也形...
Gzip開啟也可以說

發表於 : 2005-02-04 14:11
馬克
bu 寫:使用官方內附的 template file cache 程式
(真的有用 ^^)
小弟對template file cache很好奇也很有興趣…\r
願聞其詳,謝謝!^^

發表於 : 2005-03-30 16:12
電腦白痴仔
裝左phpBB2 Fast Hack
好像個討論區真的快左...
仲有無其它方法可以使討論區再快一些呀...

發表於 : 2005-08-14 18:46
*tytsim*
哇!!!!
裝了真是很快!!
拍得住竹貓的1/2!!

發表於 : 2005-08-15 11:08
問題狂
eXtreme styles
也是一個加速風格的外掛

發表於 : 2005-08-15 12:29
*tytsim*
我早裝了~
現在更新到2.2.1版本~

發表於 : 2005-08-15 12:59
w2812451
夜楓 寫:MMCache
沒載點
爬文..沒找到...

Fast Hack
這個是純粹加快速度?

template file cache 程式
PHPBB安裝完就有了?
我怎麼沒看到...在後台?

我目前是有安裝eXtreme styles
MMCachehttp://forum.palmislife.com/viewthread.php?tid=19906
建議把整篇文章看完(包誇後面的流言!)
剛剛裝了!超快超快超級快~連自己都受不了= =

發表於 : 2005-08-15 18:13
心靈捕手
w2812451 寫:
夜楓 寫:MMCache
沒載點
爬文..沒找到...

Fast Hack
這個是純粹加快速度?

template file cache 程式
PHPBB安裝完就有了?
我怎麼沒看到...在後台?

我目前是有安裝eXtreme styles
MMCachehttp://forum.palmislife.com/viewthread.php?tid=19906
建議把整篇文章看完(包誇後面的流言!)
剛剛裝了!超快超快超級快~連自己都受不了= =
感謝您推薦這個討論串! :-D

以下是分享個人安裝( MMCache) 的經驗:
原討論串底下 Dragoon 有提供分享其論壇的 mmcache.rar( 需註冊)
我在註冊下載後發現裡頭的 mmcache.dll 並不適用我的 PHP 版本\r

於是上網搜尋之後, 發現網站 the mmCache for PHP
裡頭有比較完整的安裝說明和下載連結:
http://turck-mmcache.sourceforge.net/in ... l#download

建議大家:
除了參考引言部份的討論之外, 也可以前往這個網站參考!

至於, 安裝後有沒有比較快呢?
我可能還得觀察一陣子, 才比較確定啦! :roll:

發表於 : 2005-08-15 18:29
233062306
http://turck-mmcache.sourceforge.net/in ... l#download
內有很多不同版本唷.....

我也試試速度吧~~
我的論壇真是一隻不會走的龜 :oops: :oops:

發表於 : 2005-08-15 20:17
w2812451
可以試我的看看!真的= =超快!本來會慢慢進去的!現在超快= =
http://220.135.53.24
或是http://bnb.twbbs.org