Hi,
I thought at first this issue was due to upgrade to Drupal 7.25 (something changed in the cache for anonymous). But reverting to 7.24 did not resolve my problem: logged-in users get garbage when re-visiting a page. First the STR:

  • Log in as UserA
  • Browse to /content/youth
  • Browse back to front page
  • Browse to /content/youth

-then the user just gets a lot of garbage. Clicking "back" to go back to front also just produces garbage. Adding "?blahblah" after the url clears the cache for the user, and restores the correct html.
Seems to be some http request issue, does it not?
Only turning off AuthCache resolves this issue, it seems, and that is not good for permormance... Do you have any tips for me? This used to work fine, you know... Perhaps upgrading to 7.25 really did break something?

Comments

znerol’s picture

Title: Registered users receive garbage » Registered users receive garbage (Drupal 7.25 + Page Compression)
Status: Active » Needs review
Related issues: +#1476810: (followup) drupal_serve_page_from_cache can serve uncompressed data with Content-Encoding gzip header with page_cache_without_database = 1
StatusFileSize
new1.3 KB

Ok, I can reproduce the issue with 7.25. Attached is a patch which restores compatibility with the latest Drupal release. If you do not want to patch your authcache, you also may just disable page compression in Administration » Configuration » Development » Performance. Remember to flush caches afterwards.

jwa’s picture

I have also recently upgraded to 7.25 and had the same issue of garbled text on all cached pages. This patch seems to have fixed the problem though. Many Thanks!

znerol’s picture

Status: Needs review » Fixed

Thanks for the report and the feedback. Committed and pushed: 4e3b61b. 7.x-1.7 will follow soon.

DeNelo’s picture

Great, this works for me too.
Thanks a lot for fast turnaround!

jwa’s picture

Appears to be working with 7.26 as well. Thanks for pushing that out so fast

David_Rothstein’s picture

I added this to the "known issues" section of the Drupal 7.25 release notes:

https://drupal.org/drupal-7.25
https://drupal.org/drupal-7.25-release-notes

Status: Fixed » Closed (fixed)

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