2009年6月8日月曜日

placing

このエントリーをブックマークに追加 このエントリーを含むはてなブックマーク

A width and height should be specified for all images in order to speed up page display. Specifying image dimensions prevents the browser from having to re-position the contents of the page.

Well, I need to fix html generator. img src contains size, it should be very easy.


There are 200kB worth of images. Optimizing them could save ~90.4kB (45.2% reduction).

I should put compress or deflate. but not today.

Expiration has changed

このエントリーをブックマークに追加 このエントリーを含むはてなブックマーク
Previously, it was 3600 seconds. Now it lasts two weeks.

# 3600 x 24 x 14
imageserver.image_expires=1209600
imageserver.image_cache_control='public'
imageserver.mobile_expires=1209600
imageserver.mobile_cache_control='public'
imageserver.form_expires=1209600
imageserver.form_cache_control='public'

2009年6月7日日曜日

Page Speed

このエントリーをブックマークに追加 このエントリーを含むはてなブックマーク
I checked http://d.hatena.ne.jp/bgnori/20090607 with google page speed

got following:

The following cacheable resources have a short freshness lifetime. Specify an expiration at least one month in the future for the following resources:

It's okay, since I put small expiration intentinally. Going to change it.


Resources with a "?" in the URL are not cached by most proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:

This is not good. need to eliminate "?" some how. may be I can split it with "/"
maybe I can use mod_write to do this job done.