This doesn't work when I use NO to Cache Templates Separately also. I don't think APC is installed atm anyway so it's better to be turned off.
I've looked all over and can't find other templates that other mod uses. Any ideas?
In case anyone is wondering....there are two issues I'm talking about...one is with the bbcode_quote mod and the other is the "Count of unread posts in the welcome box". The message here is the one about the bbcode_quote.
I also notice that it is falling over only on the 'Header/Navbar' replacements that are entered into the vBAdvanced settings. e.g. I have entered replacements for obvious files such as login.php, private.php, memberlist.php etc. and when the template_cache is enabled these links do NOT function (they try to use the 'root' path).
You could modify the navbar to use variables and just set them in the page's code itself (to save a query). This way you can avoid the str_replace, and you don't have to exclude your navbar.
I actually installed this product just to cache my navbar, because it was slowing everything down.
Also, @orban, how would I go about adding templates to this template cache?
I have a number of custom templates that I'm using and I'm tired of seeing the message "4 queries for uncached templates" flash quickly just before the page loads.
I tried creating a plugin that adds the templates to $globaltemplates, but it ... oh, I forgot a closing ')'
This dramatically increases my page load time -- I had been getting complaints about 8 - 16 second page request times, followed by about another 3 - 4 for loading. Now most pages load in 1-2 seconds. XD
You could modify the navbar to use variables and just set them in the page's code itself (to save a query). This way you can avoid the str_replace, and you don't have to exclude your navbar.
I actually installed this product just to cache my navbar, because it was slowing everything down.
Also, @orban, how would I go about adding templates to this template cache?
I have a number of custom templates that I'm using and I'm tired of seeing the message "4 queries for uncached templates" flash quickly just before the page loads.
I tried creating a plugin that adds the templates to $globaltemplates, but it ... oh, I forgot a closing ')'
This dramatically increases my page load time -- I had been getting complaints about 8 - 16 second page request times, followed by about another 3 - 4 for loading. Now most pages load in 1-2 seconds. XD
All sorted?
You have to add your custom templates to $globaltemplates that's correct.
My custom templates were cached for about an hour, then they weren't cached anymore.
Don't know what to do now... Didn't change anything. Back up to 5 second load times.
Okay, so even though my setting for $vboptions[forumhome] is home.php, my navbar is attempting to go to index.php. And what do you know? Over half my templates folder vanished...