add static trac resource support