1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is there a parsed post table, or a cache?

Discussion in 'XenForo Questions and Support' started by Rigel Kentaurus, Nov 9, 2010.

  1. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    I noticed that there is no parsed post table. Does this mean that the bbcode is parsed in each and every time that the post is rendered?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It appears so. I did some testing and searching of the code and the database and I can't find any caching or pre-parsing going on.
  3. bambua

    bambua Well-Known Member

    As long as the code is efficient that parses the bbcode I actually see this as an advantage. If you have to modify the results of a bbcode you don't have to have it reparse the entire database everytime you make a change.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    While such a cache does need to be updated following changes to BB codes, that process doesn't normally involve the 'entire database.' For example, vB's post caching system only caches recent posts.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    This is excellent news as it means making changes to BB Code won't require re-parsing the posts table.

    One thing I am dreading is converting from phpBB to XenForo due to the way BB Code/Smilies are parsed and stored in the post table.

Share This Page