开发者

CDN for executable files

开发者 https://www.devze.com 2023-03-08 05:53 出处:网络
On my new site, I display around 50-60 thumbnails per page using my one of the plugin. About plugin:

On my new site, I display around 50-60 thumbnails per page using my one of the plugin.

About plugin:

  1. For every requested post id, it extracts conten开发者_运维技巧t for the post from DB and find out the image url.
  2. It generates thumbnail for found image URL.

I wanted to minimize number of hits to the server in generating the thumbnail. If server is cache enabled then it can reduce many of the hits. But i was willing to separate the 2nd part from the plugin and to host it on any other server/CDN where i/other can request to generate thumbnail without any charges.

I tried free webhosting provider. but i felt they are generally slow/down maximum of time.

Please suggest the approach or CDN, if any...

Or any online image api which can resize/zoom/crop/edit an image, if i pass the image url.


It will be very hard (almost impossible) to find a reliable server/CDN that will generate thumbnails of images for free.
TANSTAAFL

Assuming your plugin uses several standard wordpress function, you might be able to use another plugin which takes the generated thumbnails and uploads them to another server. I recommend W3 Total Cache.

You could also try CoralCDN to take some load off your server.

So: You can use CoralCDN (or similar) and just point the URLs of your thumbnails through it, or you can have a caching plugin like W3TC upload the files to an almost-free site like Amazon S3.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号