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.

Download

Download the latest version: Sirv PrestaShop CDN addon (zip)

Installation

1. 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.

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

Upload the PrestaShop CDN module zip file

3. Click "Enable":

Enable button for PrestaShop CDN

4. Click "Configure":

Configure button for PrestaShop CDN

5. 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

6. Click "Connect Account".

Configure Sirv for the first time

The extension settings page looks 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 minutes or hours, depending how many images are to be synced. Uploads are limited to 2000 files per hour. If you hit the limit, wait to resume sync once the limit is reset. Your current API usage and the reset time is shown on your PrestaShop Sirv settings page. If you would like a higher limit temporarily, please contact us.

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 log of all synced images on PrestaShop. You can clear some or all of this log:

  • 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 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.

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.

Changelog

  • v4.1.0
    June 15, 2020

    Added field to paste Sirv Media Viewer options.
    Redesigned image synchronization block.
    Added information about why image failed to sync.
    Added ability to download list of failed images in CSV.
    Further optimization of the synchronization process.
    Minor bug fixes to custom images synchronization.

  • v4.0.3
    May 15, 2020

    Bug fixes.

  • v4.0.2
    May 4, 2020

    Addressed possible issue when processing upgrade to 3.0.0 and 3.0.1.
    Improved non-product images synchronization.
    Module settings page update.

  • v4.0.1
    April 23, 2020

    Fixed issue with wrong time calculation when API usage rate limit exceeded.
    Improved JS/CSS files serving.

  • v4.0.0
    April 21, 2020

    Now supports Sirv Media Viewer, for rich image zoom, 360 spin and video on your product details page.
    Automatically replace your product image gallery with Sirv Media Viewer, with no coding.
    Show content from your Sirv account as well as content from PrestaShop on your product details page.
    Improved synchronisation of module and theme images.
    Improved support for multi-language websites.

  • 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.

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.

Was this article helpful?

Get help from a Sirv expert