Authcache D7 nearing release quality

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
simg's picture

Hi All,

Just thought you might be interested to know that the D7 version of Authcache is approaching production quality. (fast page caching for authenticated users)

http://drupal.org/project/authcache

It's currently working fine for me on a production site (albeit only my personal blog) and I'm getting page generation times of around 15ms for both anonymous and authenticated users on my cheap shared hosting account. (That drops to about 2.5ms on my dev server with SSD).

All known and outstanding issues have been resolved. Most functionality has now been well tested (apart from the javascript client side "personalisation" which appears to work but hasn't been thoroughly experimented with, yet - will be working on that this week ).

It's dead easy to install and configure and is basically a case of:
1. Download / enable Authcache and Filecache modules. (you can also use Memcache or other cache back end)
2. Add the following (or similar) to settings.php
$conf['cache_backends'][] = 'sites/all/modules/filecache/filecache.inc';
$conf['cache_backends'][] = 'sites/all/modules/authcache/authcache.inc';
$conf['cache_class_cache_page'] = 'DrupalFileCache';
3.Goto /admin/config/development/performance/authcache and configure the self-explanatory settings.

One of the challenges (that I found) in the past was that Authcache was a little fiddly to set up and if not set up correctly, it was hard to debug. This is significantly improved in the current D7 version as an "authcache debug" dialog is constantly visible to selected users with useful cache statistics and/or reasons why a page wasn't cached.

What is needed at this point to get to a 1.0 release:
a) testing (it's working pretty well, so you shouldn't hit major issues but don't put it on your business critical production site just yet! )
b) encouragement or feedback (does anybody care about 2.5ms authenticated requests?)

Enjoy! and please let me know how you get on :)

Comments

Will Authcache coeexist

RandyK's picture

Will Authcache coeexist happily with Varnish3? Are there specific modifications that need to be made to settings.php or the Varnish VCL for this to work correctly?

Varnish3

simg's picture

Sorry, no idea but I'm not aware of any reason why there should be a problem with Varnish?

ESI

mikeytown2's picture

I believe this is asking if the cached assets can be stored in varnish instead of having to go through apache to get them.

Side note is the merging of http://drupal.org/project/esi and http://drupal.org/project/authcache would be a nice thing as ESI handles blocks & panel panes in things like varnish where authcache excels at the whole page cache. Merging of the 2 would offer a lot IMHO.

Tough requirement: "the final

giorgio79's picture

Tough requirement: "the final HTML of each cached page must be the same for each user role"

Would be great if we could just tick blocks we would like ajaxified.

****Me and Drupal :)****
Clickbank IPN - Sell online or create a membership site with the largest affiliate network!
Review Critical - One of my sites

Would be great if we could

simg's picture

Would be great if we could just tick blocks we would like ajaxified.

You can ! Authcache adds such a checkbox to the block edit screen ...

Cool! Perhaps you should

giorgio79's picture

Cool! Perhaps you should update module page: "Extra modules/JavaScript may be needed to allow blocks of personalized content "
If it's built in, all the better.

****Me and Drupal :)****
Clickbank IPN - Sell online or create a membership site with the largest affiliate network!
Review Critical - One of my sites