38 posts
  • Australia
  • Envato Developer
  • Envato Staff
  • Exclusive Author
  • Has been a member for 3-4 years
stevehodgkiss Dev says

In order to improve page load time for users around the world we’re going to try serving externally hosted images (used in item descriptions, forum posts and other user content areas) through a Content Delivery Network called Cloudfront.

Before rendering the page we re-write the image tags in your content to serve them through an image proxy service with Cloudfront on top. The image proxy gets the image from the external server and passes it along to Cloudfront, which will cache the image based on the cache headers the external server responded with.

The first step is a trial to a small percentage of users for short periods of time over the next couple of days so that we can measure load times and monitor for errors. If you notice any strange behaviour that may be related to this please let us know in this thread.

During this trial, any changes that you make to your images may not be shown to all users unless you also change the URL of the image. Everything will go back to normal at the end of the trial, and we’ll document this in detail if it becomes a permanent feature.

362 posts
  • Referred between 10 and 49 users
  • Europe
  • Exclusive Author
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Sold between 10 000 and 50 000 dollars
codenegar says

Some authors use inline images to get stats and count of page views, this will break their stat.

38 posts
  • Australia
  • Envato Developer
  • Envato Staff
  • Exclusive Author
  • Has been a member for 3-4 years
stevehodgkiss Dev says
Some authors use inline images to get stats and count of page views, this will break their stat.

The image counters we’ve looked at so far all respond with no-cache in the Cache-Control header. This tells Cloudfront not to cache the image and always request it from the origin server, so page view counting should still work.

1549 posts
  • Sold between 10 000 and 50 000 dollars
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Russian Federation
  • Has been a member for 2-3 years
  • Exclusive Author
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
  • Grew a moustache for the Envato Movember competition
AndrVlad says

Yes, please keep image counters. Just in case I’m using http://ga.webdigi.co.uk/

Best Regards, Andrey

22 posts
  • Australia
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
compactcode says

Nice, been keen on this for a while :D

38 posts
  • Australia
  • Envato Developer
  • Envato Staff
  • Exclusive Author
  • Has been a member for 3-4 years
stevehodgkiss Dev says

We’ve temporarily turned it on for everyone to gather more data, and the results are looking good so far! Please let us know if you spot any issues related to this feature :)

362 posts
  • Referred between 10 and 49 users
  • Europe
  • Exclusive Author
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
  • Sold between 10 000 and 50 000 dollars
codenegar says

Please check this page http://codecanyon.net/item/android-live-tv/5199544
They have added a flag counter, and it has been cached.

38 posts
  • Australia
  • Envato Developer
  • Envato Staff
  • Exclusive Author
  • Has been a member for 3-4 years
stevehodgkiss Dev says
Please check this page http://codecanyon.net/item/android-live-tv/5199544 They have added a flag counter, and it has been cached.

It also appears cached when you view it without the Cloudfront image proxy links – http://codecanyon.net/item/android-live-tv/5199544?image_proxy=nothanks.

2947 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

I’ll probably get shot for saying this, but rewriting to cloudfront will overcome one of the biggest hurdles for getting marketplace wide ssl…. * hides * ... authors wont have to get their own ssl hosting for preview images/forum images/etc..

Hey devs, could you please consider adding the original file name at the end of the cloudfront rewritten url (eg: ....29823472/original.jpg) ? I’ve always tried to name my item images as descriptive as possible for what tiny little seo benefit it may have.

Cheers :)

7173 posts
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
  • Envato Studio (Microlancer) Beta Tester
  • Beta Tester
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a Free File of the Month
  • Bought between 50 and 99 items
  • Referred between 10 and 49 users
+1 more
doru says

I’m using Amazon S3 to host promo images and then insert them in the item preview text.

Did this new change means that once the image is cached to cloudfront it will never be accessed on amazon servers each time the page is viewed?

by
by
by
by
by
by