Issue Bug Closed

#23247Speedup t3lib_cache_backend_DbBackend::has($entryIdentifier)

Michael Knabe 07/21/10, 16:15 updated 08/12/10, 13:14

Description

Currently t3lib_cache_backend_DbBackend::has($entryIdentifier) gets the rows from SQL and runs php-count on the result set.
If you replace that with sql_num_rows that method becomes 1.5 times as fast in my measurements.

Although this is not a big issue as long as you don’t call has() very often I think we should patch that.

(issue imported from #M15196)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.