Changeset 53
- Timestamp:
- 12/18/05 10:49:17 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/frontend/modules/tag/actions/actions.class.php
r40 r53 39 39 40 40 $this->tags = $this->question->getTags(); 41 42 // clear the question tag list fragment in cache 43 $this->getContext()->getViewCacheManager()->remove('@question?stripped_title='.$this->question->getStrippedTitle(), 'fragment_question_tags'); 41 44 } 42 45 … … 56 59 57 60 $this->tags = $this->question->getTags(); 61 62 // clear the question tag list fragment in cache 63 $this->getContext()->getViewCacheManager()->remove('@question?stripped_title='.$this->question->getStrippedTitle(), 'fragment_question_tags'); 58 64 } 59 65 trunk/frontend/modules/tag/templates/_question_tags.php
r38 r53 21 21 </ul> 22 22 <?php else: ?> 23 <?php echo include_partial('tag/tag_cloud', array('tags' => QuestionTagPeer::getPopularTagsFor($question))) ?> 23 <?php if (!cache('question_tags', 3600)): ?> 24 <?php echo include_partial('tag/tag_cloud', array('tags' => QuestionTagPeer::getPopularTagsFor($question))) ?> 25 <?php cache_save() ?> 26 <?php endif ?> 24 27 <?php endif ?>
