[bd] Cache [Deleted]

It refresh the cache. Normally you don't have to purge it, only when you need guest to see some new content immediately.
You mentioned "when you need guest to see some new content immediately" Can I just check is this cache for guests only or will it cache for 10 mins for registered members also?
 
Maybe you can extend it to cache post for members also?
Like what @Xon did: https://github.com/Xon/Xenforo-SVPostRenderCache
Actually early version of this add-on does caching for member but it turned out to be a complete disaster with third party add-on conflict. You cannot cache the whole page because user need to see updated conversation and alert count and a bunch of other user-related things. For most sites, guest should make up the majority of traffic and cache for them is worth the effort. If you have many users, you should upgrade your server to give them better experience anyway :D
 
I've had issues with existing alerts not working since installing this add-on. It resolves if people unwatch and watch the forum or topic again. Anyone else had this issue?
 
@xfrocks - I received this server error:

Code:
ErrorException: unserialize(): Error at offset 20 of 65536 bytes - library/bdCache/Model/Cache.php:237
Generated By: Unknown Account, Yesterday at 11:45 PM
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(8, 'unserialize(): ...', '/home/admin/pub...', 237, Array)
#1 /home/admin/public_html/community/library/bdCache/Model/Cache.php(237): unserialize('a:7:{s:6:"outpu...')
#2 /home/admin/public_html/community/library/bdCache/Model/Cache.php(119): bdCache_Model_Cache->_internalData_load('00eab675fe1d33a...')
#3 /home/admin/public_html/community/library/bdCache/Core.php(148): bdCache_Model_Cache->load('19eb41efb48fc54...', 1)
#4 /home/admin/public_html/community/library/bdCache/Listener.php(116): bdCache_Core->getCached()
#5 [internal function]: bdCache_Listener::front_controller_pre_dispatch(Object(XenForo_FrontController), Object(XenForo_RouteMatch))
#6 /home/admin/public_html/community/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#7 /home/admin/public_html/community/library/XenForo/FrontController.php(132): XenForo_CodeEvent::fire('front_controlle...', Array)
#8 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
  ["url"] => string(87) "http://mysite.com/community/threads/prayers-please-dying-baby-zeke-fip.22124/page-2"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
@xfrocks - I received this server error:

Code:
ErrorException: unserialize(): Error at offset 20 of 65536 bytes - library/bdCache/Model/Cache.php:237
Generated By: Unknown Account, Yesterday at 11:45 PM
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(8, 'unserialize(): ...', '/home/admin/pub...', 237, Array)
#1 /home/admin/public_html/community/library/bdCache/Model/Cache.php(237): unserialize('a:7:{s:6:"outpu...')
#2 /home/admin/public_html/community/library/bdCache/Model/Cache.php(119): bdCache_Model_Cache->_internalData_load('00eab675fe1d33a...')
#3 /home/admin/public_html/community/library/bdCache/Core.php(148): bdCache_Model_Cache->load('19eb41efb48fc54...', 1)
#4 /home/admin/public_html/community/library/bdCache/Listener.php(116): bdCache_Core->getCached()
#5 [internal function]: bdCache_Listener::front_controller_pre_dispatch(Object(XenForo_FrontController), Object(XenForo_RouteMatch))
#6 /home/admin/public_html/community/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#7 /home/admin/public_html/community/library/XenForo/FrontController.php(132): XenForo_CodeEvent::fire('front_controlle...', Array)
#8 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
  ["url"] => string(87) "http://mysite.com/community/threads/prayers-please-dying-baby-zeke-fip.22124/page-2"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
How often are you having this? It looks like the data overflowed the cache.
 
Another problem with this addon activ, sometimes the googlebot can not access pictures and Scripts.

"Vorübergehend nicht erreichbar" = " Temporarily Unavailable"

upload_2014-12-9_14-15-37.webp

I have often tested it in the google webmaster tools. That is bad for rankings so I deaktivate this Addon.
 
Back
Top Bottom