Task #4088
Check maximum allowed path length only when creating of cache files failed
Status: | Closed | Start date: | 2009-07-31 | |
---|---|---|---|---|
Priority: | Could have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 0% |
|
Category: | Cache | |||
Target version: | - | |||
Sprint: | Has patch: | |||
PHP Version: | 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
History
#1 Updated by Bastian Waidelich almost 6 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.