Class DeflatedJavaSerializer

  • All Implemented Interfaces:
    ISerializer

    public class DeflatedJavaSerializer
    extends JavaSerializer
    A JavaSerializer that deflates the outputstream on the fly, reducing page store size by up to a factor 8. Be advised that deflating serialized objects comes at a price of about 2-20ms per page request, depending on the size of the page and the cpu power of the machine.

    To use this serializer, put the following code in your application's init:

     getFrameworkSettings().setSerializer(new DeflatedJavaSerializer(getApplicationKey()));
     
    Author:
    papegaaij