Dokan makes any cache plugin/system useless…
-
Im using cloudflare to cache my wordpress.
Before using dokan, my cache ratio is 99% (for 1000 pageviews 999 of the time visitor see cached page, saving my server resources).
After installing dokan. it become 20%.Its because you set this ‘dokan_product_viewed’ cookie for each product pageview.
Cloudflare or any cache system will not cache if there is setcookie in the response header.And guess what? There is no way to remove this functionality. I even remove it via this ‘dokan_get_class_container’ hook. Its not successfull because ‘\WeDevs\Dokan\PageViews()’ already called before ‘dokan_get_class_container’ fired.`
- The topic ‘Dokan makes any cache plugin/system useless…’ is closed to new replies.