How to deal with Dynamic images on website
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.
Implement a CDN (Content Delivery Network) for your images, so they are delivered via a high bandwidth server, rather than yours.
Drupal has some useful tools to speed up sites, JS and CSS aggregation might do the trick.
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.
精彩评论