added support for static resources compression