Issue #2357127 by znerol: Fix when session.cookie_lifetime is zero, some fragments are delivered with Cache-Control: no-cache headers