شكرا لك
استبدل متحوى phpinclude_start بـ
ob_start( 'ob_gzhandler' );
شكرا لك
استبدل متحوى phpinclude_start بـ
ob_start( 'ob_gzhandler' );
__________________
منابر المتميز | شبكة المتميز
حالياً في الأردن : 962777775774
-----------------------------------
مطور ويب / JS(incl AJAX) , PHP, XML
تتبعني في Twitter
تسلم أخي الغالي .. .فكرة رائعم و شغل ممتاز
__________________
العاب
العاب سبونج بوب العاب اكشن العاب بن 10 العاب دورا
اللهم اشفي امي و عافها يارب العالمين انك قدير علي كل شئ .
اخوي اتمنى توضح لي وين احطها في المنتدى بحيث تسرع كل صفحات المنتدى
وطريقة تركيبها لاني دلخ شويه
وتسلم على الموضوع الخدمه هذي
وكسرت سوق الراسم
شبااااب..
هل هو للمنتديات فقط؟
ما ينفع للمجلات أو شيء من هذه السكربتات؟
__________________
مدونة المبدع العربي
اشكر الجميع على زيارة الموضوع
وإن شاء الله الفائده للجميع
ماقصد ان اكسر سوق الراسم :shy:المشاركة الأصلية كتبت بواسطة jro7i.com
الذي ارمي اليه هو ان اقدم كل ماهو رخيص ومجاني لكي يستفيد منه الكثير من اخواني العرب دون استثناء :nice:
و إن شاء الله قريبا [سري للغايه 2]![]()
المشاركة الأصلية كتبت بواسطة المبدع العربي
:nice: :nice: :nice: ينفع لجميع الصفحات و المجلات و المنتديات وغيرها المهم تضع الكود مثل ماشرح Al Zeeny الطريقه :nice: :nice: :nice:
دعواتكم بلتوفيق :shy:
سلام عليكم
تفضلوا
[شرح] طريقة تسريع المنتدى 200% او اكثر بالصور
http://www.nsaim-lil.com/vb/showthread.php?t=3170
__________________
سبحان الله وبحمده .. سبحان الله العظيم
شبكة نسايم ليل للبرامج www.nsaim-lil.com
لحظة كيف بتضيف برمجة php في قوالب ؟
اضن انها ما تجي
__________________
.. .. . .
نعم سيكون التصفح اسرع ولكن ستزيد الـ Load على السيرفر
توني بسأل عن الأضرار ، و إنت جاوبت ، هل من سلبيات اخرى ؟المشاركة الأصلية كتبت بواسطة bman
طيب ياطيب كيف أعرف انها مفعة في موقعي أولاالمشاركة الأصلية كتبت بواسطة web4host
وكيف أفعلها أذا كانت مش مفعله
أي منتدى كبير ستكون لديه مشكلة مع الـ load و تفعيل الـ gzip سيسرع تحميل الصفحات للزائر ولكنه سيزيد الـ load لانه سيضغط كل صفحة قبل ان ترسل و لكل زائر و من لديه عدد كبير من الزوار سيواجه هذة المشكلةالمشاركة الأصلية كتبت بواسطة السريع
ولكن من لديه منتدى صغير او متوسط لن يتضرر بشكل كبير
ولكن ان كان السيرفر الذي هو عليه محمل فوق طاقته من خلال استضافة العديد من المواقع
من قبل مستضيفه قد يواجه بعض المشاكل
لذلك من الافضل مراسلة المستضيف و الاستفسار هل الـ gzip مفعل وهل يمكنك استخدامه في المنتدى
شكرا على التوضيح![]()
ob_start( 'ob_gzhandler' );
__________________
اللهم أعني على ذكرك وشكرك وحسن عبادتك
:nice: وقفة إحترام لك يابوعيسى .. وتسلم على الطريقة
عفواً بس وين الطريقة اللى تسرع المنتدى 200 %المشاركة الأصلية كتبت بواسطة nsaim-lil
أنا أشوفك أخذت موضوع بو عيسى كوبي بيست![]()
__________________
وما أكثر الأصحاب حين تعدهم
ولكنهم عند النائبات قليل
باجربها بإذن الله ..
جزااااااك الله خير يا بو عيسى وبانتظار الجزء الثاني![]()
__________________
w w w. U A E n o s . c o m
موضوع رائع
شكرا لك
__________________
إستخدم ملفك الخاص لكتابة توقيعك
شــــــامل
لا حبي انا سويت شرح بالصور والموضوع الاصلي هنا
http://www.absba.org/vb/showthread.php?t=189280
__________________
سبحان الله وبحمده .. سبحان الله العظيم
شبكة نسايم ليل للبرامج www.nsaim-lil.com
اشكر كل من شارك في الموضوع ومن لم يشارك
******
الفائده:-
1- استخدام شهري اقل من قبل
2- سرعه للموقع حتى لمستخدمين الدايل اب يحسون في الفرق
******
بعض الاخوان يقول ترفع لود السيرفر , انا مجربها على اكثر من موقع لفتره ماشفت ان الود ارتفع بسبب الطريقه
******
الطريقه هي ان المتصفح يستلم بيانات مضغوطه وليس صفحه مضغوطه![]()
******
الرجاء ذكر مصدر الموضوع الاصلي في النقل
1- سوالف سوفت
2- الويب العربي
3- phpBBArabia
:nice:
تحياتي
بوعيسى
المشاركة الأصلية كتبت بواسطة web4host
خخخخخخخخخخخخخخخخخ
كدة كل المنتديات بقت النسخة الكمبو ههههههههههههه
كل واحد يركب الهاكات ويعيش
الكل بقى كمبو :funny:
1- ماقصد اضر اي شخص بهذا الموضوع :con2: و السبب بسيط جدا , اكثر من 20 منتدى انجليزي مكتوبه فيه الطريقه و قمت باختبار الطريقه كم شهر و شفت انها ممتازه وتنفع الجميع :nice: وكتبت الموضوع هذا لكي تعم الفائده مجانا :nice:
2- هذا الموضوع عادي حتى شوف الموضوع هنا
هل هذا الموضوع الموجود هناكود:What? Gzip. Its a compression algorithm. Similar to ZIP and SIT, gzip is very common. If you are dealing with uncompressed data, you can save tons of space by gzipping your files. An image file is already compressed using jpeg or gif algorithms, and so as is the nature of data, compressing it again with gzip won't give you much. But if you have raw text, or even better, xml or html files, you are in for a treat. Most people never think of it, because image files have always been so much larger than the HTML files themselves. But more and more, HTML files are growing and growing, with more complicated page layouts and things like JavaScript, 40K HTML files are common place and easily/often surpassed. Now when you think about what HTML is, most of the HTML file itself is HTML tags, the same tags used over and over again. This makes HTML one of the BEST things to compress. You can easily compress a 40K file down to 3K. How? But how is it implemented? Believe it or not, nearly all browsers support gzipped content. Its been built into them for years. Its just that no one has bothered to use it. There are 3 main ways to gzip your code. Two of them involve using mod_gzip. Now mod_gzip does work, but to be honest it is a bitch to set up. Once its configured, you can set it up one of two ways. Apache can either automatically gzip all html on its way out, on the fly. Or, you can store 2 versions of each page on your site, a gzipped version, and a regular version For example, you'd have in your home directory: index.html -and- index.gz Browsers that supported gzip, would get the gz file. Ons that didn't would get the html file. Either way you set up mod_gzip, Apache will automatically send gzipped files to browsers that support it, and straight html to browsers that don't. And from the client, there is no change, no difference, the page sends, decompresses and loads exactly the same from the user point of view. By now you might be thinking, it would be a pain in the ass to have to maintain gzipped copies of every page on my site. Your right it would, you shouldn't do it that way. You might also be thinking that having apache gzip on the fly will bog down your server. But it won't. Heres the real beauty of gzip. Because the file is so much smaller, it takes significantly less time to transmit. And the web sever doesn't have to maintain a connection for nearly as long. As a result, there is no performance hit on the server whatsoever. Add that to the fact that you are going to take a sizable bite out of your bandwidth usage each month. And the fact that high speed users are going to load your site a bit faster, and dial up users are going to load your site SIGNIFICANTLY faster. using gzip seems like a no brainer, and it surely IS a no brainer (in my opinion anyway). Wheres the downside? Configuration. Setting it up is a pain in the ass. And if you are on a web host, most don't even use mod_gzip. If you are moving your site from one server to another, you'll have to set it up on the new one again, if possible. So I bring you the 3rd way to do it. Its so easy, you'll think your doing something wrong. Forget mod_gzip. Use PHP instead. All you have to do is put the following line at the VERY top of each PHP document, and just like magic, the entire HTML of the page will be compressed! Code: <? ob_start("ob_gzhandler"); ?> This is so easy, just paste it at the beginning of your PHP and thats IT! It automatically gzips the page for browsers that support it. And its portable. Nearly every webhost uses PHP, so with no configuring, you can move your site from server to server, and every server that uses PHP, you'll automatically get compressed code. If you use PHP already, you are probably thinking 'oh my god where have you been all my life' but if you don't, your probably scratching your head wondering what php is. I can't go into too much detail here, but basically: If your server is running PHP, all you have to do is change your files from webpage.html to webpages.php. And now your file is a PHP file. You can still edit it no problem in programs like Adobe GoLive. And just slip the line of code at the absolute beginning of the file, and you'll clearly see the difference. If you are wondering about where you should use this and where you shouldn't, I'll tell you where: Everywhere. Put it at the top of every single page on your site (or use an include( ) function in PHP). Every HTML page will get at least some compression. The bigger and more complicated the page is, the better it will compress. Now, to reiterate what I've said. If you want to gzip all your HTML code to speed up your web server, speed up your page load times, and use significantly less bandwidth, while all at the same time doing nothing different to edit, maintain, or view your web sites, then simply slip that one line of PHP at the top of each document and you are good to go! Wondering what a gzip page really looks like? Every page on www.whatsmyip.org uses php gzipping. I've been using it for years, and it works like a charm! How to verify its working: gzip works so seamlessly, no doubt you'll be wondering, "is it working?" Here's the easiest way to check, and you can use it on any web page. Load the page in FireFox. Now in the 'Tools' menu, choose 'Page Info'. Now in the window, you will see a size value. That is the actual size of the html of the page as it was transmitted over the internet. Now go to 'File' and save the page to your desktop. It will save the html file and probably a folder with all the images too. Just toss the images. Now Get Info on the html file, and you will see the size of the uncompressed code. If you are not using gzip, they will be nearly identical. If you ARE using gzip, the first value will be significantly smaller than the second. If you really want to be wowed, use that method to verify this page on my site: http://www.whatsmyip.org/htmlcharacters/ Then you will see the power of gzip! UPDATE: I wrote my own gzip checker, so if you want to see if a web page is compressed, you can use it. It will tell you if its compressed, and how much data is saved. And if its not compressed, it will tell you how much data WOULD be saved if you used gzip. http://www.whatsmyip.org/mod_gzip_test/
http://www.whatsmyip.org/forum/viewtopic.php?t=43
يريد ان يكسر سوق الراسم :con2: مثل ماوصفني بعض الاخوان :con2:
أخي تفعيل الـ gzip معناته ان سيرفر الـ apache سيقوم بضغط كل ما سيرسل الى المتصفح و بذلك سيستهلك كم من الـ cpu و ram لعمل ذلك
نعمل لن تلاحظ الـ load اذا كان عدد الزوار قليل و لكن لو كان لديك أكثر من 1500 متصل بنفس اللحضة ستلاحظ الـ load
وصاحب الموضوع "الانجليزي " يقول انه لن يرفع الـ load
لذلك سأجربها و سأرى
المشاركة الأصلية كتبت بواسطة bman
سوف اترك اصحاب المنتديات الكبيره يعلقون عليك :nice:
لا اريد ان اضرب امثال
انا بحث في مواقع PHP المشهوره و المعروفه ماشفت حد ذكر ان الود يرتفع من gZIP
اعتقد انت تقصد mod_gzip :nice:
المشاركة الأصلية كتبت بواسطة bman
هذا ماتقصده الضغط على السيرفر
و ليس الكود :nice: العجيبكود:<?php ob_start(); include('class.gzip_encode.php'); ?>
جربته و بعد فحص الصفحة من خلال
http://www.whatsmyip.org/mod_gzip_test
قال انها غير مضغوطة
ولكن بعد تركيب mod_gzip اصبحت مضغوطة بالاضافة لتفعيل الخيار من خلال لوحة تحكم المنتدى
نعم انا قصدي mod_gzip حيث يتم تركيبه على الـ apache
ماذا تقصد اصحاب المنتديات الكبيرة ؟!
انا ادير منتدى
http://www.dvd4arab.com/forums
الأعضاء المتواجدين حالياً: 1925 (1312 عضو و 613 ضيف)
لايكون قصدك اني ما افهم ؟