Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #6921, comment 10


Ignore:
Timestamp:
06/03/2018 11:33:51 AM (2 years ago)
Author:
DJPaul
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6921, comment 10

    initial v1  
    1 I've been thinking about this. Downside of using `post_content_filtered` is having to re-generate that cache each time the template is edited in wp-admin, or the customiser, or when the template file is added or modified on the file system.
     1I've been thinking about this. Downside of using `post_content_filtered` is somehow having to re-generate that cache each time the template is edited in wp-admin, or the customiser, or when the template file is added or modified on the file system.
    22
    33I can't see any alternative (other than not doing this) to storing this in a transient, and making a go/no-go based on how large the new transient options are in wp_options table (for sites without an object cache).