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, cache version is bumped or cache manually cleared. |
| 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: | 24.55 MB (9607 cached queries), max 32 MB |
|---|
| Efficiency: | 9677117 hits, 4849357 inserts, 178020 not cached |
|---|
| Misc: | Been up for 993966 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,
697.46 MB used by progs,
10.65 MB by bufs,
501.26 MB by cache,
76.28 MB free |
|---|
| Swap: | 478.46 MB total, 49% used |
|---|
| Kernel: | Linux 2.6.26-2-686 (i686) |
|---|
| Uptime: | Been up 23088239 s |
|---|
| Disk space: | varies |
|---|
|
Note: Network traffic includes
also LAN traffic.
Memcache Server 1 (localhost)
| Storage: | 2.19 MB (2082 items), max 64 MB |
|---|
| Res. usage: | 250.875678 s user, 1657.039558 s system time |
|---|
| Traffic: | 2.92 GB in, 120.30 MB out, 19657 connections |
|---|
| Efficiency: | 9268838 hits, 3712244 misses |
|---|
| Misc: | 12981082 gets, 3713747 puts, been up for 9008097 s |
|---|
|
XCache
|
| PHP0: | 11.97 MB in use, 64 MB max, 216 items, 12115105 hits, 218 misses |
|---|
| PHP1: | 10.73 MB in use, 64 MB max, 215 items, 17763977 hits, 218 misses |
|---|
| Data0: | 9.66 MB in use, 32 MB max, 7018 items, 6775415 hits, 2697199 misses |
|---|
| Data1: | 5.81 MB in use, 32 MB max, 7039 items, 8068592 hits, 2838869 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
Ilari on 2012-02-26 16:02:38
Page info and history | Latest diff | List referrers | View Source