Sirv PrestaShop image CDN addon

On this page

Speed up your website with the official Sirv PrestaShop CDN addon.

Faster loading leads immediately to happier users and higher conversions. Making your pages load faster will also improve your SEO. Google ranks faster websites higher, so you'll soon receive more visitors from search engines.

The PrestaShop CDN addon for Sirv is easy to install and starts working immediately. It synchronizes your PrestaShop product images with your Sirv account and delivers them at the perfect dimensions and optimal image format (often WebP), typically with 40-70% smaller file size. Images are then served from the nearest of 20 global CDN servers, for very fast load anywhere in the world.

Your PrestaShop store can also expect more page views per user and a lower bounce rate. Test your results by comparing your website statistics before and after. Share with us how much improvement you experience.

Installation

1. Download the Sirv PrestaShop CDN addon (zip).

2. Go to "Modules and Services" in your PrestaShop admin and click "Add a new module":

Install the PrestaShop CDN

Alternatively, unzip the module to your computer and copy the sirv folder by FTP to the /modules/ directory of your store.

3. Select the zip file and click "Upload this module":

Upload the PrestaShop CDN module zip file

4. Click "Enable":

Enable button for PrestaShop CDN

5. Click "Configure":

Configure button for PrestaShop CDN

6. If you're a new user, click No and create an account. (You'll start on a free 30 day trial - later you can choose a free/paid plan.)

Create your Sirv CDN account

Existing users should enter their Sirv email/password:

Connect to your Sirv CDN account

7. Click "Connect Account".

Configure Sirv for the first time

Your extension Settings look like this:

Change your CDN settings

Sirv will start working immediately, by copying images from PrestaShop to your Sirv account the first time they are requested.

To accelerate synchronization, perform a sync of your PrestaShop images to Sirv by clicking the "Sync images" button:

Sync library button

A full sync can take many minutes, even hours, depending on the number of images in your library and the speed of your server's network connection. It typically syncs 50-200 images per minute.

Sync more files

You can get even more benefit from your Sirv CDN account by activating auto-fetch. Then go to the Performance page within the Advanced Parameters section of PrestaShop and set 'Media server #1' to your Sirv domain. Files such as theme image, icons and any undetected JS & CSS files will also be served by Sirv.

Usage

Sirv will automatically fetch images when people browse your website. It will resize, optimize and deliver those images from the Sirv CDN or direct from the Sirv primary datacentre in Germany.

Newly found images are typically fetched within 1 second, then cached, ready to server to all future visitors.

Cache

The Sirv addon keeps a record of all synced images. In rare circumstances, the records might become out of date. If you see old images or missing images, use one of the cache clearing options:

  • Failed - try this method first. It will delete the records of any failed images, so Sirv can try to copy them again.
  • All - use this method if images are still not showing as expected. It can resolve images that had a connection problem; were missing when requested; were updated programmaticaly; were updated by an import/sync tool; or other issues.
  • Master - only use this if you have deleted a large number of images from your server and want to delete them from Sirv. All master images will be re-synced, which can take a long time for large image libraries. This will cause a small delay (typically 1-3 seconds) for the first person to request each image.

PrestaShop CDN cache control

Upgrade

To upgrade to the latest version of this PrestaShop CDN addon:

1. Go to the list of addons on your Modules and Service page in PrestaShop.

2. Click the link next to "Upgrade" the Sirv listing.

PrestaShop CDN upgrade version

If you use a version prior PrestaShop 1.7 or the "Upgrade" button isn't showing, you can download the latest addon, unzip it and upload it to your server (overwriting the old addon files). Then open the Sirv addon settings page.

PrestaShop version

This PrestaShop CDN module is frequently updated. All versions of PrestaShop from 1.6 and upwards are supported. It is an official addon, built and supported by the team at Sirv, with guaranteed support for all future PrestaShop versions.

You can download this PrestaShop module from the Sirv website (see instructions above) or from the official PrestaShop addons marketplace.

Support

Sirv experts are ready to help you with any questions. If you have a Sirv account, please use your support contact form. If you don't have an account yet, create an account or send questions via the general enquiries form.

Changelog

  • v3.0.1
    December 5, 2019

    Improved CMS images synchronization.
    Bug fixes, improvements and code optimization.
    Settings page and registration form refinements.

  • v3.0.0
    November 12, 2019

    New ability to sync and lazy load images on PrestaShop CMS pages.
    New ability to sync and lazy load category images.
    Descriptive error messages during signup and usage.
    Storage usage is now cached, with ability to refresh stats.
    Added API usage statistics, to see live usage and limits.
    Text refinements.
    Sync button always on display.
    Minor bug fixes and improvements.

  • v2.2.2
    July 29, 2019

    Bug fixes.

  • v2.2.1
    July 19, 2019

    New Sirv CDN support added.
    Fix for missed thumbnails on the product page in admin (PS 1.7.x).
    Added message if 'Disable overrides' option is active.

  • v2.2.0
    May 14, 2019

    Added option to display Sirv images using lazy load and responsive resizing.
    Added option to show images that failed synchronisation.
    Added explanation to describe the Sirv CDN usage and SEO benefits.
    Refined the description of each setting.

  • v2.1.0
    March 29, 2019

    Improved and optimized API usage.
    Improved image CDN full synchronisation algorithm.
    Added Profile option, to add text, watermarks or change image defaults.
    Updated the PrestaShop CDN prefetch/preconnect code, for faster loading.
    Added link for submitting a review of the addon.
    Added support for Fastbay module.
    Refined the option descriptions.

  • v2.0.4
    December 7, 2018

    Added logo and favicon image optimisation and CDN serving.
    Added new option to enable/disable JavaScript & CSS minification.
    New REST API integration, for faster and more efficient API calls.
    Added ability to sync and serve images from Magic Slideshow and Magic Scroll PrestaShop addons.

  • v2.0.3
    December 3, 2018

    Added option for quick activation/disabling of the PrestaShop CDN addon.
    More efficient REST API usage.
    Small bug fixes.

  • v2.0.2
    November 30, 2018

    Updated French translation.

  • v2.0.1
    November 14, 2018

    Fixed incorrect SQL query.
    Added folder options API, to disable spin generation.

  • v2.0.0
    November 13, 2018

    Switched from S3 to REST API, for faster image synchronisation.
    Added ability to serve JS/CSS files from this PrestaShop CDN addon.
    Added auto minify of JS/CSS files, reducing their size for faster loading.

  • v1.0.7
    January 18, 2018

    Bug fixes and optimization.

  • v1.0.5
    August 17, 2017

    Shopping feed compatibility added.

  • v1.0.3
    July 7, 2017

    S3 usage optimization for more efficient PrestaShop CDN syncing.
    Sync images block added with pre-sync button and more statistics.

  • v1.0.2
    June 2, 2017

    French translation added.
    Added cache statistics to check number and storage of synced images.
    Added ability to purge image database.
    Added ability to empty PrestaShop image CDN (images in Sirv account).

  • v1.0.0
    December 29, 2016

    First version.

Was this article helpful?

Get help from a Sirv expert