2015-04-02 28 views
1

我发出大图片并在客户端调整大小。从S3提供图片并通过pagespeed优化(缓存,缩放)

今天我发现pagespeed可以调整图像大小并将其提供给客户端。
好吧,听起来不错,但设置起来并不容易。

这是现在发生的事情。

1. client request page 
2. with ajax or json inside the initial page response, image url is provided 
3. image url is at aws s3 (or I could set that image url to point to my server and proxy it) 

如何使它如下..

​​

PageSpeed and CDN images
Google mod_pagespeed for ajax loaded content
https://superuser.com/questions/768040/https-proxy-s3-aws-via-nginx-with-pagespeed

https://code.google.com/p/modpagespeed/issues/detail?id=599

似乎指向一个答案,但很难得到我的头在附近......

+0

你解决了这个问题吗? – Anatoly 2015-09-22 22:22:37

+0

@Anatoly:不,现在放弃.. – eugene 2015-09-23 10:18:17

回答