开发者

How to deal with Dynamic images on website

开发者 https://www.devze.com 2023-01-04 04:32 出处:网络
I have a website that has the functionality of dynamically loading the images. My website is getting slowed down if there are too many images (jpeg files).

I have a website that has the functionality of dynamically loading the images. My website is getting slowed down if there are too many images (jpeg files).

How can I de开发者_如何学Goal with such images ?

The website is built in Drupal.

-VJ


There are a few solutions for this type of issue, some of my recommendations are below.

  1. Implement a CDN (Content Delivery Network) for your images, so they are delivered via a high bandwidth server, rather than yours.

  2. Drupal has some useful tools to speed up sites, JS and CSS aggregation might do the trick.

  3. I would recommend using a module called "Imagecache", this will allow you to control the size and quality of images that your users / yourself upload and display on the site.

0

精彩评论

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