
12-19-2005, 04:32 PM
|
 |
|
|
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by arpy
This is a way but unfortunately one I don't want to go:
With template caching disabled (now), we have 1 additional query when viewing a calendar entry with nobody enrolled or 2 queries, when s.b. is enrolled (2 templates).
With your solution, one every pageview (not only calendar) there is an overhead (1 plugin loaded).
If s.b. really has perfomance issues with his vb, he should consider including the templates in calendar.php (which would be a hack, not a plugin).
But as written in the release text, I don't think that 1 or 2 uncached templated are a problem.
|
Updated: kills 2 queries on event view.
https://vborg.vbsupport.ru/showpost....0&postcount=18
Code:
if (THIS_SCRIPT == 'calendar'){
$globaltemplates = array_merge($globaltemplates, array('calendar_rollbit','calendar_roll',));
}
|