2012-05-16, 19:26:12
mvlcek Wrote:tosd Wrote:A further update on this one - I have checked that the problem exists in Chrome and Safari, but not Internet Explorer or Firefox.
Another oddity is that if a non-gallery page is visited first (e.g. about or contact), then a gallery page is selected next, the thumbnails show correctly
Seems to be a bug of Chrome (webkit engine) (?):
- If you do a Refresh (F5, Ctrl-R), Chrome sends a If-Modified-Since header and Apache correctly responds with 304 Not Modified - then Chrome should use the cached image, but it doesn't (always)!?
- On the other hand, if you just load the page (press return in address bar or come from another page), Chrome does not send If-Modified-Since headers and Apache returns the images - everything works (but it should rather just take the image from the cache instead of requesting it!?)
- Interestingly, if you press Ctrl-F5, Chrome requests the images with no If-Modified-Since header, gets the image and still doesn't display it!?
There are also errors in style.css, to (space after :
Code:#main a: visited {
color: #333333;
}
#main a: hover {
color: #ff0000;
}
Many thanks for taking the time to look into this - I really appreciate it. The thing I don't understand is why the gallery in the main division suffers from this problem when the sidebar gallery is fine. Strange isn't it? With the increased popularity of the webkit browsers it would seem to be a bit of a problem if it is browser related. In the mean time I will check all my CSS.