I use a hosted CMS and do not have server side access so I cannot set expiry for images but was told it helps to optimize my images and improve my site speed. My question is what exactly does it mean to use image optimization? And how?

Note: I use photoshop for majority of my image editing.

  • 2
    most of your question is answered by John. To improve your website speed you can also consider to "creating image sprites", "not scaling image in HTML", and "make favicon small and cacheable".
    – Rudy
    Commented Aug 25, 2011 at 5:29
  • As an update to others who see this post. I came across a PNG optimizer called TinyPNG which works very well! I highly recommend trying it out!
    – L84
    Commented Aug 16, 2014 at 19:25

3 Answers 3


If you don't have access to the server you won't be able to control caching. That is probably the most important aspect of optimizing the loading time of images and just leaves you with making sure your images are as small as they can be while still looking good.

The key to this is choosing the right format for your images and then using the proper compression for them. Each format has its strengths and weaknesses. Generally speaking JPEGs are good for photographs and PNGs are preferred over GIFs as they offer better compression especially if you use tools like PNGCrush.


I use a CMS and do not have server side access so I cannot set expiry for images

Not necessarily true. Some apps provide ways to edit htaccess without file access, eg. WP Htaccess Editor for WordPress. You should look around at your options, if using some other system.

  • I use Business Catalyst and they do not have server side access. And I am happy and highly recommend BC to anyone. =>
    – L84
    Commented Aug 24, 2011 at 18:31
  • Ah, okay. I made a small edit to the question to specify the CMS is hosted. Leaving answer for context.
    – Su'
    Commented Aug 25, 2011 at 9:13

I believe it means that you should take a special attention to the weight and format of your image. You should compress image as much as possible but also taking car of not losing too much quality. For picture, jpg is the recommended format. For other image you should use png.

You should take a look on this website that automatically optimize your image from a link: http://sitereportcard.com/imagereducer.php

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.