Use AWS. 30% is a quite a difference. Also you would have more control over 
headers and images can be closer to end customers - would not help with 
costs but it's nice.
Increasing cache time if you can. We set caching for over a month. 
Theoretically they can be cached by proxies as well (*but probably not much 
gain here unless majority of you customer is from the same corporate 
network*).
Make sure the consumer of the image caches it if possible. Test in all 
major browsers.



On Saturday, 2 May 2015 17:59:42 UTC+1, Kaan Soral wrote:
>
> Hi everyone
>
> I recently noticed a bump in costs after improving the static image 
> quality of my app, this bumped the daily bandwidth costs from ~7$'s to 
> 20$+'s
>
> Overall there are ~200 statically served images, I tried reducing the 
> quality of png's and turning them into jpg's, yet it degrades the image 
> quality, at the same level of quality, the size of the jpg's are identical 
> to the png's, so, as it is, paying the extra costs seem to be one option
>
> I'm also wondering whether there is an easier solution out there, maybe 
> using pagespeed as a CDN/cache with an easy config change, but as far as 
> I've researched, it didn't seem feasible/simple
>
> Setting up cloudflare for a subset of the traffic is another option, but 
> I'm not sure whether cloudflare can reliably serve all those images
>
> I checked some other CDN's / cloud solutions, they all seemed close to 
> AppEngine's pricing, CloudFront for example: 
> http://aws.amazon.com/cloudfront/pricing/ ~30% lower
>
> As it is, App Engine serves images well, yet the bandwidth costs are 
> higher than the instance hour costs, so I would like to reduce the 
> bandwidth cost if there is a simple solution out there that I'm missing
>
> (My default_expiration is "1h", I've also verified the "expires" header, 
> yet probably the consumer of the images doesn't cache them, I really wish 
> the issue was caching, but it doesn't seem the issue can be solved by 
> modifying the http caching)
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/33f5882b-1adb-4452-b7d1-3fca3c3fb23a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to