Task #4088

Check maximum allowed path length only when creating of cache files failed

Added by Bastian Waidelich over 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Could have
Category:
Cache
Target version:
-
Start date:
2009-07-31
Due date:
% Done:

0%

Estimated time:
Sprint:
PHP Version:
Has patch:
Complexity:

Description

Currently we're checking the length of each cache file that is generated in the caching FileBackend.
It might be possible to do that check only if touch() returned FALSE to avoid the (small) performance loss due to the many strlen() calls.

This has to be tested and profiled.


Related issues

Related to TYPO3.Flow - Feature #3560: Display meaningful error message if temporary path would be too long for OSResolvedBastian Waidelich2009-06-04

Actions
#1

Updated by Bastian Waidelich about 12 years ago

  • Status changed from New to Closed

There seems to by no way to catch the Warning that PHPs touch() command evokes if the file could not be created.. So this is not easily fixable.

Also available in: Atom PDF