Jump to content
أحلى نادي لأحلى أعضاء
Search In
  • More options...
Find results that contain...
Find results in...
غلا%الروووح

الطريقه الكامله لتسريع المنتدى

Recommended Posts

ي لوحة التحكم الرئيسية

Styles & Templates
ثم
Style Manager
ثم
All Style Options
ثم تضع هذا الكود في أول الــheader ويكون الــheader في البداية
كود:

ini_set('zlib.output_compression_level', 1);
ob_start( 'ob_gzhandler' );
include('class.gzip_encode.php');
?>




نقوم بفتح تمبلت FORUMHOME ونقوم بالبحث عن الكود التالي
كود:


****** **********="Pragma" content="no-cache" />
****** **********="Expires" content="-1" />
****** **********="Cache-Control" content="no-cache" />



ونستبدله بهذا الكود
كود:

echo "Page Compression: ".
(
(gzip_encode::gzip_accepted())?
_GZIP_ENCODE_STAT."% at level ".
_GZIP_ENCODE_LEVEL:
"None (Browser does not accept)"
);
?>

ثم نذهب ال footer

ونضع باخره

كود:


new gzip_encode();
?>


ابحث عن الملف includes/datastore_cache.php

وأعطِه الترخيص 777



ودمتم بخير

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.