Cộng đồng các chuyên gia

Đặt câu hỏi và học hỏi từ các chuyên gia freelancer

10 Câu trả lời

CT-NetService
CT-NetService
đã trả lời 3 năm trước
Thuê tôi

As you can read among other answers in this post it's not 1 solution but combination of multiple mechanismes. You could separate it at different levels like hardware, software and content.

Good hardware is a no-brainer and is simple. Get good hosting for your website but look around before you buy. There so much different provider on the market to choose from but not all focus on webhosting as their core-business. Some are very cheap and good but have a lot of limits, others are expensive but overkill or not even that good as they say. We offer hosting ourselves and know from experience it's fully depending on your needs. Sometimes people will tell you to get a VPS or even a dedicated server but these days shared webhosting can be as good as your VPS.

Software can be seen as how you run your website (WordPress, Magento, Shopify, Drupal) but also on which software it runs like cPanel control panel, Apache or Nginx webserver, compression, Google PageSpeed etc. Again you need to look at your hoster and second you need a reliable CMS and/or clean coding for your website. If you use an PHP website it's preferred to use Linux but would you use ASP then go with Windows. If your basics are good, you already achieved 50% of your goal.

On content level you can gain a lot of improvements. Make sure you don't have any dead links on your website and also make sure the coding doesn't have any dead references/links because browser will double-check if the link is really dead. Optimize your images with smush.it or kraken.io to have lowest possible file size but not losing quality. Most of the time the key is installing 1 or 2 plugins/extensions to handle optimization and caching. A piece of software that optimizes your images when you upload it is very helpful and saves you time as you don't have to first optimize it and then upload it. A good caching tool will do multiple things these days. Most of them handle minifying (merging files and remove unnecessary code) JavaScript, CSS and HTML but also caching files statically if they are not changing often. This last one can be done on page, database and browser level. For example in WordPress an great tool is W3 Total Cache which will minify files, cache files that are rarely changed, cache basic database requests and activate browser caching so not all files are requested over and over again. Don't make the mistake only installing these tools and activating caching will always be perfect, there are a lot of settings and options that can be edited. Recently our own main website got re-done and installing a caching tool actually slowed down our website but after trying different settings and testing them we found a good combination. For example not all CSS files are easy to minify and will even break them.

7 lượt thích
Webicules
Webicules
đã trả lời 3 năm trước
Thuê tôi

Hello,
It seems most of your points has already been answered by other Freelancers. However I would like to put emphasis on one point use fonts like Font Awesome for icons etc. This will help reduce call for images. Secondly use image sprite (google it) to combine multiple images into one. This will help reduce the number of calls to server in scenario where you are using more than one images in a page.

Wish you all the best.

5 lượt thích
Growth Hacker
Growth Hacker
đã trả lời 3 năm trước
Thuê tôi

Here is the Best Answer if you are using Wordpress CMS .
1) Go to Plugin -> Add New -> Search for W3 Total Cache -> Install and activate ->

This is plugin has free and paid version , if cost is no bar then i suggest to go with paid one .
If you are using free version you might be not able use CDN and GPI Dashboard .

So for free user , first set the general setting , -> enable , cache , compression and minify option .
Go to browser setting and also check mark on set expire header .

Now if you wanted to enable the CDN , you need to set up API key .

So once you are done with above step , you will note that your site speed is increased by 50%.

Note : Render-blocking of js and css is never going to solve as some JS required to be placed on the head tag.

3 lượt thích
Sanjib Adhikary
Sanjib Adhikary
đã trả lời 3 năm trước
Thuê tôi

1. First of all you have to use a good hosting provider. If cost is not a bar then please use dedicated hosting or cloud platform like Amazon AWS to host your website.
2. You should optimize your code, clean and well.
3. Use content delivery network CDN for speedup the delivery for the resources.
4. Optimize Images, JS, CSS.
5. Enable GZip to compression.
6. Try to use images as low as possible
7. Try to serve scaled images
8. Specify proper image dimensions
9. Minimize redirects and Minimize request size
10. Specify a cache validator
11. In order to load a page, the browser must parse the contents of all <script> tags, which adds additional time to the page load. By minimizing the amount of JavaScript needed to render the page, and deferring parsing of unneeded JavaScript until it needs to be executed, you can reduce the initial load time of your page.
12. Minimizing HTTP redirects from one URL to another.

Thanks

3 lượt thích
sumonkhan
sumonkhan
đã trả lời 3 năm trước
Thuê tôi

You can follows the following technique:
1.First of all you need to choose a good host.
2.Use a content delivery network(CDN).
3.Optimize your site images and homepage. For home page show excerpts instead of full posts and reduce the number of posts on the page.
4.You can use a good cache plugin if it was wordpress site Or can create your own code for cache information's.
5. Remove all dead url from your site and not add extra css and js files for all page( adding with conditions in which page you needs).

2 lượt thích
drudev
drudev
đã trả lời 2 năm trước
Thuê tôi

8 ways to improve your website performance
In this age of instant updates, same-day delivery, and otherwise high customer service expectations, site visitors simply are not going to wait very long for your website to download. Web performance and download speeds are a growing science and research shows that milliseconds can make a real difference in customer behavior and getting those sales conversions

1. Code your site for mobile-first quality and speed

2. Reduce image size

3. Try a CDN

4. Cache as much as possible

5. Combine images into sprites

6. Load JavaScript asynchronously

7. Review your hosting service plan

8. Adopt cloud-based website monitoring

1 lượt thích
evoode
evoode
đã trả lời 1 tháng trước
Thuê tôi

I will tell you.
but first see this website ranking on google
it is 100% speed
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fdomain01.ch&tab=desktop

So you can follow these steps to achieve a score near to this
1- compress all the images.
yes don't use a 2MB image to show only a small thumbnail. you can compress it programmatically with php if you are an expert. or you can compress them manually with a website like tinypng

2- DIY.
that means don't repeat your self. yes use functions for everything. don't write a 100 lines of code many times to change only a small word every time. just put it in a function and use parameters.

3- Use frameworks only when you need it.
yes, don't full off your website with libraries and plugins that you don't use. like calling JQuery to use it once in all the project. there are many examples for this.

4- don't waste ram.
it is a back-end issue, you should be aware of datatypes you use. also always use built-in functions when you can. for example: don't make many loops inside other loops to search only in an array instead of using array_column().

5- use famous CDN
yes use famous cdn providers because many other websites are using it and users may have these links already in their cache.

5- minify your css and js
at last you can minify your css and js files but remember to keep unminified versions of these files

0 lượt thích
Analizo
Analizo
đã trả lời 1 tháng trước
Thuê tôi

Hi!
The short answer of this question is that optimize your website.
There are lots of method of optimizing your website.
You can check your website speed or performance on gtmatrix.
If you want than I can also optimize your website.

0 lượt thích
techacg
techacg
đã trả lời 6 tháng trước
Thuê tôi

Just simple steps:
1. Minify the codes (HTML, CSS, JS/JavaScript)
2. Optimize Images
3. Gzip Compression
4. Use CDN instead.
5. Maintain UI/UX
6. Use Cache
7. Set expiry for headers and cache.
8. Use optimized Server (Most important)
9. Remove unwanted scripts
10. Optimize Database.

After those steps your site surly improved and optimized.

0 lượt thích