Forum: NGINX proxy_store binary encoding ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cab66b0caecae0068ab03d1f36b87273?d=identicon&s=25 Olivier Bonvalet (Guest)
on 2008-12-19 16:36
(Received via mailing list)
Hello,

I have a problem with proxy_store, files are stored in a "binary format"
(see below).
The size of it is exactly the same as the original contents, so it's not
a "compression".

What can I do to avoid this ? I didn't find anything about this
"encoding".

Thanks,
Olivier

The binary contents :

‹������¤UmªFþî¯àS£÷*3ʺnJ`TR;àÝ{Ó4„ÅÑ%E
ˆ®wÓßa†Ý+nºmRHÈ™sžó6ç…Y™ô%¤K%BMB£[Ý¢‘ô"ïK
ÜwÞe}ït;{~[-Vá̜ۡ¹°‹`÷wiz/)Ðü
Ž‡¤y¥à1Énù‘ìÓ@,æ¨Ú¹á„öŠC‘®Èh¤ÉH¾iafy0ˆ…­šú�iz®Ë‚²=qqÅ¡è…xícsìŠÀ–ùK’¦Pe(u¿"4‘ÖÉI²ãY:k£p4Å“HÛr"•§[$ë2”‡=iNã?rP!Ã¥ê’Ógh
nj„Ôµèce~
Þ…wÃ4ñJx®è¹OÕ>íGE‘&qT%yÎ5çóùš»O'N¡¬÷?OœÒÞ
ݯYfÜú¶ìoË 
ƒû4œV͉›÷°kz–íι…ÝKRô7t›F}5ñ±ÈÄö½¦©ú�õÕv
qóã¾tÃœ*÷‹-âÃcµ¦RӖ"yΠPW¡ŽdÆч7ª ÇœT•!
®ªÕáHV'Bûå‡ö¥{™0Ž³iw“”4®zÕçCÙ>ï7Ón–g´×X‹ß¬µºÎñˆö‡Hôó4†ê
[©æ×½°iáÈ}tD;:m恵ÝÖy¾=wÙ°qm‘7X‡ 
‰QDñmÉ]c‰?¦gXV3ʘu
”QK¼òˆ(›_ÇxéøBíz¬,Ï\/ÙÀ°Eà Uð”ïikÍ0š¯Ð
\¶´ÅP2ôÏU~¬vÑ.£¥çûh›5×Ìvð[¶ÿÙ×)ÿÎîû�’lCÏrñT´Ò{K›5Ù^-0¶úÈ7¶ÆÈkóy’U-¢²š²OrøiCU’ñqÅ“VÇ,9$ôÊÈš8ÍnáŠ
7W17ü`| 
m7Àdf˜"G¶eº®ñÏlš©î1†x‹›ïêp‰ƒ…'vÿBöÿRv×Äþ÷LšZý¨Ó?Üý—ñ±3ûô깞´ÖœG^çÔÿο��ÿÿ�]Xȼg��
5640e332954fc0006aea97a155ce0afd?d=identicon&s=25 Igor Sysoev (Guest)
on 2008-12-19 17:09
(Received via mailing list)
On Fri, Dec 19, 2008 at 04:24:08PM +0100, Olivier Bonvalet wrote:

> Hello,
>
> I have a problem with proxy_store, files are stored in a "binary format"
> (see below).
> The size of it is exactly the same as the original contents, so it's not
> a "compression".
>
> What can I do to avoid this ? I didn't find anything about this "encoding".

nginx does not do any encoding while proxy_store.
This is raw content from backend. Try to run gunzip to ensure
that is not backend's gzipping.
Cab66b0caecae0068ab03d1f36b87273?d=identicon&s=25 Olivier Bonvalet (Guest)
on 2008-12-19 17:26
(Received via mailing list)
Wow, you're right. PHP is compressing the data... I was comparing to the
size of the contents my browser was indicated, which of course is also
compressed...

Thanks a lot !

Olivier

Igor Sysoev a écrit :
This topic is locked and can not be replied to.