Difference between revisions of "Cachewarmer Script Documentation"

From MTG Wiki
Jump to: navigation, search
 
Line 20: Line 20:
 
               <li>Created ajax request to update username, comment author name.</li>
 
               <li>Created ajax request to update username, comment author name.</li>
 
             </ul>
 
             </ul>
  </li>
 
 
       </ol>
 
       </ol>
 +
  </li>
 +
  
 
   <li>Updated authcache builtin module
 
   <li>Updated authcache builtin module
Line 31: Line 32:
 
             <li>fixed member id in  source var script</li>
 
             <li>fixed member id in  source var script</li>
 
           </ul>
 
           </ul>
 +
      </ol>
 +
  </li>
 +
 +
 +
  <li>Updated authcache_ajax module
 +
      <ol>
 +
        <li>Updated module to enable authcache_ajax.js on CURL request. (Line no 37)</li>
 +
      </ol>
 +
  </li>
 +
 +
 +
  <li>Updated theme
 +
      <ol>
 +
        <li>Updated all tpl files in  default theme as per authcache requirement</li>
 +
      </ol>
 +
  </li>
 +
 +
 +
  <li>Settings.php
 +
      <ol>
 +
        <li>Updated settings.php to increase page_cache_max_limit to 86400</li>
 
       </ol>
 
       </ol>
 
   </li>
 
   </li>

Latest revision as of 13:37, 11 November 2016


  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