Project

General

Profile

Actions

Bug #20683

closed

Use $_SERVER['REQUEST_TIME'] instead of time() where it makes sense

Added by Niels Pardon over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-06-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Performance improvement tip from:
http://ilia.ws/files/phptek2007_performance.pdf

time() is a function call whereas $_SERVER['REQUEST_TIME'] is a static variable which should be fast than the function call.

(issue imported from #M11430)


Files

11430_TYPO3_trunk.patch (60 KB) 11430_TYPO3_trunk.patch Administrator Admin, 2009-06-27 15:32
11430_v4.diff (58.6 KB) 11430_v4.diff Administrator Admin, 2009-08-05 12:06

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20583: Select queries in caching framework should use $GLOBALS['ACCESS_TIME'] instead of time()ClosedRupert Germann2009-06-06

Actions
Actions #1

Updated by Rupert Germann over 15 years ago

committed v4 patch to trunk: rev 5761

Actions

Also available in: Atom PDF