Hi,

I'm looking at using Authcache on a site that has Community Tags installed. Has anyone attempted this before?

For this to work a page must be the same for all user of a role and ajax must then be used to make the page specific to the requesting user. Since Community Tags uses the drupal_to_js function to insert the users tags into the html this is not the case. How would it be best to make this work?

The way I see it two things need to be done:
*if a page is to be cached don't insert the requesting users tags into the html
*change the drupal behaviour for Community Tags to load the tags using ajax.

Is there a way this can be achieved by hooking into the Community Tags module instead of me having to make a custom version that will need updating each time the Community Tags module is updated?

Any help would be appreciated,
Bill

Comments

chaps2’s picture

Version: 6.x-1.0-beta2 » 6.x-2.x-dev
Priority: Normal » Major

I need this too. Will look at adding it to 2.x-dev as soon as.

@billpass - did you get this going at all?

chaps2’s picture

Status: Active » Needs work

Just committed Authcache support. Limited to the block display at the moment but seems to be working well.

For those not familiar with Authcache, it's basically an authenticated user page cache. Pages render in a few milliseconds (typically sub 10) with any user-dependent content (e.g. a Community Tags form) loaded via ajax. It works well for anonymous users as well and if anonymous user support gets added to Community Tags will be nigh on indispensable.

I'll be looking at supporting all CT displays and fine tuning it make it faster and lighter.

Enjoy!

chaps2’s picture

Status: Needs work » Fixed

Now works for all CT forms including forms attached to Views and is faster and more lightweight!

Go on somebody - give it a whirl!

Status: Fixed » Closed (fixed)

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