Project

General

Profile

Actions

Bug #63821

open

Story #63815: Reduce communication between server and client

HTTP header status 200 should be 304 when cached page not modified

Added by Patrick Broens over 9 years ago. Updated about 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2014-12-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

When a cached page is requested, a "Last-Modified" header is sent with the response, based on the SYS_LASTCHANGED field of the page.
The server response always has a "HTTP/1.1 200 OK" status

There is no check if the browser request comes with a "If-Modified-Since" header. If so, It should be compared with SYS_LASTCHANGED. If the date of SYS_LASTCHANGED is earlier or equal than "If-Modified-Since", it should return a "HTTP/1.1 304 Not Modified" status, instead of "HTTP/1.1 200 OK".

A "HTTP/1.1 304 Not Modified" status does not have to send the content of the page, which reduces traffic.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #17085: HTTP GET 'If-Modified-Since' ignoredClosed2007-03-06

Actions
Actions

Also available in: Atom PDF