[bd] Cache 1.2.3

Faster and faster.

  1. xfrocks

    xfrocks XenForo rocks! Staff Member

    Tags:
  2. yavuz

    yavuz Member

    We are waiting for that announcement :) :p
     
  3. xfrocks

    xfrocks XenForo rocks! Staff Member

    Haha. Nice.
     
    yavuz likes this.
  4. andret

    andret New Member

    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
     
  5. xfrocks

    xfrocks XenForo rocks! Staff Member

    Soon :D
     
  6. xfrocks

    xfrocks XenForo rocks! Staff Member

    BassMan likes this.
  7. xfrocks

    xfrocks XenForo rocks! Staff Member

    I have included the technical information section just for you ;)
     
  8. silence

    silence New Member

    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:$
     
  9. xfrocks

    xfrocks XenForo rocks! Staff Member

    Can you please check the directory tree for external data/bdCache? Sorry for your problem.
     
  10. silence

    silence New Member

    Yes it is there :)
     
  11. xfrocks

    xfrocks XenForo rocks! Staff Member

    I meant can you check its contents too. For files and directories under that directory?
     
  12. silence

    silence New Member

    Yes there are a few CSS files under it, and checking firebug's net panel shows CSS files are being served from there.
     
  13. xfrocks

    xfrocks XenForo rocks! Staff Member

    There should be some numeric directories and then some CSS files inside those directories. Btw, you said the CSS files are being served from there? How many exceptions have you encountered?
     
  14. silence

    silence New Member

    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)
     
  15. xfrocks

    xfrocks XenForo rocks! Staff Member

    Interesting, please keep an eye on it if that happens again.
     
    silence likes this.
  16. caoanh204

    caoanh204 New Member

    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&amp;style=8&amp;dir=LTR&amp;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?
     
  17. xfrocks

    xfrocks XenForo rocks! Staff Member

    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é.
     
    caoanh204 likes this.
  18. andret

    andret New Member

    Will cache be updated if new posts are added to a thread?
     
  19. xfrocks

    xfrocks XenForo rocks! Staff Member

    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.
     
  20. xfrocks

    xfrocks XenForo rocks! Staff Member

    If you uninstalled the add-on, it should work as before. Try force refresh your browser (ctrl+f5). If it doesn't work, please start a conversation with me with your forums info, I will come and check. Sorry for your problem.
     
Loading...