Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

work with session


Reply


506 Views

Avatar
bebabeba

Community Member, 193 Posts

10 March 2011 at 6:17am

Hi!
I divided my homepage's site in different area and for each area I use an include file .ss.
I perform in every area one or more query and display of the homepage is quite heavy.
Is it possible avoid to reload the page every time you return to the homepage? SilverStripe has come up with a way to load the page in the first session and not reload it again?

In some cases I have noticed that the execution of a query occurs more than once even if the query is unique and should be performed only once. How it is possible?