Is there a way to cache two different versions of a function? Say you have a contact page, that when users are logged in, includes a comments and suggestions form, however when your not logged in, does not display this form.
Is there a way to cache one version for logged in users, and the other version for everyone else? The html never changes except for the display of the form. -Thadeus On Fri, Oct 9, 2009 at 9:07 PM, Iceberg <iceb...@21cn.com> wrote: > WEVER, if the output is a dict, then the web2py core will further > render them by the DEFAULT view. If the output is a string, then the > web2py core will serve it as-is. This is a rendering feature of web2py > core, and has nothing to do with cache fe > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---