Magento 2 CDN / Static file signing


Magento 1 does not come with built in CDN support (version control system). In Magento 2 you can enable version control for static files by setting Store=>Configuration=>Advanced=>Developer=>Static file settings to yes. This will create text file under pub/static/deployed_version.txt with version number. In developer mode it will automatically get updated with time stamp.

CDN, Static, Signing, Magento 2

CDN, Static, Signing, Magento 2

Gihan Kavinga

Technical lead at Netstarter PTY Ltd. Magento certified developer plus. Oracle certified professional Business Component Developer. Linux system admin.

Leave a Reply

  • (will not be published)