Cache Control
Cache controller
This site uses various cache systems for speed and a bytecode accelerator for PHP.
Information
Due to caching, sometimes changes in movie texts / movie categories / submission
edits do not become immediately visible to all of the audience of the site.
Here is a list of some of the caching employed:
| Wiki pages for non logged in users | Entire page is cached to file, and is updated hourly by a bot which deletes all pages which are older than 18 hours. This cache can also be cleared by TASVideoAgent in the IRC channel[1]. Note, that movie publications, as well as text edits to wiki pages will delete old pages immediately. |
| Movie module | For 5 minutes. |
| Submission pages | For 5 minutes. |
| Submission list | For 5 minutes. However different levels of users cache different lists. |
| Topic feed (news) | For 1 hour. |
| Move change log | For 15 minutes. |
| Front page submission list | For 15 minutes. |
| SVN log module | For 15 minutes. |
| RSS log module | For 15 minutes. |
| Awards | Until PHP is restarted. |
| Streaming URLs | Until PHP is restarted. |
| Standard RSS Feeds | Hourly |
| Per Movie RSS Feeds | Checked hourly for feeds older than 18 hours and updated. This cache can also be cleared by TASVideoAgent in the IRC channel[1]. |
Statistics
MySQL
| Storage: | 20.91 MB (9994 cached queries), max 32 MB |
|---|
| Efficiency: | 2187687 hits, 634590 inserts, 39690 not cached |
|---|
| Misc: | Been up for 143865 s |
|---|
|
Note: MySQL cache cannot be flushed
(it never returns stale data).
Server 1 (terra)
| Network: | unknown in, unknown out |
|---|
| RAM: | 1.26 GB total,
705.70 MB used by progs,
11.93 MB by bufs,
522.98 MB by cache,
45.04 MB free |
|---|
| Swap: | 478.46 MB total, 68% used |
|---|
| Kernel: | Linux 2.6.26-2-686 (i686) |
|---|
| Uptime: | Been up 14223991 s |
|---|
| Disk space: | varies |
|---|
|
Note: Network traffic includes
also LAN traffic.
Memcache Server 1 (localhost)
| Storage: | 2.10 MB (2006 items), max 64 MB |
|---|
| Res. usage: | 3.69223 s user, 26.445652 s system time |
|---|
| Traffic: | 94.14 MB in, 2.85 GB out, 294 connections |
|---|
| Efficiency: | 145792 hits, 58784 misses |
|---|
| Misc: | 204576 gets, 58814 puts, been up for 143849 s |
|---|
|
XCache
|
| PHP0: | 9.78 MB in use, 64 MB max, 182 items, 1073717 hits, 188 misses |
|---|
| PHP1: | 8.95 MB in use, 64 MB max, 192 items, 1755681 hits, 193 misses |
|---|
| Data0: | 7.54 MB in use, 32 MB max, 4930 items, 469687 hits, 164060 misses |
|---|
| Data1: | 4.89 MB in use, 32 MB max, 4940 items, 445483 hits, 151988 misses |
|---|
|
[
1]: To clear cache using TASVideoAgent, enter the #tasvideos channel at
irc://irc.freenode.net/tasvideos and type
TASVideoAgent: clear cache <pagenameURL> where
<pagenameURL> is the full address of the page you want to update.
CacheControl last edited by
klmz on 2011-10-13 18:13:45
Page info and history | Latest diff | List referrers | View Source