dokan
dokan copied to clipboard
Add filter to ProductCache::delete to skip for certain $seller_ids
Is your feature request related to a problem? Please describe.
I am constantly pulling in product and editing their info in an automated manner for user ID 0. Dokan in ProductCache.php invalidates many caches including product_data for many events including when a new product is added.
Because I am always adding and editing products automatically, its like there is no Dokan cache then. Dokan constantly is spending time invalidating the cache.
Describe the solution you'd like
Please add a filter in ProductCache::delete to skip if specific $seller_id. I will then write a cron that clears those caches once a day rather than constantly.
Describe alternatives you've considered
No response
Additional context
No response
@nurul-umbhiya bhai, can you please check this issue?