#5741 - Consider is_readable instead of file_exists where applicable

  • By
  • Added
  • 16 views
Identifier #5741
Issue type Feature request or suggestion
Title Consider is_readable instead of file_exists where applicable
Status Open
Tags

Roadmap: Over the horizon (custom)

Type: Performance (custom)

Handling member Deleted
Addon core
Description is_readable may be a better option performance-wise than file_exists if we are checking for a file and also planning to read it.

We may need to make our own cms_is_readable like we have cms_is_writable.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated