Blog / How are third party resources defined on a website vs primary resources?

How are third party resources defined on a website vs primary resources?

On a website, third-party resources are typically defined as any resources (such as scripts, stylesheets, or images) that are loaded from a domain that is different from the primary domain of the website. In other words, these are resources that are hosted by a third-party service or provider, rather than on the website's own server.

Examples of third-party resources include ads from ad networks, social media widgets, Google Analytics scripts, and embedded videos from services like YouTube or Vimeo.

In contrast, primary resources are resources that are loaded directly from the website's own domain or server, such as the website's HTML, CSS, and JavaScript files, images, and other media assets.

Third-party resources can be useful for adding additional functionality or content to a website, but they can also affect the website's performance and user experience, as they can add additional latency and increase the number of network requests required to load the page.

Learn more about how third party resources are optimised by different parts of the technology stack across hosting, content delivery networks, and providers like Chinafy.

Don't get left behind.
Optimize your website for the world's fastest-growing consumer market. Start today, cancel anytime.
Make your website work in China
Enter in a few details and one of our Chinafy team members will reach out to you shortly with a plan and next steps to 'Go Live' in China.
Which website do you want to Chinafy?
Tell us your name?
What best describes your company role?
What's your Work Email Address?
What would you like to discuss?
Have a discount code?
By clicking 'Get Started', I also agree to Chinafy's Terms of Service & Privacy Policy.
Thanks for getting in touch!
One of our China experts will be in touch with you via email within the next 24 hours with

1 - Expected post-Chinafy results
2 - Your Custom Plan
3 - Next steps.

P.S. Make sure to check your promotions inbox in case our message lands there.
Please feel free to check out our case studies or blog in the meantime.
[[embed: get started form inline type]]

Related Stories

Load More

Notey will use the information you provide on this form to be in touch with you and to provide updates and marketing. Please let us know all the ways you would like to hear from us:

You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at We will treat your information with respect. For more information about our privacy practices please visit our website. By clicking below, you agree that we may process your information in accordance with these terms.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.