Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 945 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 945 Bytes

TIG Tinify CDN for Magento 2

We created this extension to add immediate image optimization and CDN functionality to Magento 2.

Installation using Composer

composer require tinify/tinifycdn-magento2

Installation without using Composer

Clone or download the contents of this repository into app/code/Tinify/TinifyCDN.

Development Mode

After installation, run bin/magento setup:upgrade to make the needed database changes and remove/empty Magento 2's generated files and folders.

Production Mode

After installation, run:

  1. bin/magento setup:upgrade
  2. bin/magento setup:di:compile
  3. bin/magento setup:static-content:deploy [locale-codes, e.g. nl_NL en_US
  4. bin/magento cache:flush

Done!

Configuration

To use this module you need an active Tinify CDN account. You can connect to your account using the 'Connect to your Tinify Account' button in Stores / Configuration / Tinify / Tinify CDN.