MyBB Community Forums

Full Version: caching skins and not storing them into DB at all
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I see phpBB has done this and it has really cut down on queries the only thing now with phpBB3 storing in DB skin related is the following

SKIN ID#
what skin a user is using

I say why not try this for MyBB 1.4 or higher

cache all skin CSS,templates
I think that's a good idea; caching might be good and using the Smarty or a home-made templating system would be nice.

Of course; on a busy server; a load of queries to load the template of a page might hurt the DB server.
The CSS can already be cached to files. The template system does cache all the templates the page expects to use in one query at the beginning of the page load.