Closed (fixed)
Project:
Honeypot
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2013 at 21:23 UTC
Updated:
9 Jul 2013 at 17:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
joshk commentedEven better would be if this could be made compatible with page caching. It's pretty much a deal-breaker for production sites not to be able to cache for anonymous visitors.
Comment #2
geerlingguy commentedThis setting will only disable caching on pages where non-admin forms are present. On some sites, this could be many pages, if there's a particular form you have in a block that's displayed across most of the site.
However, on most sites, this setting will only disable caching on pages like the User Registration page, and Webforms (pages where user-fillable forms are present). At least, that's how it should be working.
Finally, it would be a good idea to show some warning if this option is checked that any page where a form is present will not be cacheable. Another option would be to allow users to disable timestamp-based protection on forms entirely—but that's would defeat about half the effectiveness of this module's spam fighting capability.
The best solution, if you have a site where performance/cached page hits is extremely important, is to simply not check 'Protect all forms', and to enable protection on only the forms you need. Maybe the documentation should make it clear that this is the typical/preferred use case.
Comment #3
geerlingguy commentedComment #4
geerlingguy commented8.x patch attached.
Comment #5
geerlingguy commentedDone with 8.x: http://drupalcode.org/project/honeypot.git/commit/04d4aff
Comment #6
geerlingguy commentedD7 patch attached.
Comment #7
geerlingguy commentedComment #8
geerlingguy commentedD7: http://drupalcode.org/project/honeypot.git/commit/e595108
D6: http://drupalcode.org/project/honeypot.git/commit/4e3b30f