
04-19-2012, 11:14 AM
|
|
New Member
|
|
Join Date: Mar 2012
Posts: 5
|
|
Quote:
Originally Posted by webizen
are these static files served straight or via php ?
access log (i.e. /usr/local/lsws/logs/access.log) should show if the images files are served
|
Thanks for the response.
a) They are static, being served directly by the filesystem.
b) They are being served. See the following (sanitized) log:
1.2.3.4 - - [19/Apr/2012:13:07:06 -0500] "GET /media/catalog/product/cache/1/small_image/165x/9df78eab33525d08d6e5fb8d27136e95/m/y/my_image.png HTTP/1.1" 200 4096 "[referer]" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19"
As you can see, it only served 4096 bytes.
The file itself is 19059 bytes.
|