After integrating the StackPath CDN with a Content Management System (CMS) integration plugin or custom approach, it's important to check that files are being delivered from StackPath's global network.
A correct assets integration takes your website's base html and points select asset references at the CDN. Depending on how you manage your website, there are various way to achieve integration. Whether through plugin, script, or manual labor the goal is to parse through html source and replace "https://example.com/..." with a domain that is has a DNS record pointed at your provider's CDN.
Make sure you have followed a CMS setup tutorial first. If you have, follow these steps:
Navigate to your website with static assets set to be delivered by StackPath CDN. This could be your home page, a subdirectory, or any individual asset you want delivered. Most commonly we use the homepage.
- If you're using Firefox or Chrome, right click on your page and select View Page Source from the browser's options menu.
If you're using Safari, press and hold Option+Command+U on your page to open the Page Source
If you're using a Mac, open the search bar by pressing Command + F.
If you're using Windows, open the search bar by pressing Ctrl + F
Enter the StackPath CDN URL in the search bar.
Depending on the amount of static assets on the page, the browser should highlight many different areas in the page's source code.
View the highlighted portions of the page's source code. Make sure your CDN URL precedes the name of the static files you want delivered by StackPath CDN.
If you see your regular domain in front of static files you want delivered by the StackPath CDN, the integration is not successful. If this is the case, please review the tutorial you used to integrate StackPath CDN or contact StackPath support, we're available 24/7.