أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
i want to know what is the best way for reduce load time of a webpage in alexa or other time loader. even i know the main factor of reducing load time . but something is missing. 1.Optimize Your Images 2.Don’t Scale Down Images 3.Compress and Optimize Your Content 4.Put Stylesheet References at the Top 5.Put Script References at the Bottom 6.Place JavaScript and CSS in External Files 7.Minimize HTTP Requests 8.Cache Your Web Pages 9.Reduce 301 Redirects
Basm allah alrahman alrahim
+ good coding ( the important only ) + extract your used css properties from bootstrap ( if you can ) and use min.css if you can't + extract your used functions from jquery ( if you can ) and use compressed js + if you use bootstrap extract your used functions from it ( if you can ) or use min.js if you can't + use images with less colors + use CDN reference & windows.jquery || document.write("<script src='jquery-1..2.js'><\\\\/script>")
Note
make you scripts and css templates from scratch for future use ( improve your templates all the time ) , observe that every website has its requirements to be fast
webD
As a website designer/developer it is important to minimise the html tagging to find maximum output. Sometimes we write different html/javascripting tags for the webpage to be compatible with different browsers. However, using standardized tags is more advisable even if it does not meet up to the expectations. Also use of well formed XML is equally important, the knowledge of DOM is a plus. Apart from this load time of your page will always depend upon the data returned from the dB server (if any) and optimized transaction staements to do this.
DB: Avoid sub queries as much as you can and use stored procedures instead Functions.
Reduce server request.
Minify HTML, CSS and JS.
Gzip the content.
Reduce Image Sizes using the right methods.
Make use of .htacess techniques.
The website which I have optimized now loads in only2secs or less.What I did I follow all the guidelines and did all the above steps using the recommended settings.