Mobile app version of vmapp.org
Login or Join
Cugini213

: CDN caching my HTML pages too! Recently I started using Amazon CloudFront to serve my site's JS,CSS and images via CDN. However, seems like with those, CloudFront serving my HTML pages as well?

@Cugini213

Posted in: #AmazonCloudfront #Cache #Cdn #Seo

Recently I started using Amazon CloudFront to serve my site's JS,CSS and images via CDN. However, seems like with those, CloudFront serving my HTML pages as well? Thus mydomain.com and cdn.mydomain.com returning same result.

Will it hurt my site SEO in any way? How can I disable/tell CloudFront to exclude these HTML pages?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cugini213

1 Comments

Sorted by latest first Latest Oldest Best

 

@Candy875

No, it will no hurt your SEO if your HTML page are static. The CDN will check for new versions from time to time (it depends on the configuration).

If your pages are not static, then you may want to set a no-cache header to your html pages. The CDN will not store a copy and users will always get a fresh version. If you don't do this, your users may have a bad experience and decide not to return to your site. So, this could impact your SEO indirectly.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme