Re: Disable first level cache - session

2021-04-15 Thread Bergmann Manfred
Hello. > Am 15.04.2021 um 12:56 schrieb Martin Grigorov : > > On Thu, Apr 15, 2021 at 1:31 PM Bergmann Manfred > wrote: > >> Hi. >> >> Hmm. Does not seem to remove the session attribute >> „persistentPageManagerData“, or lower it’s size. >> It still stores a

Re: Disable first level cache - session

2021-04-15 Thread Martin Grigorov
On Thu, Apr 15, 2021 at 1:31 PM Bergmann Manfred wrote: > Hi. > > Hmm. Does not seem to remove the session attribute > „persistentPageManagerData“, or lower it’s size. > It still stores a "org.apache.wicket.page.PageStoreManager$SessionEntry“ > object which seems to contain a serialized page. >

Re: Disable first level cache - session

2021-04-15 Thread Bergmann Manfred
Hi. Hmm. Does not seem to remove the session attribute „persistentPageManagerData“, or lower it’s size. It still stores a "org.apache.wicket.page.PageStoreManager$SessionEntry“ object which seems to contain a serialized page. It is still quite large. That’s my goal, to remove this session data

Re: Disable first level cache - session

2021-04-15 Thread Martin Grigorov
Hi, You need to create a custom IPageManagerProvider. To make it simpler you can extend from https://github.com/apache/wicket/blob/wicket-8.x/wicket-core/src/main/java/org/apache/wicket/DefaultPageManagerProvider.java and override its #newPageStore(IDataStore) and return an IPageStore that does