|
[F] templates not cached at startup in some pages [C-Michael83]
|
|
11-06-2008, 09:42 AM
Post: #1
|
|||
|
|||
|
[F] templates not cached at startup in some pages [C-Michael83]
There are templates not cached at startup in some page:
search->getnew: search_orderarrow not cached at startup search->getdaily: search_orderarrow not cached at startup showthread (with a poll): showthread_poll_resultbit, showthread_poll_results not cached at atartup member profile: member_profile_signature, member_profile_groupimage not cached at startup modcp: modcp_modlogs_result not cached at startup private->send: not cached at startup i hope it helps ![]() if i find others i will report them
..:: Luca ::.. » my italian personal blog:
|
|||
|
11-06-2008, 02:53 PM
Post: #2
|
|||
|
|||
|
RE: templates not cached at startup in some pages
We're not going to cache every-single template because most of them won't be used and they would just take up memory
|
|||
|
11-06-2008, 03:27 PM
(This post was last modified: 11-06-2008 03:28 PM by luke83.)
Post: #3
|
|||
|
|||
RE: templates not cached at startup in some pages
(11-06-2008 02:53 PM)Ryan Gordon Wrote: We're not going to cache every-single template because most of them won't be used and they would just take up memory ok.. it's right, but you can put an if statement to include them at startup when you know you'll need them ![]() in user profile in exemple you will do two extra query to db, it also take up memory and in user profile you could have more requests each time spend extra queries, simply you can check at user profile page start if you are showing a profile.. if yes you'll put the templates in the cache at startup
..:: Luca ::.. » my italian personal blog:
|
|||
|
11-06-2008, 04:18 PM
Post: #4
|
|||
|
|||
RE: templates not cached at startup in some pages
(11-06-2008 03:27 PM)luke83 Wrote:(11-06-2008 02:53 PM)Ryan Gordon Wrote: We're not going to cache every-single template because most of them won't be used and they would just take up memory We're not going to be rewriting that until 1.6/2.0 since the 1.4 series is now only bug fix releases |
|||
|
11-06-2008, 04:19 PM
(This post was last modified: 11-06-2008 04:20 PM by luke83.)
Post: #5
|
|||
|
|||
RE: templates not cached at startup in some pages
(11-06-2008 04:18 PM)Ryan Gordon Wrote: We're not going to be rewriting that until 1.6/2.0 since the 1.4 series is now only bug fix releases ok, thanks for information, good work! have a nice day, luke83 ..:: Luca ::.. » my italian personal blog:
|
|||
|
11-10-2008, 05:41 PM
Post: #6
|
|||
|
|||
|
[F] templates not cached at startup in some pages
Thank you for your bug report.
This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated. With regards, MyBB Group |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help


![[Image: ub.gif]](http://luke83.stidue.net/ub/ub.gif)

