handle if-modified-since for legacy backend
use utf norloge in legacy backend