Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
This is the fourth beta release of Authcache 2.0. This release fixes a couple of defects but also introduces some noteworthy enhancements.
This release contains substantial changes to some JavaScript files. Be sure to test with a couple of browsers before deployment.
The example.vcl changed slightly (diff). Please review and incorporate the modifications if you operate a VCL derived from this file.
Since 7.x-2.0-beta3 the following changes were introduced:
Bug fixes
- Issue #2358225 by znerol: Fix Varnish sends 304 header for ESI pages although some of the included objects might have changed
#2358225: Varnish sends 304 header for ESI pages although some of the included objects might have changed - Issue #2357127 by znerol: Fix when session.cookie_lifetime is zero, some fragments are delivered with Cache-Control: no-cache headers
#2357127: When session.cookie_lifetime is zero, some fragments are delivered with Cache-Control: no-cache headers - Issue #2354701 by znerol: Fix comment edit link not shown when comment form is on different page
#2354701: Comment edit link not shown when comment form is on different page - Issue #2293279 by fox_01, joelpittet: Fix Notice: undefined index: settings in authcache_panels_pane_fragment_id()
#2293279: Undefined index: settings in authcache_panels_pane_fragment_id() - Issue #2307555 by ohthehugemanatee: Fix comments misattributed when comment form is Ajax enabled
#2307555: Comments intermittently misattributed - Issue #2275083 by znerol, ohthehugemanatee, vinmassaro: Fix the remove-form-token feature
#2275083: authcache-enabled forms get "form has become outdated" after token expires - Issue #2193085 by ryan88, marcus178: Fix array to string conversion notice in front controller scripts
#2193085: Notice: Array to string conversion
Enhancements
- Issue #2358041 by znerol: Use strict mode in JavaScript and pass jshint/jslint
#2358041: Use strict mode in JavaScript and pass jshint/jslint - Issue #2355957 by znerol: Cleanup authcache debug
#2355957: Cleanup authcache_debug.js - Issue #2355921 by fox_01: Document that most core/contrib Ajax callbacks are uncacheable due to the pervasive use of POST requests
#2355921: Document that most core/contrib Ajax callbacks are uncacheable due to the pervasive use of POST requests - Issue #2355955 by znerol: Use a setting instead of an assembly for number of new comments count
#2355955: Use a setting instead of an assembly for number of new comments count - Issue #2281665 by ohthehugemanatee: Exclude admin menu ajax callback and support toolbar and shortcuts menu
#2281665: authcache support for admin_menu - Issue #2354205 by znerol: Provide an alternative way to verify whether requests came in through Varnish
#2354205: Provide an alternative way to verify whether requests came in through Varnish - Issue #2353999 by znerol: Use identity operator instead of equality operator where possible
#2353999: Use identity operator (===) instead of equality (==) where appropriate - Issue #2354653 by znerol: (JavaScript) Use identity operator (===) instead of equality (==) where appropriate
#2354653: (JavaScript) Use identity operator (===) instead of equality (==) where appropriate - Issue #2333605 by fox_01: Include base_root into key cache id to better support subdomain based multilingual sites
#2333605: Support multilingual - Issue #2352967 by znerol: Cache results of Ajax requests
#2352967: Cache results of Ajax requests and reuse them - Issue #2352239 by znerol: Use base form id for deriving form tokens
#2352239: Use base form id for tokens in order to minimize ajax requests on repeated forms (e.g. commerce add-to-cart) - Issue #2286919 by znerol: On Authcache ESI Status page, warn if the user accessing the report is excluded from authcache
#2286919: On Authcache ESI Status page, warn if the user accessing the report is excluded from authcache - Issue #2270009 by EuroDomenii: Authcache integration with Relation Entity Collector block
#2270009: Authcache integration with Relation Entity Collector block
Documentation
- Authcache 2 - The big picture
- Authcache 2 recipe: Upgrade to Varnish and ESI (Updated for Nginx)
Use gitweb to review the full list of changes between beta3 and beta4.
Outlook
Boost support likely will be moved to its own module before the 7.x-2.0 release. See #2349495: Move Authcache Boost to its own project for the reasons and also join the discussion there if you have an opinion about that matter.
Nginx users might want to subscribe to #2358775: SSI Support.