Subscribe to RSS feed اشترك في تغذية RSS or أو follow me بي on Twitter? على التغريد؟
Website optimization is an important process for every webmaster trying to reach “the top”. الموقع الأمثل هو عملية هامة عن كل محاولة للوصول إلى المسؤول عن الموقع "قمة". It includes several parts, some of which may not be plausible for all. وهو يتضمن عدة أجزاء ، والبعض منها قد لا يكون مقبولا للجميع. Optimisation refers to the cleaning of code markup, images and backend so that your site loads quickly, and causes less stress on your webserver. تشير إلى الحد الأمثل لتنظيف قانون العلامات والصور والخلفية بحيث موقعك الأحمال على وجه السرعة ، ويسبب الضغط على أقل الويب الخاص بك.
The Importance of Optimization أهمية التحسين
Website optimisation is important, because more optimized pages translate into lower load times. الموقع الأمثل هو المهم ، وذلك لأن أكثر الصفحات الأمثل إلى تدني تحميل مرات. In today's world, “everyone wants everything quickly”, so quick and responsive sites help you to retain your visitors more. في عالم اليوم : "الكل يريد كل شيء بسرعة" ، وذلك استجابة سريعة والمواقع تساعدك على الاحتفاظ بمزيد من الزوار. In other words, you can cut down or eliminate the number of frustrated surfers who ditch your blog because it doesnt load quickly. وبعبارة أخرى ، يمكن خفض أو القضاء على عدد متصفحى الذي أحبط حفرة بلوق الخاصة بك لأنها doesn't تحميل بسرعة. This is more relevant if your blog is targeted towards a non-tech-savvy audience, who are likely to have slower connections. هذا هو أكثر أهمية لو بلوق يستهدف غير البارعين في امور التكنولوجيا من الجمهور الذي من المحتمل أن يكون لها صلات أبطأ.
By optimization, you can save some bandwidth(although this is not why most people do it). عن طريق التحسين ، يمكنك حفظ بعض باندوتز (وإن كان هذا هو السبب في أن معظم الناس لا يفعل ذلك). Also, in times of intensive activity, like being Dugg or Stumbled, optimization can be the difference between your blog going offline due to stress, and your blog staying healthy even while getting ~50k visits in a day. أيضا ، في أوقات النشاط المكثف ، كما يجري Dugg أو تعثرت ، ويمكن تحسين الفرق بين بلوق الخاص بك دون اتصال الذهاب بسبب الإجهاد ، والمحافظة على الصحة بلوق الخاص بك حتى في الوقت الذي تزداد 50k ~ الزيارات في يوم واحد.
Some of the easiest optimization techniques include compression of codes whenever possible (like CSS), compression of images for lower sizes (use Photoshop), and reducing the number of http requests and number of objects. أسهل بعض التحسين وتشمل تقنيات ضغط كلما كان ذلك ممكنا من الرموز (مثل المغلق) ، وضغط من أجل خفض أحجام الصور (فوتوشوب الاستخدام) ، والحد من عدد الطلبات المتشعب وعدد من وجوه. There are also hardcore stuff, including tweaking your webserver (which few can do), tweaking your scripts to execute faster, reduce the number of PHP functions in your theme etc. كما أن هناك أشياء المتشددة ، بما فيها التغيير والتبديل في الويب الخاص بك (والذي يمكن أن يفعله قليلة) ، والتغيير والتبديل في النصوص الخاصة بك لتنفيذ أسرع ، وتخفيض عدد الوظائف PHP الخاص بك في موضوع الخ
My guiding light بلادي الضوء الهادي
Paul Stamatiou is an optimization-crazy college student, and has written several guides. بول Stamatiou هو الأمثل بين مجنون طالب جامعي ، وكتبت العديد من الأدلة. I found Paul Stamatiou's guides, ووجدت أدلة Stamatiou بول ، How to Optimize your CSS كيفية تحسين المغلق الخاص بك and و 5 ways to speed up your site 5 طرق لتسريع موقعك amazing. مدهش. After reading them a few times and implementing a few steps, I was able to cut down the loading time of this blog from 27 seconds on a dialup, to around 6 seconds! بعد قراءتها عدة مرات ، وتنفيذ خطوات قليلة ، وكنت قادرا على اختصار وقت التحميل من هذا بلوق من 27 ثانية على الهاتفي لحوالي 6 ثوان! I used his blog as a benchmark, because he is pretty much up there with the best in optimization. كنت له بلوق كأساس للمقارنة ، لأنه يصل الى حد كبير مع وجود الأفضل في التحسين.
I took his advice to heart, and experimented a little more. أخذت نصيحته للقلب ، وجرب أكثر من ذلك بقليل. More specifically, here are the steps (I will have a detailed How-to post later, so watch out!): بشكل أكثر تحديدا ، وهنا هي الخطوات (سيكون لي كيف مفصل في وقت لاحق إلى وظيفة ، لذلك انتبه!) :
- Deleted all unnecessary images, like the RSS feed icon and Technorati Fav button. Saved 4Kb. حذف جميع الصور التي لا داعي لها ، مثل آر إس إس الأيقونات وTechnorati Fav زر المحفوظة 4KB.
If you cannot abandon your images, at least move them to the same server ( uploads, or images folder). إذا كنت لا تستطيع التخلي عن صورك ، على الأقل نقلها إلى نفس الخادم (تحميل أو مجلد الصور). - Compressed the CSS using وتجدر الاشارة باستخدام مضغوط CleanCSS CleanCSS . Saved 3Kb. . ةظوفحملا 3Kb.
- Used PHP compression for CSS stylesheet, as Stammy(above) suggested. Saved 2Kb. PHP تستخدم للضغط stylesheet المغلق ، كما Stammy (أعلاه) المقترحة. 2Kb المحفوظة.
- Removed the earlier header image, which was 500 x 200, and replaced it with a smaller 412 x 118px, with a white background. إزالة رأس الصورة السابقة التي كانت 500 × 200 ، والاستعاضة عنه أصغر 412 س 118px ، مع خلفية بيضاء. White backround was very helpful. Saved 10Kb. backround بيضاء كانت مفيدة جدا. 10Kb المحفوظة.
So, that cut down the size by 19Kb, without compromising much on quality. ذلك أن خفض حجم 19KB بها ، دون المساس كثيرا على الجودة. I am not (yet) aware of all the server-side optimisation, so no comments there. وأنا لا (بعد) على علم بجميع خادم جانب الحد الأمثل ، لذلك لا يوجد تعليقات. Long story short, the optimisation bug is on me too قصة قصيرة طويلة ، والأمثل هو علة لي أيضا ![]()
On a lighter note, I actually managed to beat Stammy's blog load times by a good margin. وعلى صعيد آخر ، تبين أن الأول نجح بالفعل فازت Stammy 'sبلوق مرات التحميل جيدة الهامش.

It is probably due to the sponsor images on his sidebar. ذلك ربما يرجع إلى رعاية الصور على الشريط الجانبي. His blog is hosted on MediaTemple's (dv) server. يستضيف نظيره بلوق على MediaTemple (المنزلي) الخادم. For reference, this blog is on a shared webhost (for now). للإشارة ، فإن هذا بلوق على تقاسم استضافة ويب (حاليا).
Here are (56K speeds of ) some sites according to هنا (بسرعة 56K) وفقا لبعض المواقع Web Page Analyzer صفحة ويب محلل , as of August 19, 2007 اعتبارا من 19 أغسطس 2007
(Note: These are time taken for loading, and not actual rendering in the browser): (ملحوظة : هذه هي الوقت الذي يستغرقه تحميل وليس الفعلية وجعلها في المتصفح) :
PaulStamatiou.com – PaulStamatiou.com -- 7.08 seconds 7.08 ثانية
TechZilo (this blog) – TechZilo (هذا بلوق) -- 4.33 seconds 4.33 ثانية
TechCrunch – TechCrunch -- 204.97 seconds 204.97 ثانية
Why did I show these load times? لماذا يظهر لي تحميل هذه الأوقات؟ Bragging rights? المفاخرة الإنسان؟ No. لا.
Just to prove that even big sites like TechCrunch could do with a bit of optimization. فقط لإثبات أنه حتى في المواقع الكبرى مثل TechCrunch يمكن مع شيء من التحسين. I am sure that Mike Arrington will have no problem in wasting extra bandwidth, losing some frustrated visitors or being Dugg. وأنا متأكد من أن مايك Arrington لن يكون هناك مشكلة في عرض النطاق الترددي اضافية الهزال ، وفقدان بعض الزوار بالاحباط أو Dugg. However, 204 seconds is way too much by any standards. ومع ذلك ، 204 ثانية هي الطريقة كثيرا من قبل أي معايير.
So, make sure you optimize your blog the next time you decide to get your hands dirty in code لذا ، تأكد الأمثل بلوق الخاص بك في المرة التالية التي تقرر للحصول على أيديكم القذرة في مدونة ![]()
Related reading يتصل ريدينج
- TextSnip: free online code bin TextSnip : بن لمدونة مجانية على الانترنت
- Site Update : Asides and Footnotes موقع تحديث : الهوامش والتعليقات الجانبية
- BitDig: Digg-like site for torrents BitDig : Digg يشبه موقع السيول
- Remove PirateBay BitTorrent site account إزالة موقع PirateBay تورنت حساب
The Web Page Analyzer is based on several things such as the user's location and download speed (i think). صفحة الويب المحلل تقوم على عدة أشياء مثل موقع المستخدم وسرعة التحميل (على ما أظن). As such it says 1.55, 1.06, 16.14 for the three sites you mentioned, in that order for me and will probably say something different for someone else. على هذا النحو تقول 1.55 ، 1.06 ، 16.14 لثلاثة مواقع ذكرتم ، في هذا الأمر بالنسبة لي وربما يقول شيئا مختلفا لشخص آخر.
@Paul: Thanks for dropping by. @ بول : شكرا لينخفض. I forgot to add that all speeds were for dialup. نسيت أن أضيف أن للجميع وبسرعة تم الهاتفي. Hope that solves your problem. على أمل أن يحل مشكلتك.
thats the min disadvantage of self hosted blogs and thats where blogger wins! thats دقيقة فإن العيب الذاتي استضافت بلوق وthats فيها مدون يفوز!
I haven't faced any such problems, أنا لم تواجه أي مشاكل من هذا القبيل ،
Most of surfers now have a broadband , and with i my blog hardly takes two seconds معظم متصفحي الآن النطاق العريض ، وأنا مع بلادي بلوق يكاد يستغرق ثانيتين
Although some graphics take time but text is visible once u type in address. على الرغم من أن بعض الرسومات وقتا ولكن النص واضح مرة واحدة في معالجة نوع ش.
n I hav got a cool report ن hav أنا حصلت على تقرير كوول
HTML: 19708 4.13 0.30 هتمل : 19708 4.13 0.30
HTML Images: 196940 45.65 7.44 صور هتمل : 196940 45.65 7.44
CSS Images: 0 0.00 0.00 صور المغلق : 0 0.00 0.00
Total Images: 196940 45.65 7.44 مجموع الصور : 196940 45.65 7.44
Javascript: 84241 18.39 2.05 جافا سكريبت : 84241 18.39 2.05
CSS: 3761 1.55 0.82 المغلق : 3761 1.55 0.82
Multimedia: 0 0.00 0.00 وسائط متعددة : 0 0.00 0.00
Other: 0 0.00 الأخرى : 0 0.00
Tip: Red color doesn’t matches with white color, try something else and don’t you think overloaded text link ads advertisement? نصيحة : اللون الاحمر € ™ ر doesnâ مباريات مع اللون الأبيض ، وشيء آخر في محاولة دونا € ™ ر تظن اكثر من إعلانات الوصلات النصية الإعلان؟
@Ashwini: Blogger sure wins, since Google's servers are among the fastest (though not the most reliable). @ Ashwini : مدون يفوز على يقين ، منذ جوجل لخدمة الشبكة هي من بين أسرع (وإن لم يكن الأكثر موثوقية. But the lack of flexibility really is the problem. ولكن انعدام المرونة في الحقيقة هذه هي المشكلة. With advanced compression techniques, light-weight theme and reasonable server, WordPress can beat Blogger. تقنيات متقدمة ، وخفيفة الوزن ومعقولة موضوع الخدمة ، يمكن للفوز على وورد المدون.
Especially since Blogger themes are notorious for tonnes of JavaScript (check the source code towards the end). خصوصا ان المواضيع مدون مشهورون طن من جافا سكريبت (مراجعة شفرة المصدر قرب نهاية). It isn't added by the us, but by Blogger automatically. وأضاف أنها ليست لنا به ، ولكن المدون تلقائيا.
I am changing the colour scheme of the theme, one bit at a time. وأنا على تغيير اللون مخطط الموضوع ، حرف واحد في وقت واحد. I changed the header, footer and navbar. لقد غيرت رأس الصفحة وذيلها وnavbar. Next up, content+sidebars. المقبل ، ومضمون + sidebars. OK? موافق؟ As for ads, they're affiliate links, nofollowed and harmless in the sidebar. أما بالنسبة للإعلانات ، they're الروابط التابعة لها ، وغير ضارة nofollowed في الشريط الجانبي. Maybe I should reduce them to the most-rewarding ones only. Maybe ربما ينبغي لي تخفيضها إلى أكثر مكافأة وحدها وربما
There's also وهناك أيضا http://tools.pingdom.com/fpt/ http://tools.pingdom.com/fpt/ which I think is much more accurate than Web Page Analyzer. التي أعتقد أنها أكثر دقة من صفحة ويب المحلل.
@Paul: I had tried it, but it was before the optimization craze ( which is thanks to you!) @ بول : حاولت ، ولكن كان عليه قبل التحسين جنون (وهو شكري لكم!)
Let me check it now. اسمحوا لي أن تحقق الآن.
my blog gets 135 seconds, not exactly great. بلدي بلوق يحصل 135 ثانية ، وليس بالضبط كبيرة. I guess I need to do some blog optimizing myself but at least I am faster then Techcrunch. اعتقد انني بحاجة الى القيام ببعض بلوق الأمثل لنفسي ولكن على الأقل أنا أسرع ثم Techcrunch.
@Michael : TechCrunch is slow mostly because of graphics (sponsors on sidebar). @ مايكل : TechCrunch بطيء غالبا بسبب الرسومات (تقديم الشريط الجانبي). Yours is slow because of the theme – it depends on background images too much. وتفضلوا بقبول بطيء بسبب موضوع -- أنها تعتمد على خلفية الكثير من الصور. Don't do too much optimization – your theme might get bland (as mine is). لا تفعل الكثير من التحسين -- الموضوع الخاص بك قد تحصل لطيف (المنجم). Besides, it depends on the target audience – if they're high-tech, there's no problem, since they will have high-speed connection. كما أنه يعتمد على الجمهور المستهدف -- اذا كانا لا يزالان على التكنولوجيا الفائقة ، وليس هناك مشكلة ، لأنها ستكون عالية السرعة الصدد.
Sumesh even when I wasn't paying attention to your advise still our blog loads at 4 secs (Paul Stamatiou suggestion). Sumesh حتى عندما كنت لا تولي اهتماما لتقديم المشورة الخاصة بك لا تزال لدينا بلوق الأحمال في 4 ثوان (بول Stamatiou الاقتراح). Not that bad! ليس سيئا! Anyways, I still think we have some Optimization to do. على أي حال ، ما زلت اعتقد أن لدينا بعض التحسين للقيام به.