Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #41281, comment 14


Ignore:
Timestamp:
07/18/2024 09:49:18 AM (19 months ago)
Author:
apermo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41281, comment 14

    initial v1  
    2828I hope to restart the discussion in order to improve things for everyone. As mentioned in the other topic, with adding the filter proposed in #61383, there is a way to improve things for people who are aware of the solution. But it would be far from the ideal solution.
    2929
    30 Does anyone have a third solution besides adding an index to {{{wp_postmeta}} or adding the path as column to {{{wp_posts}}}.
     30Does anyone have a third solution besides adding an index to {{{wp_postmeta}}} or adding the path as column to {{{wp_posts}}}.
    3131
    3232In my example I went for adding a custom table, that will only contain the post_id and the attachment_file_path, which speeds things up from 3-6s down to 2ms, while I think this was the best choice for my clients project, I don't think this would be the perfect solution for WordPress.