This is a follow-up to #1982848: Warn that 'protect all forms' disables caching on certain pages

One of my biggest frustrations with the Honeypot module is that when you enable the module, caching is instantly broken on all pages that have a protected form because the default time limit is set to 5.

I would like to see some more serious messaging when caching has been disabled on these pages. I've been hired to diagnose performance issues on several sites that have been honeypotted because the site architects either missed the current warning, or didn't fully consider the ramifications.

Comments

jenlampton created an issue. See original summary.

jenlampton’s picture

Status: Active » Needs review
StatusFileSize
new962 bytes
chris matthews’s picture

Status: Needs review » Needs work

Hi Jen, this patch no longer applies on 7.x-1.x-dev.

chris matthews’s picture

Status: Needs work » Needs review
StatusFileSize
new576 bytes

Here is an updated patch against the current 7.x-1.x-dev for review.

chris matthews’s picture

It may also be helpful to add an additional drupal_set_message warning if the ''Use Javascript protection for cacheable pages. (experimental)' is checked, but I can't work out how to make this work.

chris matthews’s picture

tr’s picture

Version: 7.x-1.x-dev » 2.0.x-dev
Status: Needs review » Postponed (maintainer needs more info)

This seems to be a duplicate of #2415835: On core performance page, warn about honeypot's disabling of page cache. ? Please review the patch in that issue and submit the above patch in that issue if you think that is a better solution.

Regardless, this needs to be addressed in 2.0.x first at this point.

tr’s picture

Issue summary: View changes
tr’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

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