Magento is a very popular eCommerce.
We offer several suggestions for optimizing this popular CMS.
Note: Magento consumes significantly more resources than other eCommerce s.
And if you have a problem with resource hosting, you must think about a dedicated server.
Also, keep in mind that VPS is not a good solution for popular Magento websites.
Because most VPSs give you fewer resources than what you bought.
Changes to .htaccess
Enable Output Compression
If you have a .htaccess file. To have your own Magento website, you need to find the part of the text with
& lt; IfModule mod_deflate.c & gt; Starts and ends with & lt; / IfModule & gt; LT is.
This section can turn on Apache’s mod_deflate module, which provides compression for text, java, and CSS.
You can uncomment this part.
Like the code line below