Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

3d browser Print

Tags: cache wiki

Cache


This page is a quick copy from tw.o and needs refactoring
This page needs screenshots


User Documentation
Whenever Tiki finds a link to an external site in a Wiki page the link is cached in the Tiki cache, this allows the Wiki users to visit the page even if the site is offline or the page is removed or changed.

When you make a link in a Wiki page, you can choose to request that it not be cached. This is done by adding the phrase |nocache after the link description between the square brackets.

The cache option in the Admin menu lets the administrator administer the Tiki cache:

insert graphic

You can list the cached pages, find pages using the find button and for each cache entry you can view it, remove it, or refresh it (will retrieve a fresh copy of the page). If the enrty is removed it will no longer display a cache link from the Wiki page where the site is referentiated.

insert graphic
If the wiki cache is enabled then cached pages will show a (cached) text besides the page description. A special icon is also added to let the user force a refresh of the page if something that should be updated was not because the cached page is being displayed. The icon can be found at the top:

insert graphic
This icon can be used to refresh a cached wiki page.

Try it out
please link to the live Feature on tikiwiki.org

RFE
It would be very nice if there was a way of purging the cache via the tiki interface.

To empty the cache manually try
mysql -e 'truncate table tiki_link_cache;' tiki

adjust tiki db name to fit yours
Anecdotally, we've noticed a huge speed gain after clearing the cache on HEAD.

Example
Users complained that personal content was being displayed to the wrong users. The page said (Cached) at the top, but we had global cache off (Admin > Wiki). nkoth recommended
mysql -u dbuser -ppassword  dbname -B  -e  "select wiki_cache from tiki_pages where wiki_cache > 0"
Ran that and saw 30 some pages with wiki_cache = 7200. So tried this:
mysql -u dbuser -ppassword  dbname -B  -e  "UPDATE tiki_pages       SET wiki_cache=0       WHERE wiki_cache > 0 "

Hope that works...

Related
Cache External Images
System Admin (aka Tiki Cache/System Admin)




Contributors to this page: petej307 points  , xavi26097 points  , SEWilco674 points  , omstefanov370 points  , marclaporte4507 points  , dthacker1231 points  , mose96 points  and system .
Page last modified on Tuesday 24 November, 2009 03:06:11 UTC by petej307 points .

To register

To have an account at this site, please register at Tikiwiki.org (external link), and then use that user name and password to log in here.

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):

Accessibility (WAI – 508)
Action log 2.x
Alert 3.x
Articles & Submissions
Backlinks
Banners
Blog
Bookmark
Browser Compatibility
Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Custom Home (and Groups Home Page)
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tikiwiki.org (Help System)
DogFood
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interaction
Inter-User Messages
InterTiki
Karma
Live Support
Login
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profile Manager
Quicktags
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Security
Semantic links 3.x
Shadowbox
Shoutbox
Slideshow
Smarty Template
Smiley
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
System log
Tags 2.x
Task
Tell a Friend + Social Bookmarking 2.x
TikiTests 2.x
Theme
Trackers
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
Webmail
Webservices
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval 2.x
Wiki Plugins extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
WYSIWYCA
WYSIWYG 2.x
XMLRPC