Issue: How can I control _transient_wc_ in WP_Options
-
Hi Our store has 116,000 product variations.
Due to the volume of products I have had to modify some plugins to bring down the number of transients saved.
Pre modification up to 500,000 transients were created in WP_Options by some plugins with poor scalability.
Transients is filling up fast with the following values which appear to be from WooCommerce core functions
_transient_wc_var_prices
_transient_wc_product_children
_transient_wc_related
_transient_timeout_wc_XXXXX All of the above
I have the following questions.
1.What is being stored?
2.Is it really necessary?
3.Can I disable these transients? If so can you help/provide a snippet or location of the code that sets the transients?
Notes
We have WP-Rocket for page caching and a cache warmer so 100% of the site is crawled and cached every day.
We are about to impliment REDIS caching. This may help by storing transients in the RAM but I need to know if I can prevent them from filling WP_Options first. Otherwise they will just fill our object cache and we will need more Ram.
The page I need help with: [log in to see the link]
- The topic ‘Issue: How can I control _transient_wc_ in WP_Options’ is closed to new replies.