Skip to content

Optimizing Magento for performance

Magento is a resource‑intensive application, and without proper tuning it can run slowly on standard shared hosting. On ruachost.com, you can apply several optimizations to improve speed, responsiveness, and scalability.

  • Minimum 16GB RAM recommended; 32GB RAM for large stores.
  • Use a Managed VPS for best results.
  • Shared hosting accounts are not sufficient for full Magento deployments.
  • By default, Magento cron runs every 15 minutes.
  • This can cause unnecessary load.
  • Adjust cron frequency to reduce performance impact.
  • Magento’s default log settings can cause databases to grow very large.
  • Clean log tables regularly to reduce database size.
  • Magento includes several built‑in caches.
  • Go to System → Cache Management and ensure all caches are Enabled.

4. Disable Local Modules (Magento 1.9 only)

Section titled “4. Disable Local Modules (Magento 1.9 only)”
  • If app/code/local is empty, disable local modules in app/etc/local.xml:

    <disable_local_modules>true</disable_local_modules>
  • Enable mod_deflate for compression.
  • Enable mod_expires for browser caching.
  • Merge and minify JavaScript and CSS files.
  • Flat catalogs merge product and category data into single tables.
  • This reduces complex SQL queries and improves database performance.
  • Ensure your store does not contain links to nonexistent resources.
  • Each 404 triggers Magento, increasing CPU load.
  • Go to Stores → Configuration → Advanced → Advanced.
  • Disable output for unused modules to reduce overhead.
  • Ensure debugging options are disabled in production.
  • Profiler and logging should be set to No.
  • Always back up your site before applying performance changes.
  • Test optimizations in a staging environment before production.
  • Ruachost Managed VPS accounts support advanced caching (Redis, Memcached, LiteMage).