Site icon PrestaShop | Magento | CRM Modules

PrestaShop Speed Optimisation Guide

Here’s a practical, step-by-step PrestaShop Speed Optimisation Guide that works very well for PrestaShop 8 & 9 (shared hosting β†’ VPS).
I’ve ordered this from maximum impact β†’ advanced tuning.


πŸš€ PrestaShop Speed Optimisation Guide

1️⃣ Hosting & Server (Biggest Speed Factor)

βœ… Choose the Right Hosting

Minimum recommended:

πŸ‘‰ If possible, use:


βœ… PHP Settings (Very Important)

Set these in cPanel β†’ PHP INI Editor or .user.ini:

memory_limit = 512M
max_execution_time = 300
max_input_vars = 5000
upload_max_filesize = 64M
post_max_size = 64M

Enable:


2️⃣ Enable PrestaShop Performance Settings

Go to:

Back Office β†’ Advanced Parameters β†’ Performance

πŸ”Ή Smarty Settings

βœ” Template compilation β†’ Recompile templates if files have been updated
βœ” Cache β†’ Yes
βœ” Clear cache β†’ After changes only


πŸ”Ή Debug Mode

❌ Turn OFF (very important for speed)


πŸ”Ή CCC (Combine, Compress, Cache)

Enable all:

βœ” Smart cache for CSS
βœ” Smart cache for JavaScript
βœ” Minify HTML
βœ” Compress inline JS
βœ” Compress inline CSS
βœ” Move JavaScript to the end
βœ” Apache optimization (if Apache)

πŸ“Œ Clear cache after enabling.


3️⃣ Image Optimisation (Huge Speed Gain)

βœ… Resize & Compress Images

βœ… Recommended Image Sizes

Avoid unnecessary sizes:

βœ… Image Compression Tools


4️⃣ Theme Optimisation

❌ Avoid Heavy Themes

Problems with:

βœ… Recommended

πŸ“Œ Disable unused theme features.


5️⃣ Modules Cleanup (Critical)

❌ Remove Unused Modules

Go to:
Modules β†’ Module Manager

Disable or uninstall:

πŸ“Œ Each active module adds database & JS load.


6️⃣ Database Optimisation

βœ… Clean Database

Remove:

Recommended modules:


βœ… Optimize Tables

Via phpMyAdmin:


7️⃣ Enable Caching (Advanced)

πŸ”Ή Redis Cache (Best)

If your host supports Redis:

Advanced Parameters β†’ Performance

⚑ Big speed improvement on category & product pages.


πŸ”Ή File System Cache (Basic Hosting)

If Redis not available:


8️⃣ Use CDN (Cloudflare – Free)

βœ… Cloudflare Setup

πŸ“Œ Cloudflare alone can reduce load time by 30–50%.


9️⃣ Enable GZIP / Brotli Compression

Check .htaccess:

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript
</IfModule>

πŸ“Œ Cloudflare does this automatically.


πŸ”Ÿ Reduce External Requests

Avoid:

Combine:


1️⃣1️⃣ Lazy Load Images

Enable:

Most modern themes support this by default.


1️⃣2️⃣ Speed Testing Tools

Test before & after changes:

πŸ“Œ Focus on:


⚠️ Common Speed Mistakes

❌ Debug mode ON
❌ Too many modules
❌ Uncompressed images
❌ Heavy homepage sliders
❌ Cheap shared hosting


βœ… Ideal Speed Setup (Best Practice)

βœ” LiteSpeed + LSCache
βœ” Redis cache
βœ” Cloudflare CDN
βœ” WebP images
βœ” Minimal theme
βœ” CCC enabled
βœ” Unused modules removed


Exit mobile version