Help - Search - Members - Calendar
Full Version: All sites reloading images on refresh
The Planet Forums > Control Panels > cPanel/WHM
deepblue
Some clients are complaining that their sites are completely reloading the images when refresh is hit. As fas as I know the browser reloads the images only if you press CTRL-F5.

They have tryied with windows, linyx, netscape, IE, opera ... No way. It appears the server doesn`t allow cache storing or something like this.

Is there any configuration to be made on cpanel or server-side to solve this ?

I have noticed it even on my site, on a flash animation i have on the top of it, it aways reload, even if I go to another page and click back to the first one (no F5 pressed, just revisiting the page).

Can anyone throw some light on what happens ?
Got-Hosting
I have noticed this behavior as well.
piranha
Getting rid off of mod_gzip helped me.
Got-Hosting
Really. Well, that is a tough decision. I really like mod_gzip.
imin
Make sure mod_gzip isn't compressing image files. This is what normally causes this problem, and you don't really need to compress what should already be compressed files.
Got-Hosting
Here is the section from my httpd.conf:


mod_gzip_on Yes
mod_gzip_can_negotiate No
mod_gzip_dechunk Yes
mod_gzip_keep_workfiles No
# Exclude non http1.1 compliant browsers 1000=HTTP/1.0 1001=HTTP/1.1
mod_gzip_min_http 1000
# Where to put work files
mod_gzip_temp_dir /cache
# file size thresholds
mod_gzip_minimum_file_size 250
mod_gzip_maximum_file_size 0
mod_gzip_maximum_inmem_size 1000000
# File types
mod_gzip_item_include file .htm$
mod_gzip_item_include file .html$
mod_gzip_item_include file .pl$
mod_gzip_item_include file .cgi$
mod_gzip_item_include file .php$
mod_gzip_item_include mime text/.*
mod_gzip_item_include mime ^application/x-httpd-php
mod_gzip_item_include mime ^httpd/unix-directory$
# Standard Netscape Caveats
# tell mod_gzip not to compress stuff sent in a posted form!
# these seem to be specific to my Resin Servlet handler
mod_gzip_item_exclude reqheader Content-Type:application/x-www-form-urlencoded
mod_gzip_item_exclude reqheader Content-Type:multipart/form-data
# compressed Cascading Style Sheets definitely don't render in Netscape 4.7x
mod_gzip_item_exclude file .css$
# JavaScript don't compress so good
mod_gzip_item_exclude file ".js$"
# NS 4.07 lies about 1.1 compliance
mod_gzip_item_exclude reqheader User-Agent:.*Mozilla.*4.07
mod_gzip_item_include mime httpd/unix-directory
# SWF files do not appear to work well
mod_gzip_item_exclude file .swf$


Do I need to specifically exclude them?
flaunt
yeh i had the same thing, ive got a busy VB forum on my server and all of the buttons etc were reloaded everytime the page was refreshed or every new page loaded..

fixed it by finding the above mentioned section in httpd.conf and adding ->

mod_gzip_item_exclude file ".jpg$"
mod_gzip_item_exclude file ".gif$"

seems to work a treat icon_smile.gif hope this helps.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.