-
Integrate Perch with CDNify, but first make sure you’ve added a resource by following the Setup Your First CDN guide.
-
Login to your Perch admin panel:
mysite.com/perch
-
Within pages, open up:
perch/config/config.php
-
Find this line:
define('PERCH_RESPATH', PERCH_LOGINPATH . '/resources');
-
Update it to this:
define('PERCH_RESPATH', 'http://myresource.a.cdnify.io' . PERCH_LOGINPATH . '/resources');
-
If you have a custom buckets list, then prefix the web_path for any buckets you want to serve from CDNify.
-
Open:
perch/config/buckets.php
-
Find this line:
'web_path' => '/my/bucket/path',
-
Update it to this:
'web_path' => 'http://myresource.a.cdnify.io/my/bucket/path',