Download & Extend

Gzip corruption when saving data-stream if using pressflow and built in cache and boost at the same time

Project:Boost
Version:6.x-1.x-dev
Component:Caching logic
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Need to look into this more, as it should be working. Probably pressflow is gzipping the content before sending it... thats my guess.

Comments

#1

Take a look at #43462: cache_set and cache_get base_url brokenosity
There's a possible bug which could be pressflow affected too

#2

Ghetto fix:
for json: look for the starting {
for html/xml: look for the starting <
If not there gzip decode and try again...

#3

after further investigation (disabling boost), this is still a problem. Bug Filed for pressflow
https://bugs.launchpad.net/pressflow/+bug/477075

#4

Status:active» needs review

Problem was with the Beautify module. Here's a patch that makes this work again.

AttachmentSize
boost-623784.patch 3 KB

#5

Status:needs review» fixed

committed

#6

Status:fixed» needs review

Got a little ahead of my self here, its hard to add in the boost comment when the data stream is compressed. I need to decompress first before saving the file.

AttachmentSize
boost-623784.patch 2.79 KB

#7

Status:needs review» fixed

committed

#8

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.