Remove files not used
Add cache control to resources
Do not serialize the session as cookies when it is empty
[cleanup]