WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #32264, comment 18


Ignore:
Timestamp:
09/01/2015 09:52:26 PM (4 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32264, comment 18

    initial v1  
    1 I wonder if we should introduce the `has_audio` and `has_video` counters (in the options table) instead of using SQL queries at all?
     1I wonder if we should introduce the `has_audio` and `has_video` counters (in the options table) instead of using these potential slow SQL queries at all?
    22
    33These counters could be updated when we upload or delete audio/video files.
    44
    5 This could of course introduce potential sync problems, but that might not be more difficult to handle then dealing with these potential slow SQL queries.
     5This could of course introduce potential sync problems, but then we could adjust the options value if needed.