Image compression, web optimization in general.
My last website is finished and works great. I am working now on making it faster. It is an image intensive website, and when I test it in sites likehttp://www.webpagetest.org/, most of the optimization measures fail. specially Image compression and Cache static content (despite that I have all cache options on).
Anyone knows how to deal with this?
Thank you ,
Also add this code to your htaccess file to gzip stuff:
<FilesMatch "\.(js|css|html|htm|php|xml)$"> SetOutputFilter DEFLATE </FilesMatch> <IfModule mod_headers.c> BrowserMatch MSIE ie Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie </IfModule> <IfModule mod_expires.c> # Enable expirations ExpiresActive On ExpiresDefault "access plus 1 month" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/jpg "access plus 1 month"
What is the URL?
Thank you for your reply... I added the code you said to the htaccess file, and I had also used the "constrain image size" option in most images like I saw you recommended in an other thread.
All images had been saved for 72 or 96 dpi resolution, before uploading to C5.
The link ishttp://www.beautebook.com, I am not sure the htaccess new code is working, hover images are very slow and the page in general takes a while to load. If you could take a look that would be great,
Thank you again...
If images work for you, swap out and see if webpagetest and pingdom give better results.
I replaced all images with the ones you gave me, thank you so much.
I have a question, your images are the same size and resolution (72 dpi) than mine, how come your files are much smaller? Is there another variable other than size and resolution?
Thanks a lot for your time and your help, your advice has been very useful.
I open my images/photos in the editor and crop/trim/adjust colours or whatever and ALWAYS try to save/export as a jpg.
From my experience using some other photo editors .i.e photoshop, things will never work out.
They came into the program from you site. I left everything as default. The output became a quality of 80 at 72dpi.
I found this one online, it is extremely simple and works very fast and well, I leave the link for the record:
My version is CS5 18.104.22.168