implemented expires and last modified headers