Twitter Feed

Xataface Maillist

Sign up to receive the Xataface news letter with weekly updates and development tips.

 
Found 1 of 49 records in table News
Now Showing 1 of 1

Current Record: output cache

output cache

Last updated Thursday, November 06, 2008 - 236 weeks ago

Click to minimize this section Details

News id 77
Headline output cache
Content One of the things you can do on a live xataface site is turn on caching to allow the server to just the information in RAM rather than continue to hit the database for information each time. You can do this by simply entering this in the conf.ini:br /br /blockquotebr /[_output_cache]br /enabled=1br //blockquotebr /br /But there comes a problem sometimes where you need the data to appear right away and not have the server continue to use the cache (at least until the server refreshes the cache). If you ever need to do this, you can enter this into manually just modify the url query to include this:br /br /blockquote--refresh-apc=1/blockquotebr /br /This cause the server to automatically hit the database to refresh the cache. A pretty nice hack.
Image (Empty)
Date posted Thu Nov 6 13:02:00 2008
Posted by noreply@blogger.com (Fong Chun Chan)
Status Approved
Categories Blog
Source id Fong's Blog
Source url http://fongxataface.blogspot.com/2008/11/output-cache.html
Powered by Xataface
(c) 2005-2010 All rights reserved