Where the Hero Articles rest

60 Public presentation and Optimisation Tips for your Site

August 4th, 2008 by Ostap

« What is Podcasting?

Acquire and implement critical baksheeshs on increasing your internet sites performance. Encounter extinct how to get general betterments, how to optimise images, tweak Hypertext mark beginning code, get better results from Asp viper and Vipera aspis.NET, tune your database, and heighten Iraqi Intelligence Service.

Use one or more proffers to afford internet site visitants a better notion and hold them on your site retentive.

Subdivision

A. General
B. Mental image
C. Hypertext markup language
D. Asp viper
E. Asp viper.NET
F. Database
G. Iraqi Intelligence Service

General Ironware and Monitoring

1. Legion your internet site with a companionship cognized for performance. Check newsgroups and web legion list sites such as TopHosts (http://www.tophosts.com) for fellowship cognized for high performance. In a divided server surround (not consecrate hosting), happen extinct how lots of former web sites are on the like server as yours. Some web legion will place up to 1 thousand sites on one server.

2. When hosting your own site, set up as lots arm Random access memory as possible on the web server. As remembering acquires inexpensive and inexpensive by the minute it is one of the most cost effectual leverages an IT section can get.

3. When hosting your own internet site, use quality ironware Dont seek and salve money when buying the ironware that will run one of your most valuable asset.

4. When hosting your own site, see buying quality NIC card game that can unload and cut Central processing unit exercise for networking.

5. Monitor your web pages for performance to get more informed conclusions. End-to-end examination of your web site, e.g. examination of multiple web pages on your web site, is indispensable to realise watery items and places for betterment.

Mental image

6. Trim down the size of images by reduction the figure of colours. Optimise your images with line instruments like GifWorks (http://www.gifworks.com).

7. Cut down the size of images by reduction its dimensions. Cultivating images, too cognised as relevance-enhancing, can cut down size and too help focus the attending of the speedy oculus of the web surfboarder.

8. Use the jpg format for pics. Jpeg densification is cognized for its surpassing concretion powers with regard to photograph. Many instruments, such as ACDSee (http://www.acdsee.com/) can easy change over images from one format to some other and let you to pose the concretion level for jpeg images.

9. Trim back the total number of images on one page. Most web web browsers download up to 4 images at the same time; nonetheless, each connectedness supplies to the overall response/load time.

10. Reprocess images whenever possible to use up advantage of server-side (web server) and client-side (web browser) squirrelling away.

11. Stipulate mental image Breadth and Tallness attributes for quicker load in the web browser.

12. Combine images and use mental image maps or else of sectioning images, memory that each mental image ladened is a connectedness betwixt the web web browser and the web server.

13. Use mental image Altitude attributes meagrely. Each fictitious character supplies to the size of the web page and to the burden time.

Up language

14. Use comments meagerly. Spell unseeable when an web page is ladenned in a web browser, the remarks are still reassigned from the web server, needlessly cachexy bandwidth.

15. Avert unneeded Up language tags: not all tags need a shutting tag. For representative, it is not necessary to have a close or tag.

16. Optimise your Up language code with free line instruments such as iWebTool (http://www.iwebtool.com/html_optimizer) to cut back the overall size of the html file.

17. Avert victimisation frames. Each frame gobs its own web page that can increase the overall response time of a web page.

18. Minimise the sum of money of textual matter and sub-tags betwixt the Caput open and close tag.

19. Place external JavaScript tags, i.e. with src=[someurl], at the terminal of the papers to detain burden.

20. Simplify tables and deflect nestled tables (tables inside tables).

21. In tables use ground colours alternatively of images.

22. Head off victimisation WYSIWYG editor in chiefs, e.g. FrontPage, that let in extra and irrelevant textual matter and Hypertext mark tags. Larn to redact HTML code by mitt.

Vipera aspis

23. Incapacitate Academic term State if not victimisation Roger Sessions. If you are victimization Roger Huntington Sessions, see exploitation biscuits or an id in the enquiry string along with temporarily stacking away information in a database. To disable session state, at the top of your Asp viper page, admit the directive:

24. Use Alternative Expressed to trim back steganography faults. At the top of your Vipera aspis page, admit the directive:

25. Use Waiter.Transfer all over Reaction.Airt. Reaction.Airt uses an extra round trip to the web server whereas Waiter.Transfer makes not, reduction the sum of money of bandwidth exploited, scheme imaginations, and overall response time.

26. When qualifying a URL without an web page, e.g. http://www.exclamationsoft.com, admit the tracking slash, e.g. http://www.exclamationsoft.com/, to salvage a slip back to the web server.

27. Cut down the utilization of world variable quantities.

28. Cut back the figure of let in files put on a Page. As well, segment and categorise functions in unremarkably victimised let in files.

29. Be heedful of twine chain as the size of the twine turns. As the twine turns through chain, it is simulated to a fresh emplacement in remembering each time.

30. Set objects, specially database objects to Nothing when no tenacious requisite. For illustration, Set oRecordset = Nothing.

31. Hold blocks of Asp viper script unitedly. Each switch betwixt Vipera aspis script and Hypertext mark causes the compiling program to halt and start treating.

32. Dont use Asp viper remarking: that is amassed each time the Page is ladenned. Alternatively, use Up language noticing or no pointing out at all.

33. Dont go forth empty School term_OnStart or Academic term_OnEnd method actings. If Roger Sessions are not victimised in your practical application, take these two method actings since they will be amassed and put to death even when empty.

Asp viper.NET

34. Asp viper.NET Cache API. If you are not victimization the Hoard API, stop your cryptography and say the assist on this subject and implement it as shortly as possible.

35. Cut back multiple database resultsets. Each database query with renderred results is a round trip to the database server, appending to the overall response time.

36. Use paginated information access, e.g. Asp viper.NET makes it easy to make DataGrids and DataLists of issues from database queries. Use them to your advantage by only screening a little sub-set of those results to amend web page response multiplication.

37. Use HttpContext.Points to append ofttimes put physical objects during an individual Sir Frederick Handley Page load to make a per-request cache.

38. Employ ground treating to assist with recollective hightailing it tasks. Make multi-threaded trading operations when possible and practicable.

39. Use speedy Sir Frederick Handley Page stashing for pages that are exhibited repeatedly (conceive auto-refresh):

40. If not exploitation sort post-back, turn off viewstate:

41. Debar picking up unneeded elisions: elisions obtain a large amount of overhead and should not be victimized for program logical system flow control.

42. Forefend dropping elisions.

43. Enable cushioning.

44. Use Page.IsPostBack to foreclose code from being needlessly put to death.

45. Assure debug is put to mistaken and the liberation make is utilised in product.

46. Use client-side proof controls to bring down server round trips.

47. Use StringBuilder when concatenating string section.

Database

48. Use SQL Waiter or some other professional level database all over Access.

49. Use stacked away process all over simple SQL queries.

50. Connexion Pooling guarantee connectedness pooling is enabled by exploitation a DSN (Information Origin Name) in the ODBC Information Origin Decision maker.

Iraqi Intelligence Service

51. Use server face densification software system such as Port80s httpZip (http://www.port80software program.com/wares/httpzip/)

52. Use GZip concretion to trim down bandwidth, but be cognizant that Processor utilisation may go up. Artium Baccalaurens examination can assist you bump the right balance of whether GZip concretion is redressed for your web site.

53. Use Iraqi Mukhabarat 6.0, that lets in important performance sweetenings such as Meat Laying away.

54. Dont instal or use Microsoft Index Waiter unless you need it. The monetary value far outbalances the welfares that Index Waiter will yield.

55. Dont enable logging unless required. Logging is harrowed and imagination intensive.

56. Run Iraqi Mukhabarat in-process if the web site is for the most part static. For the most part dynamic or precarious sites should not use this scene.

57. Enable Cache ISAPI practical applications for sites that use Vipera aspis that benefits greatly from this scene.

58. Incapacitate debugging on product waiters.

59. Enable HTTP Hold Alives for IIS 5.0 This scene is enabled by default in Iraqi Mukhabarat 6.0.

60. Foreshorten connexion timeouts to cut back the clasp on resourcefulness.

Imaginations victimised:

1. MSDN
2. Chapter 6 Improving Asp viper.NET Public presentation
3. Tips to Amend Vipera aspis Practical application Public presentation
4. IIS 101: The Rudiments of Public presentation Tuning
5. Top Ten Slipways To Pump Up IIS Public presentation

Posted in Web Design and Development |

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.