How to GZip dictionaries?
As we GZip CSS and JS files in AEM, we would like to GZip dictionaries (dict.en_US.json, dict.fr_US.json, etc) as well. How can we achieve that? Help would be greatly appreciated.
Thanks,
Mohan
As we GZip CSS and JS files in AEM, we would like to GZip dictionaries (dict.en_US.json, dict.fr_US.json, etc) as well. How can we achieve that? Help would be greatly appreciated.
Thanks,
Mohan
Hi,
What you mean with "gzip", is the compression of the HTTP body; it is offered by the clientlibrary manager ootb for clientlibs, but AFAIK AEM is not using it for other files.
But your webserver (which also hosts the dispatcher) can do the compression on-the-fly as well, if you instruct it to do so (for example you should use mod_deflate for Apache HTTPD). This doesn't have negative impact on the performance of the site, but then also cached files benefit from this kind of compression.
But please note: Any HTTP client does this compression/uncompression transparently. So the files in the dispatcher cache are not compressed then.
Jörg
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.