• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Static CNAME Path for CDN

BigBoiJefe

Chevereto Member
@Rodolfo

I'd like to offset the static elements of my site to a CDN, the issue is that If I setup a CNAME, called static.gagr.com, pointing to gagr.com, there's no way to change the path url in the code.

The static content I need to change:

Code:
http://gagr.com/app/lib/analytics.js
http://gagr.com/app/lib/chevereto.min.js
http://gagr.com/app/themes/Peafowl/style.min.css
http://gagr.com/content/images/system/logo_20150516074225.png
http://gagr.com/lib/Peafowl/js/scripts.min.js
http://gagr.com/lib/Peafowl/peafowl.min.css
http://gagr.com/lib/Peafowl/peafowl.min.js

Needs to be changed to:

Code:
http://static.gagr.com/app/lib/analytics.js
http://static.gagr.com/app/lib/chevereto.min.js
http://static.gagr.com/app/themes/Peafowl/style.min.css
http://static.gagr.com/content/images/system/logo_20150516074225.png
http://static.gagr.com/lib/Peafowl/js/scripts.min.js
http://static.gagr.com/lib/Peafowl/peafowl.min.css
http://static.gagr.com/lib/Peafowl/peafowl.min.js
 
For that you need to use the "CDN" setting. When you do that all the local resources are pointed to that URL. In this case you need to add a rewrite in static.domain.com to the right path/folder that you need. System will use CDN_URL instead of local url and append the path.

Your CDN url could be static.chevereto.com, static.chevereto.com/src, whatever, is the resolution in static.chevereto.com (in this case) which matters.
 
Last edited:
Back
Top