Conditionally suppressing Smartlet property transport

Release 1.1 - ...

Because the client- and callbackaccess properties are static for the entire smartlet, data that is only needed in some scenarios is always transported to the client. Especially if the data is encrypted, this can add up to a lot of overhead in each request/response. The smartlet architecture doesn't offer any specific functionality to suppress property transport, but string properties can simply be set to an empty string. For example:

Smartsite SXML CopyCode image Copy Code
<se:if expression="smartlet.get(pagesize)==0">{smartlet.set(sqlquery,"")}</se:if>