Open MarceloPedra opened 9 years ago
I agree, I use this plugin on my WOO site, because it's faster than every other one. However, the initial hit on reloading a stale page is a bit too much for most users. They will call and complain, or leave the site after a few long waits. If you could add support for caching Products and Categories in WOO, it would greatly improve the usability of this plugin. Thanks!
I think preload loads all post types returned by wpsc_get_post_types() which is filterable but defaults to WordPress get_post_types() so any extensions which correctly register a post type should be covered. So WooCommerce Products are certainly preloaded but supercache wouldn't know about category pages since these are not posts.. .. however this looks to be filterable too via wp_cache_preload_taxonomies which defaults to array( 'post_tag' => 'tag', 'category' => 'category', so one could filter and add product_tag and product_category and presumably any important product attributes as well.
Hello, I deal with WooCommerce sites and I'm noticing this plugin has a trend to not preload product posts, nor even product categories nor product tags, which are really relevant ones for ecommerce sites. Those items are cached only upon visiting, but looks like automatic preload is ignoring it.
Can anybody confirm? And if it is so, can you fix this to -at least- detect whether the WooCommerce plugin is active in the system and then add product posts/categories/tags to the preload queue? And maybe with a higher priority than normal posts, because blogs are usually a secondary/decorative piece of ecommerce sites.
Thanks!