Ticket #541 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

Full-page caching even for logged in users

Reported by: rgrp Owned by: wwaites
Priority: awaiting triage Milestone:
Component: ckan Keywords:
Cc: Repository:
Theme:

Description

The simplest way to improve performance on specific pages is to implement full page caching.

This, however, has challenges on pages with user-specific content. For example, on CKAN when a user is logged at the top of the page we have "You are logged in as: {username}". Similarly we change the visibility of some material depending on the status of users:

  • Visibility of Edit or Authz link on packages and groups

Change History

comment:1 Changed 3 years ago by dread

  • Priority set to awaiting triage
  • Type changed from story to enhancement
  • Component set to ckan

comment:2 Changed 3 years ago by wwaites

  • Status changed from new to closed
  • Resolution set to fixed

this is implemented with the cookie javascript technique. not so suitable for pages where content is radically differerent depending on the logged in user but for small bits like the logged in status works perfectly well, likewise for edit links.

Note: See TracTickets for help on using tickets.