First: nothing's really broken, just confusion.
Since 1.11 we can cache calls to UDTs if set so in
Site Admin -> Global Settings -> Smarty Settings
Which i did. I expected one of my UDTs to misbehave (the UDT contains an sql select query that returns random results). Hence I wanted to call it with nocache. however, even the cached call returns random results, which now raises doubts whether caching UDTs is actually working.
I read the changelog in
Site Admin -> System Maintenance ->Changelog
and it says:
UDT's are never cachable.
I admit i dont really get the details of the whole caching, but - to me - it sounds like you can enable a setting that by design will never work?
CMSMS 1.11
CMSMailer 5.2.1
FileManager 1.4.0
MenuManager 1.8.2
ModuleManager 1.5.5
News 2.12.7
Search 1.7.6
TinyMCE 2.9.11
CGSimpleSmarty 1.5.2
CGExtensions 1.30
CGBlog 1.9.8
CGFeedback 1.5.7
Captcha 0.4.5
FormBuilder 0.7.3
IE6Warning 1.03
Showtime 3.2
CMSPrinting 1.0.2
Server: Linux Debian Lenny 2.6.26-1-686 kernel
apache 2.2.9-10
mysql 5.0.51a-24
php 5.2.6-1
[SOLVED] caching UDTs (or not?)
[SOLVED] caching UDTs (or not?)
Last edited by rotezecke on Mon Aug 13, 2012 4:17 am, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: caching UDTs (or not?)
There was a small typo in the preference name used in the expression to indicate whether UDT's were cachable.
Thanks.
It's fixed in svn and will be released with 1.11.1
Thanks.
It's fixed in svn and will be released with 1.11.1
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.