LJ::text_compress — Compresses a chunk of text, to gzip, if configured for site. Can compress a scalarref in place, or return a compressed copy. Won't compress if value is too small, already compressed, or size would grow by compressing.
LJ::text_compress
(text);
text.
cgi-bin/ljlib.pl
nothing if given a scalarref (to compress in-place), or original/compressed value, depending on site config