Support » Plugin: W3 Total Cache » Feature Request: MU Installs – generate blog lookup map on options save

  • When W3TC is installed on a large site, the immediate frontend result when visiting a blog is the ?repeat=w3tc query string. This is not useful for SEO and is a bit frustrating to say the least. This is caused by W3TC looking for specific blog ID and if it’s not found in the lookup map, it clears out the entirety of the cache to add that blog to the cache/blogs.php map. Why can’t this lookup map be generated automatically instead of per blog? One cache clear seems like a better approach than 100+ cache clears to add one blog to the map per clear.

    The code in question here is in lib/W3/Plugin/TotalCache.php, and more specifically, $do_redirect.

    https://codex.wordpress.org/Function_Reference/wp_get_sites will return blog ID and path without any further queries. This is a pretty inexpensive query.

    https://wordpress.org/plugins/w3-total-cache/

  • The topic ‘Feature Request: MU Installs – generate blog lookup map on options save’ is closed to new replies.