صفحة 4 من 15 الأولىالأولى 12345678914 ... الأخيرةالأخيرة
النتائج 46 إلى 60 من 211

الموضوع: [سري للغايه] سرع اي منتدى الى 200% او اكثر

  1. #46
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    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:






  2. #47
    عضو فعال جدا
    تاريخ التسجيل
    Feb 2003
    المشاركات
    2,307


    أخي تفعيل الـ gzip معناته ان سيرفر الـ apache سيقوم بضغط كل ما سيرسل الى المتصفح و بذلك سيستهلك كم من الـ cpu و ram لعمل ذلك
    نعمل لن تلاحظ الـ load اذا كان عدد الزوار قليل و لكن لو كان لديك أكثر من 1500 متصل بنفس اللحضة ستلاحظ الـ load
    وصاحب الموضوع "الانجليزي " يقول انه لن يرفع الـ load
    لذلك سأجربها و سأرى






  3. #48
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    اقتباس المشاركة الأصلية كتبت بواسطة bman
    أخي تفعيل الـ gzip معناته ان سيرفر الـ apache سيقوم بضغط كا سيرسل الى المتصفح و بذلك سيستهلك كم من الـ cpu و ram لعمل ذلك
    نعمل لن تلاحظ الـ load اذا كان عدد الزوار قليل و لكن لو كان لديك أكثر من 1500 متصل بنفس اللحضة ستلاحظ الـ load

    سوف اترك اصحاب المنتديات الكبيره يعلقون عليك :nice:
    لا اريد ان اضرب امثال
    انا بحث في مواقع PHP المشهوره و المعروفه ماشفت حد ذكر ان الود يرتفع من gZIP
    اعتقد انت تقصد mod_gzip :nice:






  4. #49
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    اقتباس المشاركة الأصلية كتبت بواسطة bman
    أخي تفعيل الـ gzip معناته ان سيرفر الـ apache سيقوم بضغط كل ما سيرسل الى المتصفح و بذلك سيستهلك كم من الـ cpu و ram لعمل ذلك
    نعمل لن تلاحظ الـ load اذا كان عدد الزوار قليل و لكن لو كان لديك أكثر من 1500 متصل بنفس اللحضة ستلاحظ الـ load
    وصاحب الموضوع "الانجليزي " يقول انه لن يرفع الـ load
    لذلك سأجربها و سأرى

    هذا ماتقصده الضغط على السيرفر
    كود:
    <?php
    ob_start();
    include('class.gzip_encode.php');
    ?>
    و ليس الكود :nice: العجيب






  5. #50
    عضو فعال جدا
    تاريخ التسجيل
    Feb 2003
    المشاركات
    2,307


    جربته و بعد فحص الصفحة من خلال
    http://www.whatsmyip.org/mod_gzip_test
    قال انها غير مضغوطة
    ولكن بعد تركيب mod_gzip اصبحت مضغوطة بالاضافة لتفعيل الخيار من خلال لوحة تحكم المنتدى
    نعم انا قصدي mod_gzip حيث يتم تركيبه على الـ apache
    ماذا تقصد اصحاب المنتديات الكبيرة ؟!
    انا ادير منتدى
    http://www.dvd4arab.com/forums
    الأعضاء المتواجدين حالياً: 1925 (1312 عضو و 613 ضيف)
    لايكون قصدك اني ما افهم ؟






  6. #51
    عضو نشيط
    تاريخ التسجيل
    Jan 2005
    المشاركات
    160


    بارك الله فيك اخي طريقة جميلة جدا والى الامام





    __________________
    ياالصغيـر مـا يكبرنـي لقـب

    ومايصغرني اليا انكرني صغيـر

    kalm_999@hotmail.com

  7. #52
    مُجَاهِد سابقاً
    تاريخ التسجيل
    Apr 2004
    المشاركات
    12,000


    جميل جداً.

    والف الف شكر لك أخي الكريم على تقديمك لإخوانك ..


    وخالص المودة ،،





    __________________
    استخدم خاصية تنبيه المشرفين للضرورة وعند ملاحظة موضوع يخالف قوانين منتديات سوالف وسيتم مراجعة الموضوع او المشاركة المبلغ عنها على الفور

  8. #53


    أسأل مرة ثانية

    كيف أعرف ان خاصية gzip مفعلة عندي واذا ماهي مفعلة كيف أفعلها

    بأنتظار الرد






  9. #54
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    اقتباس المشاركة الأصلية كتبت بواسطة bman
    جربته و بعد فحص الصفحة من خلال
    http://www.whatsmyip.org/mod_gzip_test
    قال انها غير مضغوطة
    ولكن بعد تركيب mod_gzip اصبحت مضغوطة بالاضافة لتفعيل الخيار من خلال لوحة تحكم المنتدى
    نعم انا قصدي mod_gzip حيث يتم تركيبه على الـ apache
    ماذا تقصد اصحاب المنتديات الكبيرة ؟!
    انا ادير منتدى
    http://www.dvd4arab.com/forums
    الأعضاء المتواجدين حالياً: 1925 (1312 عضو و 613 ضيف)
    لايكون قصدك اني ما افهم ؟

    نعم انا اعرف كم عضو يستخدمون الطريقه في منتداهم و يقولون لي ان الضغط عادي ومارتفع

    هذا الكود
    كود:
    <?php
    ob_start();
    include('class.gzip_encode.php');
    ?>
    اذا ماكان mod_gzip مركب على السيرفر , صاحب الموقع مايستفيد من الكود و مثل ماقلت mod_gzip مع منتدى كبير = منتدى سريع و لود كبير بسبب ضغط الصفحات في السيرفر






  10. #55
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    قلم الابداع و مُجَاهِد بارك الله فيكم وشكرا على المرور الكريم وفي جميع الاعضاء :nice:

    اقتباس المشاركة الأصلية كتبت بواسطة البـ أحمد ـرنس
    أسأل مرة ثانية

    كيف أعرف ان خاصية gzip مفعلة عندي واذا ماهي مفعلة كيف أفعلها

    بأنتظار الرد
    ادخل لهذا الموقع
    http://www.whatsmyip.org/mod_gzip_test/
    واكتب رابط منتداك وضغط على Test Page وشوف الناتج






  11. #56


    والله 100%%

    http://www.aldyafa.com/vb

    يسلمووووووووو اخوي..!






  12. #57
    عضو سوبر نشيط
    تاريخ التسجيل
    Apr 2002
    المشاركات
    620


    السلام عليكم


    بصراحه تلخبطت شوى انت كاتب >>ضع الكود السابق في الحائط للمنتدى (في الول بيبر) او في بدايه ملف الصفحه.

    والاخ Al Zeeny


    افتح ملف global.php ثم أضف الجمله بعد بدايه السطر <?php




    فووين يركب الكود ياريت تشرح وين .



    وبعدين حطيت اسم الموقع فى الرابط الاخيرالى حطيت http://www.whatsmyip.org/mod_gzip_test/

    وطلع معى

    http://111.com/vb is not gzipped
    Page Size: 1 K
    Size if Gzipped: 1 K
    Potential Savings: 0%

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






  13. #58
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    اقتباس المشاركة الأصلية كتبت بواسطة عازف الهوى
    والله 100%%

    http://www.aldyafa.com/vb

    يسلمووووووووو اخوي..!
    الله يسلمك :nice:



    اقتباس المشاركة الأصلية كتبت بواسطة aziz33
    السلام عليكم


    بصراحه تلخبطت شوى انت كاتب >>ضع الكود السابق في الحائط للمنتدى (في الول بيبر) او في بدايه ملف الصفحه.

    والاخ Al Zeeny


    افتح ملف global.php ثم أضف الجمله بعد بدايه السطر <?php




    فووين يركب الكود ياريت تشرح وين .



    وبعدين حطيت اسم الموقع فى الرابط الاخيرالى حطيت http://www.whatsmyip.org/mod_gzip_test/

    وطلع معى

    http://111.com/vb is not gzipped
    Page Size: 1 K
    Size if Gzipped: 1 K
    Potential Savings: 0%

    فهل ماينفع عندى الكود ولااكيف وكيف طريقه التفعيل
    الكود ينفع 100% باذن الله
    و جميع الطرق مجربه :con2:
    not gzipped يعني ماشتغل الكود معاك
    حدد لي في وين خليت الكود ؟






  14. #59
    عضو سوبر نشيط
    تاريخ التسجيل
    Apr 2002
    المشاركات
    620


    اول شى اخى web4host احب اشكرك على سرعه ردك والله يوفقك .


    الكودباقى ماركبته عطنى الطريقه زين عشان اركبه طيب .



    يعنى تقصد انت انى اجرب الموقع الى حطيت بعد ماااركب الكود صح >>اذاكان كذاهات الطريقه الله يخليك .






  15. #60
    عضو فعال
    تاريخ التسجيل
    May 2004
    المشاركات
    1,842


    هل جرب الطريقه الموجوده هنا

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

    كود:
    لمنتديات IB
    من لوحة التحكم
    ثم
    Skins & Templates
    ثم
    Skin Manager
    ثم
    تختار الاستايل
    ثم
    Edit Root Skin Board Header & Footer Wrapper
    ثم
    تضع الكود في البدايه
    ثم
    Save Wrapper
    ؟










ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض