Skip to content

Instantly share code, notes, and snippets.

@litzinger
Created March 8, 2017 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save litzinger/2518815ef7d70518253d843ffa1f748a to your computer and use it in GitHub Desktop.
Save litzinger/2518815ef7d70518253d843ffa1f748a to your computer and use it in GitHub Desktop.
<?php
if (isset($_GET['publisher_status'])) {
$assign_to_config['global_vars']['global:tag_cache'] = '';
} else {
$assign_to_config['global_vars']['global:tag_cache'] = 'cache="yes" refresh="14440"';
}
{exp:channel:entries channel=“home” disable=“categories|category_fields|member_data|pagination” {global:tag_cache}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment