mercredi 29 juillet 2015

Cloudfront limit to specific region

I have an application which will be used only in India. I am using Cloudfront distribution to serve the assets. I already have versioning strategy implemented for changing the names of the assets which are changed for the build.

Given all that I only have to invalidate index.html which takes care of using versioned other assets.

I am using cloudfront invalidation to invalidate index.html . I have observed that invalidating this single file always takes more than 2 minutes. I understand its because its invalidating the file at 42 edge locations. I dont need the file to be placed and invalidated at 42 edge location. If there is any configuration which will keep the file only at the edge locations in India, I guess invalidations will be faster.

Is there any configuration like that to limit copying of file at specific edge locations.




Aucun commentaire:

Enregistrer un commentaire