I really like the CSS functionality. Works wonder on my site. Somewhat uncertain on the caching though, and really want more information on the technical aspect of it XD
xfrocks updated [bd] Cache with a new update entry: Stable release Read the rest of this update entry...
014/01/14 16:11:43 [error] 17296#0: *1071447 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'ErrorException' with message 'mkdir(): File exists' in /home/blahblah/public_html/xenforo/library/XenForo/Helper/File.php:68 Stack trace: #0 [internal function]: XenForo_Application::handlePhpError(2, 'mkdir(): File e...', '/home/blahblah/publ...', 68, Array) #1 /home/blahblah/public_html/xenforo/library/XenForo/Helper/File.php(68): mkdir('/home/blahblah/publ...') #2 /home/blahblah/public_html/xenforo/library/bdCache/Css.php(20): XenForo_Helper_File::createDirectory('/home/blahblah/publ...', true) #3 /home/blahblah/public_html/xenforo/library/bdCache/Listener.php(145): bdCache_Css::save('css=moderator_b...', '@CHARSET "UTF-8...') #4 [internal function]: bdCache_Listener::css_shutdown('css=moderator_b...') #5 {main} thrown in /home/blahblah/public_html/xenforo/library/XenForo/Helper/File.php on line 68" while reading upstream, client: xx.xx.xx.xx, server: blahblahgamers.org, request:$
xfrocks @silence Can you please check the directory tree for external data/bdCache? Sorry for your problem.
silence @xfrocks Well the exception occured in the backend, and I had to go to admin.php to continue the addon installation process. That error only occurs once in the installation (it appeared once in my nginx error logs)
Có 1 hiện tượng là tính năng css to file chỉ chuyển được 1 phần: HTML: <link rel="stylesheet" href="data/bdCache/css/1389754255/907d782e9bac11daa74405f63adf2cd4.css" /> <link rel="stylesheet" href="css.php?css=XP_sub_forum,bbcm_buttons,bbcm_js,dark_azucloud,member_list,node_category,node_forum,node_list,panel_scroller,sidebar_share_page,sonnb_xengallery_navbar_template,sonnb_xengallery_widget,sonnb_xengallery_widget_album,vtlai_topx,vtlai_topx_tooltip,wf_default&style=8&dir=LTR&d=1389754255" /> Dẫn đến 1 số tính năng có overlay hoạt động không được, như click vào username nó chỉ hiện biểu tượng loading rồi tắt chứ không hiện ra membercard như bình thường. Phải nhấn Ctrl+F5 thì phần CSS thứ 2 mới được chuyển thành file: HTML: <link rel="stylesheet" href="http://cdn.kenhsinhvien.net/data/bdCache/css/1389754255/907d782e9bac11daa74405f63adf2cd4.css" /> <link rel="stylesheet" href="http://cdn.kenhsinhvien.net/data/bdCache/css/1389754255/ff21a4949181021a997b63a78430445d.css" /> Mình đang dùng Centos với Apache + NginX làm proxy nghịch + Core Front-end Cache + Memcached Back-end Cache + Cache Sessions Vậy mình phải làm gì để khắc phục tình trạng này?
xfrocks @caoanh204 Việc CSS vẫn đi qua css.php là bình thường, không vấn đề gì. Lỗi cho overlay là do CSS ở domain khác tuy nhiên mình có xử lý trường hợp này rồi, bạn cho mình link site tại đây hoặc conversation để mình qua kiểm tra nhé.
xfrocks @andret Cache will not be updated. But the latest page of thread_view is not cached so guests will be able to read recent pasts always.
xfrocks updated [bd] Cache with a new update entry: Minor feature update Read the rest of this update entry...
since I installed this add-on, all my articles thumbnails are gone, I use xen-zine article system. any solution?
xfrocks @realaqu This is being investigated. Please start a conversation with me with your site info.
xfrocks updated [bd] Cache with a new update entry: Minor feature update Read the rest of this update entry...
Would it be hard to add caching for a custom addon? We have a heavily modified version of the OXY News addon as frontpage, and it got no built in caching what so ever
xfrocks @andret It is fairly easy for other add-on to make use of this add-on, you can ask the author to check the code in [bd] Widget Framework. It has supports for [bd] Cache by doing 2 things: Extends bdCache_Model_Cache::isSupportedRoute Call bdCache_ControllerHelper_Cache::markViewParamsAsCacheable in its actions
xfrocks @andret If the add-on author doesn't add support, I can send your a small add-on to connect those two add-ons together Start a conversation with me.
I see that this addon caches pages. I'm not sure if you mean XF node pages because I don't see a top link to set TTL or purge cache for couple of XF pages that I created. For example, this is a page https://www.quantnet.com/mfe-programs-rankings/
I see lot of these errors on my server log 2014/01/29 02:49:49 [error] 29729#0: *129 open() "/home/nginx/domains/domain.com/public/data/bdCache/css/1389312000/d2669422a011f5d06602a24b1531cc9d.css" failed (2: No such file or directory), client: 209.xxx.xxx.xxx, server: www.domain.com, request: "GET /data/bdCache/css/1389312000/d2669422a011f5d06602a24b1531cc9d.css HTTP/1.1", host: "www.domain.com"
That file was from January 10th, it may get cleaned up by the add-on recently. You got server error because some system may cached the very old page (2+ weeks) and try to load it now. I'm thinking about the like of Googlebot. Maybe you want to disable the cron job to see if that still happens.
I have APC on the backend and I notice that since using this addon, the APC fragmentation is filling up to 100% after 2 days. Before, it can go weeks and it never got close to that level.
xfrocks @Andy Yes, this add-on relies heavily on cache system. And the cached contents are rather large so it's understandable. What is your configuration for APC?
I would say increase your memory size but 320M is rather large already. Please keep it running for a longer period of time to collect better average value for hit rate and miss rate.