my application filling disk space serialized pages. not being cleaned @ - not after session expiration. order find out reason need understand how serialization working.
1) wicket have hooks on http session clan page history when session terminated or times out?
2) configuration options page history?
3) is possible configure page serialization use http session , not temp dir?
4) is possible configure page serialization use in memory cache?
ok.... i've checked code
1) yes
2) folder path (javax.servlet.context.tempdir) can configured on properties. diskdatastore can used configure few additional things pragmatically: limit serialization size (default 10 mb) , in memory page cache size.
3) yes - registering httpsessiondatastore
4) partly - it's possible increment storesettings#inmemorycachesize, when it's full, wicket start serialization file - makes sense.
Comments
Post a Comment