0ورڈپریس علامتورڈپریس گائیڈ

حصہ 3: Growing & Making Money

3.1 Performance

روزہ آپ کی ویب سائٹ رکھیں - انسانوں اور تلاش کے انجن کے دونوں انتظار کر پسند نہیں کرتے

3.1.1 Minimise plugins

Through­out this art­icle we’ve recom­men­ded lots of plu­gins. They’re all valu­able and can add to your site. How­ever, don’t go over the top. Each and every plu­gin that changes your site appear­ance adds pro­cessing and trans­fer over­heads. Plu­gins that are for man­age­ment use only (e.g. بیک اپ plu-gins) are of much less issue. Wherever pos­sible, فعالیت بھی شامل ہے جس میں ایک موضوع کا استعمال کرتے ہیں, یا imple الئن solu سواالت plu-gins کے بغیر, مثال کے طور پر, instead of using the “extern­al links” plu­gin to apply style your extern­al links, صرف اس کا تھوڑا سا کے ساتھ اپنے آپ اسٹائل کو لاگو سی ایس ایس and an image or 2. Try to keep a sens­ible bal­ance — don’t remove valu­able plu­gins just to keep the num­ber of plu­gins low, لیکن یا تو آپ واقعی ضرورت نہیں ہے لوگوں کے نہیں رکھتے.

3.1.2 غیر استعمال شدہ پلگ ان کو ہٹا دیں

This is simple — if you’re not using a plu­gin then don’t waste host­ing space on them. Unless you think you might want to react­iv­ate a plu­gin in the future don’t just deac­tiv­ate, but delete. Remov­ing unneeded plu­gins also keeps your word­press man­age­ment page less cluttered.

3.1.3 پلگ ان کی جگہ لے لے

کچھ پلگ ان بہت بڑے ہیں اور خصوصیات میں سے ایک بہت ہے, but you might only use one fea­ture of such a huge plu­gin. Con­sider manu­ally adding the code for that fea­ture and ditch­ing the over­head of the whole plu­gin (سیکنڈ کہ tion دیکھ 3.1.1) or con­sider find­ing an altern­at­ive plu­gin which offers just the fea­tures that you need.

3.1.4 کیشے & چھوٹا کرنا

لفظ پریس پر مبنی ہے پی ایچ پی اور ایس کیو ایل, and both of these require sig­ni­fic­ant pro­cessing whenev­er a page is accessed. Since neither users nor search engines like wait­ing for pages to load you should reduce load times by util­ising vari­ous cach­ing and effi­ciency plu­gins. Cach­ing gen­er­ates stat­ic ایچ ٹی ایم ایل آپ کے صفحات میں سے ہر ایک کے لئے فائلوں, redu­cing the delay caused by your web serv­er pro­cessing پی ایچ پی and access­ing the data­base. Mini­fy­ing removes redund­ancy from your سی ایس ایس and JavaS­cript. The 2 لیڈ کر solu رکھتے ہیں W3 کل کیش, جس کرتا کیشنگ اور minifying یا کا ایک مجموعہ دونوں WP سپر کیشے اور WP Mini­fy.
[google_adsense]

3.1.5 سمپیڑن

Your host­ing will almost cer­tainly be run­ning on either the Microsoft of the Apache web serv­er. Our host uses Apache, بھیجتا ہے کسی بھی ڈیٹا کے سمپیڑن کی حمایت کرتا ہے جس میں, if you choose to enable it. The Microsoft web serv­er also sup­ports com­pres­sion which can simply be turned on or off. All mod­ern web browsers sup­port com­pres­sion. There are 2 اپاچی کے ساتھ COM-صدر کا معاوضہ اعداد و شمار کے طریقوں, and you may only want to com­press cer­tain files. Here at DIYMH we com­press all our text based files using apache’s mod_deflate. This reduces our front page load size from approx 100k to approx 20kDepend­ing on your web host you may only be able to enable some types of com­pres­sion. Better­Ex­plained have an COM-صدر کا معاوضہ کرنے کے لیے ایکسل سسابی گائیڈ which we recom­mend you read.

3.1.5 Keep scripts in files

All non con­tent really should be in extern­al files, لوڈ نہیں ان لائن. This speeds up browser ren­der­ing sig­ni­fic­antly and also makes debug­ging any page errors easi­er. JavaS­cript should be in js files, انداز-ING میں ہونا چاہئے سی ایس ایس files etc. Even some meta con­tent can go in extern­al files (مثال کے طور پر سیکنڈ سواالت دیکھ 1.4.3 اور 1.4.17).  Word­Press is very good at keep­ing to this, but if you make modi­fic­a­tions try to stick to the sys­tem. Some word­press plu­gins are bet­ter than oth­ers at this, تو کچھ شروع کرنے کے لئے نہیں ہیں، تو, CON-sider ڈھونڈیں کر ایک متبادل.

3.1.6 استعمال سی ایس ایس sprites کے

سی ایس ایس sprites کے کی تعداد کو کم کرنے کے لئے ایک بہترین طریقہ ہے HTTP requests sent back and forth between the read­ers browser and your web serv­er. Instead of hav­ing 30 indi­vidu­al images, تمام reques-ٹیڈ ستمبر-AR-ately ہونا پڑے گا جس, you can reduce the num­ber of requests to the serv­er by hav­ing all of images in a single file. Use سی ایس ایس to insert the cor­rect part of the image each time you want to use it. Anoth­er bene­fit is that 1 large image file is often smal­ler than sev­er­al small images com­bined. There is more inform­a­tion at CSSTricks, w3schools کی اور توڑ والے-MA-گیس INE

3.1.7 Compress images

By default lots of images can be losslessly com­pressed bet­ter than word­press does by default. This will save on image trans­fer times. There are plu­gins that will do this for you, e.g. WP Smush.itIf you’re using PNGs (کے طور سیکنڈ کہ tion میں recom مرد-دید 2.1.2) then there are sev­er­al ways to improve effi­ciency. To max­im­ise PNG کارکردگی تصاویر PNGGauntlet کے ساتھ اکٹھا کیا جا سکتا, کس طرح کبھی بھی اس پر کیا جانا چاہئے کے بعد upload. If the image does­n’t con­tain many shades or col­ours then save it as a 256-col­our image — this will reduce the file-size sig­ni­fic­antly, لیکن پھر, this effi­ciency should be sought after upload. The reas­on for not com­press­ing or redu­cing the col­our depth of images before upload is that the پی ایچ پی res­ize func­tion will not cre­ate good qual­ity res­ized images if they are already com­pressed. So, آپ کی تصاویر اپ لوڈ, ورڈپریس تبدیل تصاویر پیدا کرتے ہیں, ایک کے ساتھ ان کو ڈاؤن لوڈ کریں ایف ٹی پی پرو گرام, PNG-Gaunt-لشکر طیبہ کے ساتھ ان کے کام پریس, and then reup­load and over-write the ori­gin­als. WP Smush.it آپ کو ملے گا 90% راستے سے اور بہت زیادہ CON-veni-ENT ہے. ہم نے ہمیشہ PNGGauntlet ساتھ مقامی طور پر ہمارے PNGs recompress, but you may not want the hassle — the choice is yours.

3.1.8 Set expiration of static resources

Browsers cache all the con­tent that they load. To avoid images and oth­er stat­ic resources being reloaded on every page load you can spe­cify an expiry time which instructs the browser to use its cached copy until the expiry date passes, when it will fetch a fresh copy. Any­thing that does­n’t change very often should have an expiry set. At DIYMH we do this via W3 Total Cache.

3.1.9 Use relative links

آپ کو آپ کی ویب سائٹ پر کسی اور چیز کے لئے کسی بھی روابط ڈالیں تو ہمیشہ ایک رشتہ دار کے راستے کا استعمال, بلکہ ایک مکمل راستہ سے. اس صفحے کے سائز کی ایک چھوٹے سا بچاتا ہے, لیکن زیادہ درآمد antly, یہ کیا تم نے کبھی آپ کے ڈومین کے نام کو تبدیل تو آپ ان کو تبدیل کرنے کی ضرورت نہیں کرے گا کا مطلب.

3.1.10 پرانے کیلیے ہٹا دیں

By default word­press retains a copy of all pre­vi­ous revi­sions of every art­icle on your site. This is overkill in our view. The easi­est way to man­age this is to use a plu­gin, e.g. REVI کا معاوضہ CON-trol, which will auto­mat­ic­ally cull older revi­sions based on your set­tings. This will keep your data­base size down and the speed of your site will benefit.

3.1.11 Check your page speed

گوگل پیج رفتار کی حالت میں (سیکنڈ کہ tion دیکھ 1.3.2) شروع کرنے کے لئے ایک اچھی جگہ ہے, ہم ایک کا استعمال کرتے ہوئے recom-مرمت فورم کے اوزار کی وسیع رینج آپ مکمل طور پر آپ کی ویب سائٹ optim-ised ہے کو چیک کرنے کے.

You might also like...

Leave a Reply