You are here

README.txt in Authenticated User Page Caching (Authcache) 7.2

===========================================
Authenticated User Page Caching (Authcache)
===========================================

The Authcache module offers page caching for both anonymous users and logged-in
authenticated users. This allows Drupal/PHP to spend only 1-2 milliseconds
serving pages and greatly reduces server resources.

Please visit:

  http://drupal.org/project/authcache

For information, updates, configuration help, and support.

Please note that authcache requires at least Drupal 7.58.

============
Installation
============

1. Enable the authcache module along with one of the modules providing a cache
   backend. Currently those include:
   - authcache_builtin: Cache backend for the drupal core cache system. Also
     choose that one when using a third party cache like memcache.
   - authcache_varnish: Use varnish as the cache backend.

   All of those cache backends need to be configured properly. Please read and
   follow the instructions given in the respective README.txt files.

2. Enable all authcache submodules providing support for enabled core and
   contrib modules like "Authcache Poll" if you are using the "Poll" module or
   "Authcache Forum" if the "Forum" module is active. Note: Some functionality
   is only enabled when the Personalization API is enabled.

3. Goto Configuration > Development > Performance and disable page caching for
   anonymous users.

4. Goto Configuration > System > Authcache and specify the cacheable user roles.

5. Modify your theme by tweaking user-customized elements (the final HTML
   must be the same for each user role). Use hook_preprocess to replace user
   specific content with <span>-tags which you can address using JavaScript.
   See the numerous examples in the modules and example directories.

=================
CACHE FLUSH NOTES
=================

Page cache is cleared when cron.php is executed. This is normal Drupal core
behavior. Using the Elysia Cron module it is possible to suppress overzealous
cache clearing by running system_cron on a slower pace than other cron jobs.

See:
  -- Elysia Cron @ http://drupal.org/project/elysia_cron

========================
Authcache Example Module
========================

Please review the examples in the modules and example directories for a
demonstration on how to alter the behavior of other modules such that their
output becomes cacheable for logged in users.

======
Author
======

Developed & maintained by Jonah Ellison.

Email: jonah [at] httpremix.com
Drupal: http://drupal.org/user/217669

Initial D7 port by Simon Gardner
Email: slgard@gmail.com
Drupal: http://drupal.org/user/620692

Version 7.x-2.x by Lorenz Schori
Drupal: http://drupal.org/user/63999

================
Credits / Thanks
================

- "Cache Router" module (Steve Rude) for the caching system/API
- "Boost" module (Arto Bendiken) for some minor code & techniques

File

README.txt
View source
  1. ===========================================
  2. Authenticated User Page Caching (Authcache)
  3. ===========================================
  4. The Authcache module offers page caching for both anonymous users and logged-in
  5. authenticated users. This allows Drupal/PHP to spend only 1-2 milliseconds
  6. serving pages and greatly reduces server resources.
  7. Please visit:
  8. http://drupal.org/project/authcache
  9. For information, updates, configuration help, and support.
  10. Please note that authcache requires at least Drupal 7.58.
  11. ============
  12. Installation
  13. ============
  14. 1. Enable the authcache module along with one of the modules providing a cache
  15. backend. Currently those include:
  16. - authcache_builtin: Cache backend for the drupal core cache system. Also
  17. choose that one when using a third party cache like memcache.
  18. - authcache_varnish: Use varnish as the cache backend.
  19. All of those cache backends need to be configured properly. Please read and
  20. follow the instructions given in the respective README.txt files.
  21. 2. Enable all authcache submodules providing support for enabled core and
  22. contrib modules like "Authcache Poll" if you are using the "Poll" module or
  23. "Authcache Forum" if the "Forum" module is active. Note: Some functionality
  24. is only enabled when the Personalization API is enabled.
  25. 3. Goto Configuration > Development > Performance and disable page caching for
  26. anonymous users.
  27. 4. Goto Configuration > System > Authcache and specify the cacheable user roles.
  28. 5. Modify your theme by tweaking user-customized elements (the final HTML
  29. must be the same for each user role). Use hook_preprocess to replace user
  30. specific content with -tags which you can address using JavaScript.
  31. See the numerous examples in the modules and example directories.
  32. =================
  33. CACHE FLUSH NOTES
  34. =================
  35. Page cache is cleared when cron.php is executed. This is normal Drupal core
  36. behavior. Using the Elysia Cron module it is possible to suppress overzealous
  37. cache clearing by running system_cron on a slower pace than other cron jobs.
  38. See:
  39. -- Elysia Cron @ http://drupal.org/project/elysia_cron
  40. ========================
  41. Authcache Example Module
  42. ========================
  43. Please review the examples in the modules and example directories for a
  44. demonstration on how to alter the behavior of other modules such that their
  45. output becomes cacheable for logged in users.
  46. ======
  47. Author
  48. ======
  49. Developed & maintained by Jonah Ellison.
  50. Email: jonah [at] httpremix.com
  51. Drupal: http://drupal.org/user/217669
  52. Initial D7 port by Simon Gardner
  53. Email: slgard@gmail.com
  54. Drupal: http://drupal.org/user/620692
  55. Version 7.x-2.x by Lorenz Schori
  56. Drupal: http://drupal.org/user/63999
  57. ================
  58. Credits / Thanks
  59. ================
  60. - "Cache Router" module (Steve Rude) for the caching system/API
  61. - "Boost" module (Arto Bendiken) for some minor code & techniques