Optimization Strategies for Electronic Document