Caching not working? Try this workaround
-
Unfortunately the caching doesn’t seem to be working in the shortcode or function outputs. This is definitely the most important feature to have working correctly if you don’t want to get a Google penalty for content spinning.
Is it possible to get a fix for this or try to understand what’s happening?
Whilst I don’t condone editing plugin files, especially other people’s, I needed a workaround to fix this asap as I am about to launch this on over 1,500 pages. I edited line 22 in this file /wp-content/plugins/text-spinner/text-spinner.php from
'cache' => 0,
to'cache' => 315360000,
which sets the cache for 10 years in seconds which is exactly what I needed. If you do need to test or reset everything, just change the number and it will flush the cache.Note: This will set the cache period every single shortcode/use on your site and you can’t override it so this fix won’t be suitable if you want to use it to spin new text for every user on each load.
- The topic ‘Caching not working? Try this workaround’ is closed to new replies.