Add possibility to use JS on cached pages

Created on 19 October 2016, over 7 years ago
Updated 28 May 2024, 4 days ago

Here's a sandbox helper module that allows time limit protection on cached pages. It works by setting the time limit far into to the future on the server side, then replacing the time field using ajax and a more reasonable limit.

Jeff, if you could look this over and let me know if there are problems with this approach or if you'd consider adding this functionality to Honeypot, I'd really appreciate it. Thanks.

https://www.drupal.org/sandbox/awolfey/2820391

🐛 Bug report
Status

Needs work

Version

2.1

Component

Code

Created by

🇺🇸United States awolfey

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024