[wp-trac] [WordPress Trac] #64294: WooCommerce Blocks: Wrong domain in wp_resource_hints on multisite due to network-level cache (woocommerce_block_asset_resource_hints)

WordPress Trac noreply at wordpress.org
Mon Nov 24 06:03:40 UTC 2025


#64294: WooCommerce Blocks: Wrong domain in wp_resource_hints on multisite due to
network-level cache (woocommerce_block_asset_resource_hints)
--------------------------+------------------------------
 Reporter:  margelatu     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.8.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by palak678):

 I looked into it, and it appears to be a genuine multisite bug.
 WooCommerce Blocks uses a network site transient to store resource hints
 so all subsites share the cache.  The prefetch URLs display the incorrect
 domain as a result.

 It would be preferable if the transient key contained the blog ID so that
 each site received its own cached version, or if these hints were cached
 per site rather than network-wide.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64294#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list