amazon web services - AWS CloudFront Edge Cache Expiry Logic -


users upload profile pics website. path "user 150" is:

www.website.com/pics/150.jpg

if user changes profile pic, old 1 stuck in edge cache until expiry. how can load new profile pic edge cache after uploaded?

the easiest way make sure uploads have random key filename. (something uuid)

instead of constructing path file when needed, store entire path in relation user.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -