Shan
💖 Chevereto Fan
Okay, so after working with anmolgill to get CDN working on my website.
I thought of an idea, why not have it already there?
Adding it was very simple, which took literally 2 minutes to add and edit the values in the config.php and the functions.php files.
However, for new members with no experience to coding whatsoever, this may be a bit more of a challenge, so why not have it in?
Simply under the config.php have a setting with this layout.
And then in the functions.php; having the value of 'true' (default falue would be false)
would change it to use either the CDN url or the _CHV_ROOT_ url
Wouldn't be too hard to implement, like 15+ minutes max as the settings are already there.
I thought of an idea, why not have it already there?
Adding it was very simple, which took literally 2 minutes to add and edit the values in the config.php and the functions.php files.
However, for new members with no experience to coding whatsoever, this may be a bit more of a challenge, so why not have it in?
Simply under the config.php have a setting with this layout.
PHP:
/** CDN Support
*Please only change this if you know what you're doing.
*Make sure your CDN is configured correctly BEFORE setting this value
*/
$config['CDN_enabled'] = 'true'; // Values: true | false
$config['CDN_url'] = ''; //http(s)://cdn.mysite.com/
And then in the functions.php; having the value of 'true' (default falue would be false)
would change it to use either the CDN url or the _CHV_ROOT_ url
Wouldn't be too hard to implement, like 15+ minutes max as the settings are already there.