Cachewarmer Script Documentation

From MTG Wiki
Jump to: navigation, search


  1. Created fws_authcache_ext module
    1. Drush Command -- drush @mtgmedia.prod fws-aw
      • Created drush command which creates auth cache for nodequeue and current week newsletter nodes.
    2. Admin Configuration for account information
      • Created admin page to add/update account information for users, which we are using in drush command to create cache based on users roles.
    3. Admin config page URL
    4. Created "custom ajax" request
      • Created ajax request to update username, comment author name.

  2. Updated authcache builtin module
    1. Updated authcache_builtin.cache.inc file [line no. 160 to 287]
      • fixed rule 365 days bug on cached pages
      • fixed premium nodes access limit on cached pages
      • fixed member id in source var script

  3. Updated authcache_ajax module
    1. Updated module to enable authcache_ajax.js on CURL request. (Line no 37)

  4. Updated theme
    1. Updated all tpl files in default theme as per authcache requirement

  5. Settings.php
    1. Updated settings.php to increase page_cache_max_limit to 86400