Cache in minutes tradition web screen Property

Hi Team,


Can you please elaborate more on the "Cache in Minutes" property of the Tradition web app screen. I want to use to improve the performance of landing pages which is totally static content.


Thanks,

Jitendra

Stuart Harris wrote:

Hi Jitendra


There are some good pages on caching in the documentation.

https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Traditional_Web/Web_Interfaces/Navigating_in_the_Application/Web_Screen

https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Data/Caching

You also might want to try an online performance tester like this one https://www.webpagetest.org/

I hope this helps!

Kind regards,

Stuart


I saw all these threads but I am looking if anyone had implemented in the project so can hear the experience.I mean any issues if we enable this property?


Hi,


There are currently known issues with it due to multiple new automatic security features that have beed added to the Platform in the last 2 major versions. Most likelly any buttons in a cached page won't work correctly with the default (and recommended) security settings.

I currently do not recommend using it, as it will most likelly be removed in the near future. The page linked above (https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Data/Caching) already had all the mentions about Web Screens removed recently in accordance with that.

One on the main issues is that it's typical for pages to have personal information in it. For example the user name on the top header or menu. Caching full pages easily causes personal user information to be sent to other users.

For that reason you should stick with cache on Web Blocks, Queries and Actions, ensuring that any element you cache do not have any sensitive information.


Edit:

Just checked the linked page and it's more explicit that removing the mentions. It now explicitly says "Some elements don't support caching." ... "Screens, as the feature currently does not support this element."


Regards,

João Rosado