|
![]() |
#1
|
||||
|
||||
![]()
Maybe someone of the FTS source users have noticed that cache is not really used. On every page call (index.php) the cache system caches content, instead of caching content after expired time period.
On youre page you see somthing like: This content has been last updated 2009-12-26 18:30:21. Cached every 0:00:00 Which means there are no seconds for recaching setted. The reason is as followed: Example in factory.php the function stats(), look at 'global' PHP Code:
$maxusers = This var only calls the string from maxusers settings To make the cache system work right, you have to add a further var named $c. The var $c return the strings that in your database table named 'options' are saved . The right use in a function for expample function stats() is: PHP Code:
This content has been last updated 2009-12-26 18:55:06. Cached every 0:10:00 |
#2
|
||||
|
||||
![]()
Where do you add the other var?
|
#3
|
||||
|
||||
![]()
What for other var?
This is an example, you have to search the functions that contains call of cache function and then add the global variable to it |
#4
|
||||
|
||||
![]()
MY mistake! Fixed thanks
|
![]() |
Tags |
cache , fix , make , settings , usable |
Thread Tools | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FIX] FTS 1.1 not usable buttons on topic display in IE and JS error | benjaminbih | Free Torrent Source | 2 | 30th January 2010 01:16 |
Cache lite | bsf | Community Cafe | 4 | 28th January 2010 20:17 |
How Usable is This? | Mass Zero | Yuna Scatari Edition (YSE) | 0 | 6th July 2009 14:18 |
IE Cache fix | joeroberts | BT.Manager (phpMyBitTorrent) | 0 | 3rd February 2009 15:17 |
Need YSE PRE6 cache mod | kp380lv | Yuna Scatari Edition (YSE) | 1 | 25th December 2008 20:38 |