WP Super Cache - Version 1.0.1

Version Description

Backported fix for XSS in cache file listing from version 1.4.3

=

Download this release

Release Info

Developer donncha
Plugin Icon 128x128 WP Super Cache
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.4.3 to 1.0.1

Changelog.txt CHANGED
@@ -1,245 +1,4874 @@
1
- 2015-04-03 16:44 donncha
2
 
3
- * readme.txt, wp-cache.php: Bump version to 1.4.3, update
4
- changelog, and add link to GIT repo.
5
 
6
- 2015-04-03 15:37 donncha
7
 
8
- * wp-cache.php: Escape the contents of the cache list to avoid
9
- surprises. Props Marc Montpas from Sucuri.
10
 
11
- 2014-12-18 10:55 jeherve
12
 
13
- * readme.txt: Bump testing to 4.1
14
 
15
- 2014-10-10 14:07 kraftbj
16
 
17
- * plugins/jetpack.php, wp-cache-phase1.php, wp-cache-phase2.php,
18
- wp-cache.php: Removing variable checks since wp_cache_debug does
19
- it already. Ref:
20
- https://github.com/Automattic/wp-super-cache/pull/15
21
 
22
- 2014-10-10 14:06 kraftbj
23
 
24
- * readme.txt: Catch up to SVN
 
 
25
 
26
- 2014-10-10 14:06 kraftbj
27
 
28
- * readme.txt: Add Jetpack to mobile FAQ.
29
 
30
- 2014-09-04 14:16 kraftbj
31
 
32
- * readme.txt: Bumped testing to 4.0
 
 
33
 
34
- 2014-08-11 19:06 donncha
35
 
36
- * plugins/dynamic-cache-test.php: Because without a h we'd have
37
- time keeping. Fixed a typo.
38
 
39
- 2014-08-11 18:44 donncha
40
 
41
- * plugins/dynamic-cache-test.php: Added cronology of a request
 
42
 
43
- 2014-08-11 18:22 donncha
44
 
45
- * plugins/dynamic-cache-test.php: Fixed the safety function in the
46
- first example test function
47
 
48
- 2014-08-08 16:27 donncha
49
 
50
- * Changelog.txt, readme.txt, wp-cache.php: Bump version to 1.4.2
51
- and update changelog
52
 
53
- 2014-08-08 13:07 donncha
54
 
55
- * wp-cache-phase1.php: Just in case the local modified time of a
56
- file is 0, disable the "last modified time" check.
57
 
58
- 2014-08-08 11:32 donncha
59
 
60
- * plugins/domain-mapping.php: Check if HTTPS exists before checking
61
- it's value to avoid warnings
62
 
63
- 2014-08-08 11:24 donncha
64
 
65
- * wp-cache.php: Replace wpdb->escape with esc_sql() as it's
66
- deprecated.
67
 
68
- 2014-08-08 11:21 donncha
69
 
70
- * wp-cache-phase2.php: Make sure $wp_cache_no_cache_for_get,
71
- $wp_cache_object_cache, $wp_cache_request_uri are visible to the
72
- OB callback to avoid warnings and fix functionality
73
 
74
- 2014-08-07 14:00 donncha
75
 
76
- * Changelog.txt, readme.txt, wp-cache.php: Updated changelog,
77
- documentation, bumped version number to 1.4.1 and tested version.
78
 
79
- 2014-08-07 12:45 donncha
80
 
81
- * wp-cache.php: Removed author information
82
 
83
- 2014-08-06 12:41 kraftbj
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
 
85
  * plugins/awaitingmoderation.php, plugins/badbehaviour.php,
86
- plugins/domain-mapping.php, plugins/jetpack.php,
87
- plugins/searchengine.php, plugins/wptouch.php, wp-cache.php: PR
88
- #13: Added .button-primary and .button-secondary classes to and
89
- removed &raquo's from buttons throughout the admin for
90
- consistency. Ref:
91
- https://github.com/Automattic/wp-super-cache/pull/13 Props:
92
- rcowles
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
 
94
- 2014-08-05 20:00 kraftbj
 
95
 
96
- * ossdl-cdn.php, readme.txt, wp-cache.php: Fix bad merge.
97
 
98
- 2014-08-05 19:56 kraftbj
 
 
 
 
99
 
100
- * readme.txt: Add Jetpack to mobile FAQ.
101
 
102
- 2014-08-05 19:56 kraftbj
 
103
 
104
- * wp-cache.php: Remove CDN Sync Tools. No longer in WP.org repo
105
 
106
- 2014-08-05 19:55 kraftbj
 
107
 
108
- * ossdl-cdn.php, readme.txt, wp-cache.php: Update
109
- wordpress.org/extend URLs
110
 
111
- 2014-08-05 12:42 donncha
 
112
 
113
- * wp-cache.php: Fix to avoid an XSS in the settings page. Props
114
- Simon Waters, Surevine Limited.
115
 
116
- 2014-08-04 22:04 kraftbj
 
 
117
 
118
- * ossdl-cdn.php: Remove reference to CDN Sync. Plugin no longer in
119
- repo.
120
 
121
- 2014-07-31 21:09 kraftbj
 
 
 
122
 
123
- * readme.txt: Add Jetpack to mobile FAQ.
124
 
125
- 2014-07-31 21:09 kraftbj
 
126
 
127
- * wp-cache.php: Remove CDN Sync Tools. No longer in WP.org repo
128
 
129
- 2014-07-31 21:08 kraftbj
130
 
131
- * ossdl-cdn.php, readme.txt, wp-cache-phase1.php, wp-cache.php:
132
- Update wordpress.org/extend URLs
133
 
134
- 2014-07-31 21:08 kraftbj
135
 
136
- * plugins/awaitingmoderation.php, plugins/badbehaviour.php,
137
- plugins/domain-mapping.php, plugins/dynamic-cache-test.php,
138
- plugins/jetpack.php, plugins/searchengine.php,
139
- plugins/wptouch.php: Trim whitespace
140
 
141
- 2014-07-31 21:07 kraftbj
 
 
 
 
 
142
 
143
- * wp-cache-config-sample.php, wp-cache-phase1.php, wp-cache.php:
144
- Trim whitespace
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
 
146
- 2014-07-31 21:06 kraftbj
 
 
 
147
 
148
- * wp-cache.php: Admin: Add clear to h3 to pretify Recommended Links
149
- title
150
 
151
- 2014-07-31 20:51 donncha
152
 
153
- * wp-cache-phase2.php: Make sure these are global so the function
154
- knows about them. Props JoHenton and richardmtl
155
- http://wordpress.org/support/topic/notices-appearing-above-site-pages-how-do-i-get-rid-of-them?replies=2
156
 
157
- 2014-04-17 16:21 donncha
158
 
159
- * readme.txt: Bump tested version to 3.9
160
 
161
- 2014-03-11 17:58 donncha
 
162
 
163
- * wp-cache.php: Fix undefined variables warnings. Ref:
164
- http://wordpress.org/support/topic/plugin-wp-super-cache-lot-of-undefined-variables-and-couple-of-warnings?replies=4
165
 
166
- 2014-03-07 18:00 donncha
 
167
 
168
- * plugins/dynamic-cache-test.php: Better comments and rearrange
169
- example scripts
170
 
171
- 2014-03-05 12:37 donncha
 
 
172
 
173
- * wp-cache-phase1.php: HTTP_IF_MODIFIED_SINCE isn't always defined,
174
- so check first.
175
- http://wordpress.org/support/topic/undefined-index-http_if_modified_since?replies=1
176
 
177
- 2014-03-05 11:54 donncha
 
178
 
179
- * wp-cache-phase1.php, wp-cache-phase2.php: Don't check "do not
180
- cache" conditions until after page buffer has been filled. Ref:
181
- http://wordpress.org/support/topic/bug-dynamic-cache-tags-are-not-replaced-because-of-wp_cache_phase2-conditions
182
 
183
- 2014-03-04 17:26 donncha
184
 
185
- * wp-cache-phase2.php: Added the function wp_cache_maybe_dynamic()
186
- to run buffer through the dynamic cache filter if callback
187
- returned early. Ref:
188
- http://wordpress.org/support/topic/bug-dynamic-cache-tags-are-not-replaced-because-of-wp_cache_phase2-conditions?replies=1
189
 
190
- 2014-03-04 16:27 donncha
 
 
 
 
 
 
 
 
 
191
 
192
- * wp-cache-phase1.php: Hide any warnings from this opendir() as it
193
- somehow fails occasionally.
194
 
195
- 2014-02-25 17:48 donncha
196
 
197
- * wp-cache.php: Clear the cache for the current blog only, don't
198
- want to mess with other multisite blogs
199
 
200
- 2014-02-25 16:24 donncha
201
 
202
- * readme.txt: Bump tested version to current WP version
203
 
204
- 2013-11-29 15:34 donncha
 
205
 
206
- * wp-cache-phase2.php: Check that $post is an object as this
207
- function is used for more than just post changes.
208
- http://wordpress.org/support/topic/error-switching-themes?replies=2
209
 
210
- 2013-11-12 09:55 donncha
211
 
212
- * advanced-cache.php: Don't show the "advanced-cache.php warning"
213
- when the plugin isn't loaded, props RobertHarm,
214
- http://wordpress.org/support/topic/wp-super-cache-breaks-leaflet-maps-marker-plugin
215
 
216
- 2013-10-25 14:37 donncha
 
217
 
218
- * wp-cache.php: Define $disable_supercache_htaccess_warning if not
219
- set to avoid PHP warnings, ref:
220
- http://wordpress.org/support/topic/just-a-few-notices-non-critical?replies=1,
221
- props @mattV
222
 
223
- 2013-10-25 14:33 donncha
 
224
 
225
- * wp-cache-base.php: Avoid a PHP warning if $base is not set. Ref:
226
- http://wordpress.org/support/topic/just-a-few-notices-non-critical?replies=1
227
 
228
- 2013-10-25 09:29 donncha
 
 
 
229
 
230
- * wp-cache.php: Only display the WPCACHEHOME warning if WP_CACHE is
231
- defined and true. Warning won't show until settings page loaded
232
- that WP_CACHE added to wp-config.php
233
 
234
- 2013-10-24 11:23 donncha
 
235
 
236
- * wp-cache.php: Add trailing slashes to the admin bar path, to fix
237
- the path when no trailing slash is used. Props @gonperesgmailcom
238
- http://wordpress.org/support/topic/fixed-delete-individual-pages-from-cache?replies=2
239
 
240
- 2013-10-23 10:56 donncha
 
 
 
241
 
242
- * readme.txt, wp-cache.php: Bump version to 1.4 and tested version
243
- to 3.6.1
244
 
 
245
 
1
+ 2011-12-05 17:56 donncha
2
 
3
+ * wp-super-cache.pot: Updated the translation file
 
4
 
5
+ 2011-12-05 17:50 donncha
6
 
7
+ * wp-cache.php: Added warning about preload mode to expiry settings
8
+ form
9
 
10
+ 2011-12-05 16:58 donncha
11
 
12
+ * wp-cache.php: Small changes to scheduling form.
13
 
14
+ 2011-12-05 11:18 donncha
15
 
16
+ * readme.txt, wp-cache.php: Added FAQ for mobile plugins and
17
+ changed text in settings page slightly
 
 
18
 
19
+ 2011-12-05 10:28 donncha
20
 
21
+ * readme.txt, wp-cache.php: Removed AddDefaultCharset and added
22
+ note to readme.txt, see
23
+ http://wordpress.org/support/topic/plugin-wp-super-cache-please-please-please-leave-adddefaultcharset-out-of-htaccess?replies=3
24
 
25
+ 2011-12-01 15:48 donncha
26
 
27
+ * wp-super-cache.pot: Updated translation file
28
 
29
+ 2011-11-30 17:57 donncha
30
 
31
+ * wp-cache-phase1.php, wp-cache.php: Fix for blogs that use a
32
+ folder install and don't have a trailing slash. See
33
+ http://wordpress.org/support/topic/plugin-wp-super-cache-one-of-the-root-causes-of-the-timestamps-difference
34
 
35
+ 2011-11-30 11:42 donncha
36
 
37
+ * wp-cache-phase2.php, wp-cache.php: Set these scheduling variables
 
38
 
39
+ 2011-11-29 12:09 donncha
40
 
41
+ * wp-cache-phase2.php: Cast the number of deleted files and
42
+ directories as an int, because false !== 0
43
 
44
+ 2011-11-29 10:49 donncha
45
 
46
+ * wp-cache.php: Minor text change, props talgalili
 
47
 
48
+ 2011-11-29 09:41 donncha
49
 
50
+ * wp-cache.php: Minor text changes, fixes to labels
 
51
 
52
+ 2011-11-29 09:34 donncha
53
 
54
+ * wp-cache-phase2.php: Record how many files were deleted by cron
55
+ job
56
 
57
+ 2011-11-28 22:39 donncha
58
 
59
+ * wp-cache-phase2.php, wp-cache.php: Revamped scheduling of garbage
60
+ collection system. WIP.
61
 
62
+ 2011-11-24 17:57 donncha
63
 
64
+ * wp-cache.php: Added an admin bar link to delete the cache for the
65
+ current page, but only if no caching for known users.
66
 
67
+ 2011-11-23 17:13 donncha
68
 
69
+ * readme.txt: Added more troubleshooting tips
 
 
70
 
71
+ 2011-11-21 11:30 donncha
72
 
73
+ * wp-super-cache.pot: Updated translation file
 
74
 
75
+ 2011-11-21 10:37 donncha
76
 
77
+ * wp-cache.php: Ooops, don't forget Stephen here too!
78
 
79
+ 2011-11-21 10:27 donncha
80
+
81
+ * wp-cache.php: Digg is old hat, it's Stephen Fry now.
82
+
83
+ 2011-10-26 17:29 donncha
84
+
85
+ * readme.txt: Updated translation credits
86
+
87
+ 2011-10-26 17:25 donncha
88
+
89
+ * languages/wp-super-cache-ru_RU.mo,
90
+ languages/wp-super-cache-ru_RU.po: Updated Russian translation by
91
+ Elvis
92
+
93
+ 2011-10-26 17:23 donncha
94
+
95
+ * wp-super-cache.pot: Updated translation file
96
+
97
+ 2011-10-26 17:21 donncha
98
+
99
+ * languages/wp-super-cache-zh_TW.mo,
100
+ languages/wp-super-cache-zh_TW.po: Updated translation, props
101
+ Priv
102
+
103
+ 2011-10-26 17:16 donncha
104
+
105
+ * languages/wp-super-cache-ro_RO.mo,
106
+ languages/wp-super-cache-ro_RO.po: Added Romanian translation,
107
+ props Michail Bogdanov, http://www.webhostinghub.com/
108
+
109
+ 2011-10-26 17:10 donncha
110
+
111
+ * languages/wp-super-cache-be_BY.mo,
112
+ languages/wp-super-cache-be_BY.po: Added Belarusian translation,
113
+ props Alexander Alexandrov, http://www.designcontest.com/
114
+
115
+ 2011-10-26 17:02 donncha
116
+
117
+ * languages/wp-super-cache-lt_LT.mo,
118
+ languages/wp-super-cache-lt_LT.po: Added Lithuanian translation,
119
+ props Nata Strazda, www.webhostingrating.com
120
+
121
+ 2011-10-26 16:41 donncha
122
+
123
+ * wp-cache-phase2.php: Revert [66003] so supercache files are
124
+ cleared always. http://plugins.trac.wordpress.org/changeset/66003
125
+
126
+ 2011-10-26 16:24 donncha
127
+
128
+ * wp-cache-phase2.php: Remove $permalink, as $dir already has the
129
+ permalink, props Alex Bitsche
130
+
131
+ 2011-10-24 17:10 donncha
132
+
133
+ * wp-cache-phase2.php: Delete the cached file in the right
134
+ directory. Props Alex Bitsche.
135
+
136
+ 2011-10-20 15:08 donncha
137
+
138
+ * wp-cache.php: Colour code the cache tester results
139
+
140
+ 2011-10-19 12:01 donncha
141
+
142
+ * wp-cache.php: Preload all post types except for revisions and nav
143
+ menu items
144
+
145
+ 2011-10-19 11:15 donncha
146
+
147
+ * wp-cache.php: * Populate preload counter if not set.
148
+ * Preload 50 taxonomy pages at a time rather than 10
149
+ * Push current taxonomy page into permalink text file
150
+
151
+ 2011-10-18 17:05 donncha
152
+
153
+ * wp-cache.php: Preload can now preload taxonomies, use
154
+ 'wp_cache_preload_taxonomies' filter to change taxonomies.
155
+
156
+ 2011-10-18 15:31 donncha
157
+
158
+ * readme.txt: Minor typo fix and added a new FAQ: "What does the
159
+ Cache Rebuild feature do?"
160
+
161
+ 2011-10-11 16:48 donncha
162
+
163
+ * wp-cache.php: Make the file listing wider
164
+
165
+ 2011-10-11 16:47 donncha
166
+
167
+ * wp-cache.php: Correct the "Hide list" link
168
+
169
+ 2011-10-11 16:43 donncha
170
+
171
+ * wp-cache.php: Regenerate the list of files correctly.
172
+
173
+ 2011-10-11 16:13 donncha
174
+
175
+ * wp-cache-phase2.php: Hide preg_match warnings like
176
+ http://wordpress.org/support/topic/plugin-wp-super-cache-errors-shown-at-top-of-cached-pages?replies=6
177
+
178
+ 2011-10-11 16:00 donncha
179
+
180
+ * wp-cache-phase2.php: Make "Page not cached message a bit clearer"
181
+
182
+ 2011-09-09 08:26 donncha
183
+
184
+ * wp-cache.php: Fix empty date param, props hew, fixes
185
+ http://plugins.trac.wordpress.org/ticket/1378
186
+
187
+ 2011-08-29 14:35 donncha
188
+
189
+ * wp-cache.php: Added docs suggesting what to do when cache tester
190
+ doesn't work.
191
+
192
+ 2011-07-27 17:30 donncha
193
+
194
+ * languages/wp-super-cache-ua_UA.mo,
195
+ languages/wp-super-cache-ua_UA.po, readme.txt: Added Ukranian
196
+ translation, props Alyona Lompar.
197
+
198
+ 2011-07-25 11:13 donncha
199
+
200
+ * wp-cache-phase1.php: Allow previews by logged in users, even when
201
+ they're made anon on the blog.
202
+
203
+ 2011-07-22 15:42 donncha
204
+
205
+ * wp-cache-phase1.php, wp-cache.php: Make it "known users" rather
206
+ than logged in users, and interrogate $_COOKIE directly
207
+
208
+ 2011-07-22 15:10 donncha
209
+
210
+ * wp-cache-phase1.php, wp-cache.php: Added option to make logged in
211
+ users anonymous so they're served static cached files. Props
212
+ DrEmixam,
213
+ http://wordpress.org/support/topic/plugin-wp-super-cache-not-caching-pages-for-logged-in-users-1
214
+
215
+ 2011-07-20 11:29 donncha
216
+
217
+ * readme.txt: Bump tested and requried versions.
218
+
219
+ 2011-07-20 11:25 donncha
220
+
221
+ * wp-cache-base.php, wp-cache-config-sample.php: Update multisite
222
+ detection to 3.0 standards. Fixes caching of XML sitemaps
223
+
224
+ 2011-07-15 09:49 donncha
225
+
226
+ * ossdl-cdn.php: Generate hash keys so files are served from the
227
+ same CDN on multisite networks.
228
+
229
+ 2011-07-13 12:55 donncha
230
+
231
+ * wp-cache-phase2.php, wp-cache.php: * On multisite networks add a
232
+ new button "Delete cache on all blogs" for superadmins.
233
+ * Deleting cache now only deletes cache for that blog
234
+
235
+ 2011-07-12 06:13 donncha
236
+
237
+ * wp-cache.php: Put ' around the cache secret key, props Simon
238
+ Prosser.
239
+
240
+ 2011-07-11 16:51 donncha
241
+
242
+ * wp-cache-phase1.php, wp-cache.php: Added "donotcachepage" GET
243
+ parameter to disable cache on page.
244
+
245
+ 2011-07-11 15:49 donncha
246
+
247
+ * wp-cache-phase2.php, wp-cache.php: Added support for is_author()
248
+ exclusion
249
+
250
+ 2011-07-11 15:41 donncha
251
+
252
+ * wp-cache-phase2.php: Only rebuild the current url, or the
253
+ homepage will never be updated
254
+
255
+ 2011-07-11 14:52 donncha
256
+
257
+ * wp-cache-phase1.php, wp-cache-phase2.php: * Added
258
+ get_supercache_dir() and modified get_all_supercache_filenames()
259
+ to take a directory name.
260
+ * get_all_supercache_filenames() now scans the given directory
261
+ for index files.
262
+ * Scan root dir for rebuild files now
263
+
264
+ 2011-07-01 08:32 donncha
265
+
266
+ * readme.txt: Added link to codex page on permissions, props
267
+ Ipstenu
268
+
269
+ 2011-06-30 13:07 donncha
270
+
271
+ * readme.txt: Added new faq, "How many pages can I cache?"
272
+
273
+ 2011-06-27 09:29 donncha
274
+
275
+ * wp-cache-phase2.php: Fix for when strlen() doesn't work on binary
276
+ data. See
277
+ http://wordpress.org/support/topic/plugin-wp-super-cache-patch-strlen-vs-utf8-mbstringfunc_overload-2
278
+
279
+ 2011-06-17 08:45 donncha
280
+
281
+ * wp-cache-phase1.php: Fix cache action array check, see
282
+ http://wordpress.org/support/topic/plugin-wp-super-cache-bug-report?replies=3#post-2171915
283
+
284
+ 2011-06-03 15:32 donncha
285
+
286
+ * wp-cache-phase1.php: Added "cache_init" action that fires on
287
+ every page, uncached or PHP cached.
288
+
289
+ 2011-05-24 15:52 donncha
290
+
291
+ * wp-cache.php: Remove duplicate / from rewrite rules and display
292
+ diff of rules when they're different.
293
+
294
+ 2011-05-24 10:48 donncha
295
+
296
+ * wp-cache.php: Don't stop the settings page when wp-cron.php is
297
+ missing.
298
+
299
+ 2011-05-06 17:00 donncha
300
+
301
+ * wp-cache-phase1.php, wp-cache-phase2.php: Allow mobile check to
302
+ modify supercache index.html filename rather than cache key
303
+
304
+ 2011-05-06 15:00 donncha
305
+
306
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Add a
307
+ string to the index.html instead of using a new directory
308
+
309
+ 2011-04-28 09:51 donncha
310
+
311
+ * wp-cache.php: Added lowercase root directory in supercache dir in
312
+ .htaccess rules. Fixes
313
+ http://wordpress.org/support/topic/plugin-wp-super-cache-mod_rewrite-caching-fails-if-wp-is-in-sub-directory-with-upper-case-letters?replies=4
314
+ I hope
315
+
316
+ 2011-04-27 15:08 donncha
317
+
318
+ * wp-cache.php: heck perms of ABSPATH in case webserver has write
319
+ access anyway.
320
+
321
+ 2011-04-25 09:49 donncha
322
+
323
+ * wp-cache.php: Handle problems with the cache tester before trying
324
+ to save the failed page.
325
+
326
+ 2011-04-23 19:01 donncha
327
+
328
+ * ossdl-cdn.php: If cdn url is blank then don't try to rewrite
329
+ urls. Possible fix for
330
+ http://wordpress.org/support/topic/plugin-wp-super-cache-ossdl-cdn-off-linker-not-working-from-super-cache?replies=5
331
+
332
+ 2011-03-30 18:03 donncha
333
+
334
+ * wp-cache.php: Convert directory permsissions to octal and make
335
+ sure group and world aren't writable if directory is writable.
336
+ Fixes http://plugins.trac.wordpress.org/ticket/1291
337
+
338
+ 2011-03-30 14:11 donncha
339
+
340
+ * wp-cache-phase1.php, wp-cache-phase2.php: Use supercache base
341
+ dirs in wp_cache_post_id_gc() too
342
+
343
+ 2011-03-21 16:10 donncha
344
+
345
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Support
346
+ more than 1 supercache directory, props Simon Wheatley
347
+ http://wordpress.org/support/topic/patch-allowing-multiple-static-cache-dirs-for-wp-super-cache
348
+
349
+ 2011-03-21 14:10 donncha
350
+
351
+ * wp-cache-phase1.php, wp-cache.php: Added support for http and
352
+ https caching, props 0blivian, see
353
+ http://wordpress.org/support/topic/wp-super-cache-protocol-aware-caching-patch?replies=3
354
+
355
+ 2011-03-15 11:07 donncha
356
+
357
+ * readme.txt, wp-cache-phase1.php, wp-cache.php: Change expiry of
358
+ html files from 300 seconds to 3 seconds
359
+
360
+ 2011-03-15 11:02 donncha
361
+
362
+ * wp-cache-phase1.php: Don't issue 304 headers for known users to
363
+ avoid problems when people logout. See
364
+ http://wordpress.org/support/topic/plugin-wp-super-cache-logged-in-but-actually-not/page/2?replies=33#post-1998397
365
+
366
+ 2011-03-01 19:47 donncha
367
+
368
+ * wp-cache-phase1.php: Make uri lowercase, not filesystem path
369
+ because the FS is case sensitive
370
+
371
+ 2011-03-01 19:02 donncha
372
+
373
+ * wp-cache-phase2.php: Remember to create the cache directory, in
374
+ legacy mode or supercache mode!
375
+
376
+ 2011-02-28 22:18 donncha
377
+
378
+ * readme.txt, wp-cache.php: Bump version to 0.9.9.9
379
+
380
+ 2011-02-28 22:10 donncha
381
+
382
+ * readme.txt: Minor typo
383
+
384
+ 2011-02-28 22:09 donncha
385
+
386
+ * wp-super-cache.pot: updated translation file
387
+
388
+ 2011-02-27 12:15 donncha
389
+
390
+ * wp-cache.php: Fixed typo in permissions message.
391
+
392
+ 2011-02-24 16:48 donncha
393
+
394
+ * languages/wp-super-cache-de_DE.mo,
395
+ languages/wp-super-cache-de_DE.po: Updated German translation,
396
+ props Mathias Roth (http://trade-service.eu)
397
+
398
+ 2011-02-24 10:23 donncha
399
+
400
+ * languages/wp-super-cache-ja.mo, languages/wp-super-cache-ja.po:
401
+ Updated Japanese translation, props Tai, http://tekapo.com
402
+
403
+ 2011-02-23 18:47 donncha
404
+
405
+ * Changelog.txt: Updated changelog
406
+
407
+ 2011-02-23 18:38 donncha
408
+
409
+ * readme.txt: Added changelog, and translation credits
410
+
411
+ 2011-02-23 18:36 donncha
412
+
413
+ * languages/wp-super-cache-sv_SE.mo,
414
+ languages/wp-super-cache-sv_SE.po: Added Swedish translation,
415
+ props Fredrik Forséll
416
+
417
+ 2011-02-23 18:32 donncha
418
+
419
+ * languages/wp-super-cache-ru_RU.mo,
420
+ languages/wp-super-cache-ru_RU.po: Added Russian translation,
421
+ props Elvis Fweb (http://fweb.org.ru/blog/super-cache-rus)
422
+
423
+ 2011-02-23 18:17 donncha
424
+
425
+ * languages/wp-super-cache-tr_TR.mo,
426
+ languages/wp-super-cache-tr_TR.po: Added Turkish translation,
427
+ props Barış Ünver
428
+
429
+ 2011-02-23 18:00 donncha
430
+
431
+ * wp-super-cache.pot: Updated translation file
432
+
433
+ 2011-02-23 17:56 donncha
434
+
435
+ * languages/wp-super-cache-ja.mo, languages/wp-super-cache-ja.po:
436
+ Updated Japanese translation, props Tai. http://tekapo.com
437
+
438
+ 2011-02-19 09:51 donncha
439
+
440
+ * readme.txt: Added FAQ about load spikes
441
+
442
+ 2011-01-26 11:42 donncha
443
+
444
+ * wp-cache-phase2.php: Remove the 5 second old check on existing
445
+ cache files as it may cause problems on pages with frequent
446
+ comments
447
+
448
+ 2011-01-25 21:23 donncha
449
+
450
+ * ossdl-cdn.php: Add osscdl option to skip https loaded static
451
+ content, see
452
+ http://wordpress.org/support/topic/plugin-wp-super-cache-toggle-for-conditional-cdn-for-sites-with-some-ssl-https-content?replies=3
453
+
454
+ 2011-01-25 20:40 donncha
455
+
456
+ * wp-cache-phase2.php: If caching disabled leave a html comment at
457
+ the end of the page. Remove a caching check that's no longer
458
+ needed
459
+
460
+ 2011-01-25 20:27 donncha
461
+
462
+ * wp-cache-phase1.php: Make the supercachedir lowercase to avoid
463
+ problems with unicode characters. See
464
+ http://wordpress.org/support/topic/plugin-wp-super-cache-not-deleting-cache-on-comment-post
465
+ and
466
+ http://wordpress.org/support/topic/plugin-wp-super-cache-still-not-corrected-bug-about-unicode-range-letters-in-permalink
467
+
468
+ 2011-01-18 16:08 donncha
469
+
470
+ * readme.txt, wp-cache.php: Added link to
471
+ http://codex.wordpress.org/Changing_File_Permissions where
472
+ permissions need to be changed, see
473
+ http://wordpress.org/support/topic/wp-super-cache-getting-warning-message,
474
+ props Samuel B
475
+
476
+ 2011-01-18 15:59 donncha
477
+
478
+ * wp-cache-phase1.php: Cache get_current_url_supercache_dir() as
479
+ it's called several times during a request.
480
+
481
+ 2011-01-17 16:29 donncha
482
+
483
+ * wp-cache.php: Show mod_rewrite rules even when WordPress rules
484
+ are not detected.
485
+ http://wordpress.org/support/topic/plugin-wp-super-cache-module-is-painful-to-use-if-you-dont-use-htaccess?replies=4#post-1890602
486
+
487
+ 2011-01-17 13:35 donncha
488
+
489
+ * wp-cache.php: Show the right url to older MU sites, props Raphaël
490
+ Hertzog,
491
+ http://twitter.com/#!/raphaelhertzog/statuses/26993300657414145
492
+
493
+ 2011-01-11 11:33 donncha
494
+
495
+ * wp-cache-phase2.php: If we're serving a feed we always want to
496
+ cache that.
497
+
498
+ 2011-01-10 12:13 donncha
499
+
500
+ * languages/wp-super-cache-de_DE.mo,
501
+ languages/wp-super-cache-de_DE.po: Updated German translation by
502
+ Mathias Roth
503
+
504
+ 2011-01-10 12:09 donncha
505
+
506
+ * ossdl-cdn.php: If an image appears more than once on a page serve
507
+ it from the same CDN hostname. See
508
+ http://wordpress.org/support/topic/plugin-wp-super-cache-start-page-and-rejected-user-agent?replies=3
509
+
510
+ 2011-01-07 17:04 donncha
511
+
512
+ * wp-cache.php: Make sure to use is_front_page(), the function.
513
+ Props Backie.
514
+ http://wordpress.org/support/topic/plugin-wp-super-cache-wp_cache_is_home-always-true?replies=2#post-1873743
515
+
516
+ 2011-01-07 12:24 donncha
517
+
518
+ * uninstall.php: No need for this uninstall script any more!
519
+
520
+ 2011-01-07 12:20 donncha
521
+
522
+ * readme.txt: Bump the tested version
523
+
524
+ 2011-01-07 12:07 donncha
525
+
526
+ * readme.txt: Minor typo
527
+
528
+ 2011-01-07 12:02 donncha
529
+
530
+ * Changelog.txt: Updated changelog
531
+
532
+ 2011-01-06 17:37 donncha
533
+
534
+ * wp-cache.php: Print the text, not __() it, and check if rewrite
535
+ rules in .htaccess are present before emailing user about it.
536
+
537
+ 2011-01-06 13:21 donncha
538
+
539
+ * Changelog.txt: Updated changelog
540
+
541
+ 2011-01-06 13:13 donncha
542
+
543
+ * readme.txt: Updated docs
544
+
545
+ 2011-01-06 12:12 donncha
546
+
547
+ * readme.txt: Minor changes to docs
548
+
549
+ 2011-01-06 10:03 donncha
550
+
551
+ * readme.txt, wp-cache.php: Tagged version 0.9.9.8
552
+
553
+ 2011-01-05 15:02 donncha
554
+
555
+ * Changelog.txt, readme.txt: Updated changelogs
556
+
557
+ 2011-01-05 14:54 donncha
558
+
559
+ * wp-super-cache.pot: Updated pot file
560
+
561
+ 2011-01-05 14:51 donncha
562
+
563
+ * ossdl-cdn.php, wp-cache.php: Fixed link to CDN Sync support
564
+ forum.
565
+
566
+ 2011-01-05 13:37 donncha
567
+
568
+ * wp-super-cache.pot: Updated pot file.
569
+
570
+ 2011-01-05 13:32 donncha
571
+
572
+ * ossdl-cdn.php, wp-cache.php: Link to the CDN Sync tool from the
573
+ Easy settings page too
574
+
575
+ 2011-01-05 13:15 donncha
576
+
577
+ * ossdl-cdn.php: Link to CDN Sync Tool on CDN page.
578
+
579
+ 2011-01-05 11:50 donncha
580
+
581
+ * Changelog.txt: Updated changelog
582
+
583
+ 2011-01-05 11:46 donncha
584
+
585
+ * wp-cache-phase1.php, wp-cache.php: Remove log by email
586
+ functionality. It cases problems for users when they get too much
587
+ email
588
+
589
+ 2011-01-05 11:45 donncha
590
+
591
+ * wp-cache-phase2.php: Warn user by debug log if cache expiry is
592
+ zero and therefore no garbage collection
593
+
594
+ 2011-01-04 15:22 donncha
595
+
596
+ * languages/wp-super-cache-zh_TW.mo,
597
+ languages/wp-super-cache-zh_TW.po: Updated Traditional Chinese
598
+ translation
599
+
600
+ 2011-01-04 12:49 donncha
601
+
602
+ * wp-cache.php: Added an extra space to make selecting chmod
603
+ command easier.
604
+
605
+ 2011-01-04 12:48 donncha
606
+
607
+ * wp-cache.php: Flush the rewrite rules after uninstalling. Props
608
+ @nacin, http://ocaoimh.ie/uninstall-supercache/
609
+
610
+ 2011-01-04 12:42 donncha
611
+
612
+ * wp-cache.php: Make uninstall warnings clearer and easier to read,
613
+ hopefully
614
+
615
+ 2010-12-22 16:22 donncha
616
+
617
+ * wp-cache.php: Cast $lines as array to avoid warnings arising from
618
+ empty config files.
619
+
620
+ 2010-12-22 12:00 donncha
621
+
622
+ * wp-cache.php: Remove .htaccess rules if they match the ones in
623
+ the plugin, else email the blog admin that there's a problem.
624
+
625
+ 2010-12-21 14:26 donncha
626
+
627
+ * readme.txt: Updated docs to reflect changes to caching modes and
628
+ uninstall instructions
629
+
630
+ 2010-12-21 12:52 donncha
631
+
632
+ * wp-cache.php: Let's tidy up and add some space
633
+
634
+ 2010-12-21 12:44 donncha
635
+
636
+ * wp-cache.php: * Added code to remove plugin files when plugin
637
+ deactivated.
638
+ * Show cache contents even when caching is disabled.
639
+ * Minor fixes
640
+
641
+ 2010-12-21 12:17 donncha
642
+
643
+ * wp-cache.php: Fixed easy page "Update Status" button, it was
644
+ triggering the cache tester
645
+
646
+ 2010-12-20 15:26 donncha
647
+
648
+ * wp-cache.php: Put cache tester and delete buttons on the "Easy"
649
+ setup page.
650
+
651
+ 2010-12-20 14:43 donncha
652
+
653
+ * wp-cache-phase1.php: Allow functions in classes to be used in
654
+ cacheactions. Props exz,
655
+ http://wordpress.org/support/topic/plugin-wp-super-cache-use-function-in-a-class-with-add_cacheaction?replies=1
656
+
657
+ 2010-12-17 18:32 donncha
658
+
659
+ * wp-cache.php: Show Settings->Super Cache page to super admins to
660
+ preserve old links
661
+
662
+ 2010-12-17 16:47 donncha
663
+
664
+ * wp-cache-phase2.php, wp-cache.php: Added option to enable front
665
+ page cache checks and enable by default.
666
+
667
+ 2010-12-17 16:04 donncha
668
+
669
+ * wp-cache-phase1.php: Print compression comment on cached dynamic
670
+ pages
671
+
672
+ 2010-12-17 14:13 donncha
673
+
674
+ * wp-cache-phase2.php: Gzip the dynamic cached page before we serve
675
+ the first user to visit a page.
676
+
677
+ 2010-12-17 14:10 donncha
678
+
679
+ * wp-cache-phase1.php: Use the plugin $cache_compression settings
680
+ to determine if gzipped dynamic cached files should be served or
681
+ not.
682
+
683
+ 2010-12-17 13:04 donncha
684
+
685
+ * wp-cache-phase1.php: Sometimes "zlib.output_compression" is set
686
+ to "off" rather than 0, check for "on" to make sure we don't
687
+ disable compression accidentally.
688
+
689
+ 2010-12-15 12:42 donncha
690
+
691
+ * wp-cache-phase1.php: CHeck if PHP is using zlib compression
692
+ already before compressing dynamic pages
693
+
694
+ 2010-12-15 12:37 donncha
695
+
696
+ * wp-cache-phase1.php: Use "ob_gzhandler" to compress dynamic pages
697
+ on the fly if supported, see
698
+ http://wordpress.org/support/topic/plugin-wp-super-cache-suggestion-mod_rewrite-mode-with-legacy-fallback?replies=8#post-1837856
699
+
700
+ 2010-12-15 12:27 donncha
701
+
702
+ * wp-cache.php: Updated patch to support 1and1 webhosting, see
703
+ http://wordpress.org/support/topic/plugin-wp-super-cache-how-to-get-mod_rewrite-working-on-1and1-shared-hosting?replies=6#post-1837843
704
+
705
+ 2010-12-15 07:20 donncha
706
+
707
+ * wp-cache-phase2.php: oops, left some debug code in!
708
+
709
+ 2010-12-14 14:56 donncha
710
+
711
+ * wp-cache.php: Regenerate the cache stats when the cache is
712
+ deleted
713
+
714
+ 2010-12-14 14:34 donncha
715
+
716
+ * wp-cache.php: Minor typo fixed.
717
+
718
+ 2010-12-14 13:38 donncha
719
+
720
+ * wp-cache-phase1.php, wp-cache-phase2.php: First pass at using
721
+ supercache files to store "dynamic pages". See
722
+ http://wordpress.org/support/topic/plugin-wp-super-cache-suggestion-mod_rewrite-mode-with-legacy-fallback?replies=5
723
+
724
+ 2010-12-14 10:48 donncha
725
+
726
+ * wp-cache.php: Hopefully fix problems with 1and1 hosting as they
727
+ use /kunden/ in their path, see
728
+ http://wordpress.org/support/topic/plugin-wp-super-cache-how-to-get-mod_rewrite-working-on-1and1-shared-hosting,
729
+ props reviewmylife
730
+
731
+ 2010-12-13 18:52 donncha
732
+
733
+ * wp-cache.php: For the purposes of our checks, home is / or
734
+ wherever the blog lives, not in the paged content.
735
+
736
+ 2010-12-13 18:38 donncha
737
+
738
+ * wp-cache.php: Call the correct function on template_redirect to
739
+ set the is_home cache.
740
+
741
+ 2010-12-13 17:30 donncha
742
+
743
+ * languages/wp-super-cache-de_DE.mo,
744
+ languages/wp-super-cache-de_DE.po: Updated German translation,
745
+ props Mathias,
746
+ http://wordpress.org/support/topic/plugin-wp-super-cache-can-i-help-to-improve-language-file?replies=11#post-1829165
747
+
748
+ 2010-12-13 15:54 donncha
749
+
750
+ * wp-cache-phase2.php, wp-cache.php: Cache is_home and
751
+ is_front_page in $wp_cache_is_home because they may not work on
752
+ PHP shutdown. See
753
+ http://wordpress.org/support/topic/plugin-wp-super-cache-not-writing-another-page-to-front-page-cache?replies=8
754
+
755
+ 2010-12-09 13:34 donncha
756
+
757
+ * wp-super-cache.pot: Updated pot file for translation
758
+
759
+ 2010-12-09 13:31 donncha
760
+
761
+ * languages/wp-super-cache-de_DE.mo,
762
+ languages/wp-super-cache-de_DE.po: Updated German translation,
763
+ props Mathias (http://trade-service.biz/)
764
+
765
+ 2010-12-09 12:28 donncha
766
+
767
+ * ossdl-cdn.php: Added multiple CNAME support to CDN functionality
768
+ (props David Ward) and add translation strings
769
+
770
+ 2010-12-07 16:00 donncha
771
+
772
+ * plugins/badbehaviour.php: Fixed admin form on Bad Behavior plugin
773
+
774
+ 2010-11-30 12:08 donncha
775
+
776
+ * ossdl-cdn.php, wp-cache-config-sample.php: Allow CDN support to
777
+ be switched off, see
778
+ http://wordpress.org/support/topic/plugin-wp-super-cache-wp_supercache-problem-with-sharedaddy-shareandfollow?replies=6
779
+
780
+ 2010-11-29 15:55 donncha
781
+
782
+ * wp-cache.php: Add Supercache menu item on network admin menu,
783
+ WordPress 3.1
784
+
785
+ 2010-11-29 11:24 donncha
786
+
787
+ * wp-cache.php: Silently fail when the config file is missing and
788
+ we try to update it. Only happens when the settings page is first
789
+ loaded.
790
+ http://wordpress.org/support/topic/plugin-wp-super-cache-warning-invalid-argument-supplied-for-foreach?replies=3
791
+
792
+ 2010-11-26 12:25 donncha
793
+
794
+ * wp-cache-phase2.php: There's no need to write meta files when
795
+ we're not caching for logged in users!
796
+
797
+ 2010-11-26 11:31 donncha
798
+
799
+ * advanced-cache.php, wp-cache.php: Define the constant
800
+ "ADVANCEDCACHEPROBLEM" if wp-cache-phase1.php can't be loaded and
801
+ report it on the dashboard. See
802
+ http://thehoneymonster.com/2010/10/wp-super-cache-oopsiedoodle/
803
+
804
+ 2010-11-26 10:03 donncha
805
+
806
+ * wp-cache.php: Fixed translation domain on string, props Priv,
807
+ http://wordpress.org/support/topic/plugin-wp-super-cache-can-i-help-to-improve-language-file?replies=6
808
+
809
+ 2010-11-24 09:55 donncha
810
+
811
+ * wp-cache.php: Preload pages as well as posts, see
812
+ http://wordpress.org/support/topic/plugin-wp-super-cache-pages-are-not-cached-in-preload-mode?replies=2
813
+
814
+ 2010-11-23 20:37 donncha
815
+
816
+ * languages/wp-super-cache-it_IT.mo,
817
+ languages/wp-super-cache-it_IT.po: Updated Italian translation,
818
+ props Gianni
819
+
820
+ 2010-11-23 13:48 donncha
821
+
822
+ * readme.txt, wp-cache.php: Bump version to 0.9.9.7
823
+
824
+ 2010-11-23 13:45 donncha
825
+
826
+ * Changelog.txt: Updated changelog
827
+
828
+ 2010-11-23 13:38 donncha
829
+
830
+ * wp-cache-phase1.php: Check if there are any actions before
831
+ processing a cacheaction(), see
832
+ http://wordpress.org/support/topic/plugin-wp-super-cache-wp-admin-problem?replies=2
833
+
834
+ 2010-11-23 13:29 donncha
835
+
836
+ * wp-cache.php: Change preload limits and increase steps for
837
+ smaller preloads -
838
+ http://wordpress.org/support/topic/plugin-wp-super-cache-how-do-i-cache-the-newest?replies=3
839
+
840
+ 2010-11-23 13:03 donncha
841
+
842
+ * readme.txt: Minor changes to documentation
843
+
844
+ 2010-11-23 12:51 donncha
845
+
846
+ * readme.txt: Updated docs for MU/MS
847
+
848
+ 2010-11-23 12:43 donncha
849
+
850
+ * readme.txt: Added a link to Priv's credit for translation
851
+
852
+ 2010-11-23 12:41 donncha
853
+
854
+ * languages/wp-super-cache-zh_TW.mo,
855
+ languages/wp-super-cache-zh_TW.po: Updated translation file by
856
+ Priv (http://priv.tw/blog)
857
+
858
+ 2010-11-22 17:44 donncha
859
+
860
+ * readme.txt: Credit priv with updated Traditional Chinese
861
+ translation.
862
+
863
+ 2010-11-22 17:41 donncha
864
+
865
+ * languages/wp-super-cache-zh_TW.mo,
866
+ languages/wp-super-cache-zh_TW.po: Updated translation file by
867
+ priv
868
+
869
+ 2010-11-22 17:32 donncha
870
+
871
+ * readme.txt: Add link to development version for translators
872
+
873
+ 2010-11-22 17:31 donncha
874
+
875
+ * wp-super-cache.pot: Updated pot file for translation
876
+
877
+ 2010-11-22 17:20 donncha
878
+
879
+ * wp-cache.php: Link to WPSCMin and GTMetrix
880
+
881
+ 2010-11-22 17:03 donncha
882
+
883
+ * ossdl-cdn.php: Updated CDN settings page docs
884
+
885
+ 2010-11-22 16:28 donncha
886
+
887
+ * wp-cache-phase2.php: Increase the gzip level so pages are
888
+ slightly smaller
889
+
890
+ 2010-11-22 16:03 donncha
891
+
892
+ * readme.txt: Added CDN docs
893
+
894
+ 2010-11-20 15:31 donncha
895
+
896
+ * wp-super-cache.pot: Updated translation file.
897
+
898
+ 2010-11-16 18:14 donncha
899
+
900
+ * wp-cache.php: Added a "rate this plugin" reminder to the sidebar
901
+ on the settings page.
902
+
903
+ 2010-11-16 15:18 donncha
904
+
905
+ * wp-cache-phase2.php, wp-cache.php: Don't make extra front page
906
+ checks optional
907
+
908
+ 2010-11-15 09:41 donncha
909
+
910
+ * readme.txt: Updated uninstall instructions
911
+
912
+ 2010-11-15 08:53 donncha
913
+
914
+ * wp-cache.php: Remove cdn line from recommended plugins, and
915
+ change pause between urls in preload from 2 seconds to 1 second
916
+
917
+ 2010-11-15 08:51 donncha
918
+
919
+ * uninstall.php: Replaced UNINSTALL.. constant with nonce in the
920
+ uninstall form to make things easier.
921
+
922
+ 2010-11-15 08:28 donncha
923
 
924
  * plugins/awaitingmoderation.php, plugins/badbehaviour.php,
925
+ plugins/domain-mapping.php, plugins/searchengine.php: Updated the
926
+ settings page on SC plugins
927
+
928
+ 2010-11-09 09:52 donncha
929
+
930
+ * ossdl-cdn.php: Before rewriting URL to CDN, make sure it's in the
931
+ include directories
932
+
933
+ 2010-11-08 20:56 donncha
934
+
935
+ * ossdl-cdn.php, wp-cache.php: Initial import of OSSDL CDN
936
+ off-linker, a plugin by W-Mark Kubacki (http://mark.ossdl.de/)
937
+
938
+ 2010-11-06 09:47 donncha
939
+
940
+ * wp-cache-phase2.php: Added "wp_cache_ob_callback_filter" to
941
+ filter the output callback buffer every time
942
+
943
+ 2010-11-06 09:43 donncha
944
+
945
+ * wp-cache.php: Change copyright notice, as others have of course
946
+ contributed code!
947
+
948
+ 2010-11-03 16:45 donncha
949
+
950
+ * readme.txt: Added troubleshooting point explaining why permalinks
951
+ might break after uninstalling
952
+
953
+ 2010-11-02 12:30 donncha
954
+
955
+ * wp-cache.php: Don't show Supercache admin page to ordinary users
956
+ on MS sites. Props Mark Bailey.
957
+
958
+ 2010-11-01 11:56 donncha
959
+
960
+ * readme.txt, uninstall.php: uninstall.php now runs from where
961
+ Wordpress is installed instead of in the supercache plugin
962
+ directory
963
+
964
+ 2010-10-22 09:32 donncha
965
+
966
+ * wp-cache-phase2.php: Check if current page is front page or home
967
+ page if cache file to write is for the homepage
968
+
969
+ 2010-10-21 13:45 donncha
970
+
971
+ * wp-cache-phase2.php: First paranoid check - check if the front
972
+ page is being cached correctly
973
+
974
+ 2010-10-21 13:42 donncha
975
+
976
+ * wp-cache.php: Added "extra paranoid checks" option on the
977
+ settings page
978
+
979
+ 2010-10-21 11:35 donncha
980
+
981
+ * wp-cache.php: Only show advanced settings page if cache enabled.
982
+
983
+ 2010-10-20 13:08 donncha
984
+
985
+ * wp-cache-phase2.php: Don't try to write a cache file for another
986
+ page to the front page cache location
987
+
988
+ 2010-10-20 12:54 donncha
989
+
990
+ * wp-cache.php: Added "late init" option to settings page
991
+
992
+ 2010-10-20 12:29 donncha
993
+
994
+ * readme.txt: Added docs for new dynamic cached content tag
995
+
996
+ 2010-10-20 12:28 donncha
997
+
998
+ * wp-cache-phase2.php: When in legacy mode, no need to check for
999
+ supercache
1000
+
1001
+ 2010-10-20 12:10 donncha
1002
+
1003
+ * wp-cache-phase2.php: Show supercache footer message on Legacy
1004
+ cached pages. Fixes the cache tester for those using this cache.
1005
+
1006
+ 2010-10-20 10:58 donncha
1007
+
1008
+ * wp-cache-phase2.php: Added "dynamic-cached-content" tag, see
1009
+ http://wordpress.org/support/topic/plugin-wp-super-cache-proposed-replacement-to-mfuncmclude?replies=7
1010
+
1011
+ 2010-10-15 12:35 donncha
1012
+
1013
+ * wp-cache-phase2.php: Use the host from get_bloginfo( 'url' ) to
1014
+ figure out the supercache directory
1015
+
1016
+ 2010-10-11 17:18 donncha
1017
+
1018
+ * wp-cache.php: Fixed "Delete Cache" link on admin dropdown. See
1019
+ http://wordpress.org/support/topic/plugin-wp-super-cache-delete-cache-on-dashboard-drop-down-doesnt-seem-to-work?replies=2#post-1734185
1020
+
1021
+ 2010-10-08 13:04 donncha
1022
+
1023
+ * wp-cache.php: Added recommended links and plugins and update
1024
+ "rewrite rules detected" notice
1025
+
1026
+ 2010-10-07 16:03 donncha
1027
+
1028
+ * wp-cache.php: Make sure compression stays disabled if gzencode()
1029
+ not found. See
1030
+ http://wordpress.org/support/topic/plugin-wp-super-cache-check-for-gzencode?replies=2
1031
+
1032
+ 2010-09-30 11:43 donncha
1033
+
1034
+ * wp-cache.php: Only select posts, props liangzai,
1035
+ http://wordpress.org/support/topic/plugin-wp-super-cache-preload-files?replies=7#post-1716174
1036
+
1037
+ 2010-09-30 11:35 donncha
1038
+
1039
+ * wp-cache.php: Reduce preload pause to 2 seconds and added
1040
+ notification of currently cached post plus faster cancellation
1041
+
1042
+ 2010-09-29 16:46 donncha
1043
+
1044
+ * Changelog.txt: Updated changelog
1045
+
1046
+ 2010-09-29 16:43 donncha
1047
+
1048
+ * readme.txt, wp-cache.php: Bump to 0.9.9.6
1049
+
1050
+ 2010-09-29 16:36 donncha
1051
+
1052
+ * readme.txt: Minor updated to changelog
1053
+
1054
+ 2010-09-29 16:33 donncha
1055
+
1056
+ * readme.txt: Added new FAQ on editing the .htaccess file
1057
+
1058
+ 2010-09-29 16:09 donncha
1059
+
1060
+ * readme.txt: Added new FAQ, "How do I delete the WP_CACHE define
1061
+ from wp-config.php?"
1062
+
1063
+ 2010-09-29 16:06 donncha
1064
+
1065
+ * wp-cache.php: Added "need help?" section to yellow box
1066
+
1067
+ 2010-09-29 14:30 donncha
1068
+
1069
+ * wp-cache.php: Sleep for 4 seconds between preloads to reduce
1070
+ server load some more when preloading
1071
+
1072
+ 2010-09-29 14:08 donncha
1073
+
1074
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Fix
1075
+ variable warning messages
1076
+
1077
+ 2010-09-29 10:11 donncha
1078
+
1079
+ * wp-cache-phase1.php: Send Content-Length header if 304 support
1080
+ enabled
1081
+
1082
+ 2010-09-29 09:50 donncha
1083
+
1084
+ * wp-cache.php: Don't delete expired supercache files when preload
1085
+ mode is on
1086
+
1087
+ 2010-09-29 09:05 donncha
1088
+
1089
+ * wp-cache.php: Pause 2 seconds instead of 5 between preload urls
1090
+
1091
+ 2010-09-28 17:30 donncha
1092
+
1093
+ * readme.txt: Updated readme, changelog and credits for German
1094
+ translation
1095
+
1096
+ 2010-09-28 17:26 donncha
1097
+
1098
+ * languages/wp-super-cache-de_DE.mo,
1099
+ languages/wp-super-cache-de_DE.po: Added German translation,
1100
+ props Mathias Roth, (http://trade-service.eu/)
1101
+
1102
+ 2010-09-28 16:34 donncha
1103
+
1104
+ * readme.txt: Added French translation credit
1105
+
1106
+ 2010-09-28 16:32 donncha
1107
+
1108
+ * languages/wp-super-cache-fr_FR.mo,
1109
+ languages/wp-super-cache-fr_FR.po: Added French translation,
1110
+ props Maitre Mo (http://maitremo.fr/)
1111
+
1112
+ 2010-09-28 16:28 donncha
1113
+
1114
+ * languages/wp-super-cache-it_IT.mo,
1115
+ languages/wp-super-cache-it_IT.po: Updated Italian translation,
1116
+ props Gianni Diurno
1117
+
1118
+ 2010-09-28 16:14 donncha
1119
+
1120
+ * wp-cache.php: Only show styled tabs in WP 3.0.1 and higher
1121
+
1122
+ 2010-09-28 13:58 donncha
1123
+
1124
+ * wp-cache.php: Sleep 5 seconds between preloads
1125
+
1126
+ 2010-09-27 13:59 donncha
1127
+
1128
+ * wp-super-cache.pot: Updated translation file
1129
+
1130
+ 2010-09-27 13:57 donncha
1131
+
1132
+ * wp-cache.php: Gettext fixes, props Gianni Diurno for most of
1133
+ them.
1134
+
1135
+ 2010-09-27 12:09 donncha
1136
+
1137
+ * wp-cache-phase1.php: Added 304 not modified header check to
1138
+ legacy caching too. NOT for dynamic pages.
1139
+
1140
+ 2010-09-27 11:44 donncha
1141
+
1142
+ * wp-cache-phase1.php, wp-cache.php: Added 304 "File not modified"
1143
+ support in PHP mode, props qdinar,
1144
+ http://wordpress.org/support/topic/plugin-wp-super-cache-still-not-corrected-bug-about-unicode-range-letters-in-permalink?replies=24#post-1687175
1145
+
1146
+ 2010-09-27 11:41 donncha
1147
+
1148
+ * wp-cache-phase1.php, wp-cache-phase2.php: Revert $wpsc_settings
1149
+ changes.
1150
+
1151
+ 2010-09-27 06:43 donncha
1152
+
1153
+ * wp-cache-phase1.php: Forgot to init the slashcheck variable
1154
+
1155
+ 2010-09-24 11:33 donncha
1156
+
1157
+ * Changelog.txt: Updated changelog for 0.9.9.5
1158
+
1159
+ 2010-09-24 11:31 donncha
1160
+
1161
+ * readme.txt, wp-cache.php: Bump to 0.9.9.5 for minor bug fixes.
1162
+
1163
+ 2010-09-24 11:26 donncha
1164
+
1165
+ * wp-cache.php: Show the lockdown menu again.
1166
+
1167
+ 2010-09-24 07:00 donncha
1168
+
1169
+ * wp-cache.php: Disable compression when using easy page, and only
1170
+ warn of mod_rewrite rules if they're turned off
1171
+
1172
+ 2010-09-24 06:47 donncha
1173
+
1174
+ * wp-cache.php: Disable cache compression, still problems with the
1175
+ occasional host.
1176
+
1177
+ 2010-09-23 18:08 donncha
1178
+
1179
+ * wp-cache.php: The plugin works somewhat well in safemode so don't
1180
+ stop users using the settings page.
1181
+
1182
+ 2010-09-23 17:53 donncha
1183
+
1184
+ * wp-cache.php: No more hello world notices and don't delete
1185
+ mod_rewrite rules when caching is disabled
1186
+
1187
+ 2010-09-22 16:05 donncha
1188
+
1189
+ * Changelog.txt: Updated changelog
1190
+
1191
+ 2010-09-22 16:02 donncha
1192
+
1193
+ * readme.txt, wp-cache.php: Bump version to 0.9.9.4 and update some
1194
+ docs
1195
+
1196
+ 2010-09-22 15:20 donncha
1197
+
1198
+ * wp-cache.php: When supercache is disabled delete the mod_rewrite
1199
+ rules
1200
+
1201
+ 2010-09-22 15:16 donncha
1202
+
1203
+ * wp-cache.php: Don't check the mod_rewrite rules if caching
1204
+ disabled
1205
+
1206
+ 2010-09-22 14:54 donncha
1207
+
1208
+ * readme.txt: Updated changelog and added language credits
1209
+
1210
+ 2010-09-22 14:26 donncha
1211
+
1212
+ * wp-super-cache.pot: Updated translation file
1213
+
1214
+ 2010-09-22 14:18 donncha
1215
+
1216
+ * plugins/domain-mapping.php: Added code to check if domain mapping
1217
+ used and print a warning message
1218
+
1219
+ 2010-09-22 13:23 donncha
1220
+
1221
+ * wp-cache.php: Set "wp_cache_mod_rewrite" if it's not defined
1222
+ already, for those upgrading
1223
+
1224
+ 2010-09-22 11:50 donncha
1225
+
1226
+ * wp-cache.php: Fixed typo in rewrite rules notice
1227
+
1228
+ 2010-09-21 11:54 donncha
1229
+
1230
+ * wp-cache.php: Don't need this adminpage form any more
1231
+
1232
+ 2010-09-21 10:00 donncha
1233
+
1234
+ * wp-cache.php: Update the docs explaining garbage collection
1235
+
1236
+ 2010-09-21 09:58 donncha
1237
+
1238
+ * wp-cache.php: Show advanced settings page if legacy caching
1239
+ enabled too
1240
+
1241
+ 2010-09-21 09:44 donncha
1242
+
1243
+ * wp-cache.php: Show "advanced settings" page when mod_rewrite
1244
+ caching enabled.
1245
+
1246
+ 2010-09-21 09:34 donncha
1247
+
1248
+ * wp-cache.php: Disable .htaccess checks when not running on "main
1249
+ site" instead of disabling settings page completely
1250
+
1251
+ 2010-09-20 15:43 donncha
1252
+
1253
+ * plugins/domain-mapping.php, wp-cache-phase2.php: Added "gc_cache"
1254
+ action and domain mapping cache plugin to clear the cache of
1255
+ domain mapped multisite websites
1256
+
1257
+ 2010-09-20 12:58 donncha
1258
+
1259
+ * wp-cache.php: Added another check for the mod_rewrite config
1260
+ before displaying a warning about those rules
1261
+
1262
+ 2010-09-20 12:47 donncha
1263
+
1264
+ * wp-cache.php: Correctly check for the "main blog"
1265
+
1266
+ 2010-09-20 12:01 donncha
1267
+
1268
+ * wp-cache.php: * Tester tab added "& Contents" to make it clearer
1269
+ what's in this page.
1270
+ * Add back in "List Files" link. Oops.
1271
+
1272
+ 2010-09-20 11:59 donncha
1273
+
1274
+ * wp-cache-config-sample.php, wp-cache.php: No need for simple
1275
+ setup variable now
1276
+
1277
+ 2010-09-20 11:37 donncha
1278
+
1279
+ * plugins/awaitingmoderation.php: Added example plugin to remove
1280
+ "Awaiting moderation" message when comments left on posts.
1281
+
1282
+ 2010-09-20 11:36 donncha
1283
+
1284
+ * plugins/badbehaviour.php, plugins/searchengine.php: Make plugins
1285
+ listed in an ordered list
1286
+
1287
+ 2010-09-20 11:35 donncha
1288
+
1289
+ * wp-cache.php: * Added Plugins tab
1290
+ * Check if if PHP or Supercache mode before checking .htaccess
1291
+ file for rewrite rules.
1292
+ * Change "half-on" text to "legacy" to reflect new terminology
1293
+ * Split Settings page into Easy and Advanced tabs instead of
1294
+ form.
1295
+
1296
+ 2010-09-13 22:46 donncha
1297
+
1298
+ * wp-cache.php: Make tabs like those on the themes page
1299
+
1300
+ 2010-09-13 04:31 donncha
1301
+
1302
+ * wp-cache.php: Cast as an array to hide a warning about 2nd arg.
1303
+
1304
+ 2010-09-13 04:28 donncha
1305
+
1306
+ * wp-cache.php: Hopefully trap wp_errors generating from page
1307
+ requests to tester
1308
+
1309
+ 2010-09-07 16:16 donncha
1310
+
1311
+ * wp-cache.php: Enable "PHP Caching" from the easy setup page
1312
+
1313
+ 2010-09-07 16:07 donncha
1314
+
1315
+ * wp-cache.php: Minor tweaks to layout of admin page
1316
+
1317
+ 2010-09-07 16:06 donncha
1318
+
1319
+ * wp-cache-config-sample.php, wp-cache.php: Added "easy setup"
1320
+ configuration screen (WIP)
1321
+
1322
+ 2010-09-07 16:03 donncha
1323
+
1324
+ * wp-cache.php: Fixed check for "main site" on MU sites
1325
+
1326
+ 2010-09-07 12:31 donncha
1327
+
1328
+ * wp-cache.php: * Fixed check for "main site"
1329
+ * Updated error messages
1330
+
1331
+ 2010-09-07 12:09 donncha
1332
+
1333
+ * wp-cache.php: Added tabs to the Supercache admin page
1334
+
1335
+ 2010-09-06 07:33 donncha
1336
+
1337
+ * readme.txt: Added FAQ on writable directories and fixed a few
1338
+ typos
1339
+
1340
+ 2010-09-03 15:15 donncha
1341
+
1342
+ * readme.txt, wp-cache-phase1.php: Updated headers and docs for PHP
1343
+ served cache files
1344
+
1345
+ 2010-08-31 17:55 donncha
1346
+
1347
+ * wp-cache.php: Added "$wp_super_cache_lock_down" config variable
1348
+ to hide lockdown and directly cached pages admin menus
1349
+
1350
+ 2010-08-31 17:44 donncha
1351
+
1352
+ * readme.txt: Major updates to the docs, covering legacy mode.
1353
+
1354
+ 2010-08-31 15:34 donncha
1355
+
1356
+ * readme.txt: Updated docs on legacy caching
1357
+
1358
+ 2010-08-31 13:50 donncha
1359
+
1360
+ * readme.txt: Minor mod to caching mechanism list
1361
+
1362
+ 2010-08-31 13:48 donncha
1363
+
1364
+ * readme.txt: Added docs on legacy caching and the different
1365
+ caching mechanisms
1366
+
1367
+ 2010-08-31 12:45 donncha
1368
+
1369
+ * wp-cache-phase2.php: Added action on "wp_update_nav_menu" to
1370
+ clear cache, props
1371
+ http://www.webmasterbulletin.net/2010/07/wp-super-cache-and-wp3-0-menus/1270
1372
+
1373
+ 2010-08-30 16:50 donncha
1374
+
1375
+ * wp-cache.php: Admin page upgrades:
1376
+ * Separate out PHP and mod_rewrite supercaching.
1377
+ * Minor text changes
1378
+
1379
+ 2010-08-30 16:38 donncha
1380
+
1381
+ * wp-cache-phase2.php: Hide potential error messages
1382
+
1383
+ 2010-08-30 16:37 donncha
1384
+
1385
+ * wp-cache-phase2.php: Revert this settings change for now.
1386
+
1387
+ 2010-08-30 16:35 donncha
1388
+
1389
+ * wp-cache-phase2.php: If caching disabled, then don't run the
1390
+ second phase function
1391
+
1392
+ 2010-08-30 11:46 donncha
1393
+
1394
+ * wp-cache-phase1.php: Minor whitespace mod
1395
+
1396
+ 2010-08-30 11:46 donncha
1397
+
1398
+ * wp-cache-phase1.php: Serve a gzipped supercache file if the
1399
+ client supports it.
1400
+
1401
+ 2010-08-30 10:16 donncha
1402
+
1403
+ * wp-cache-phase2.php: Remove unused global variable
1404
+
1405
+ 2010-08-30 09:36 donncha
1406
+
1407
+ * wp-cache-phase2.php: Don't delete supercache files if supercache
1408
+ is disabled when posts change. Stops moderated comments deleting
1409
+ the front page.
1410
+
1411
+ 2010-08-29 10:17 donncha
1412
+
1413
+ * wp-cache-phase2.php: Check for empty tmp cache files and report
1414
+ them correctly.
1415
+
1416
+ 2010-08-27 15:40 donncha
1417
+
1418
+ * wp-cache.php: Change cache compression on/off into a checkbox and
1419
+ move into "Misc" section.
1420
+
1421
+ 2010-08-27 14:56 donncha
1422
+
1423
+ * wp-cache.php: Ignore case when checking mobile user agents in
1424
+ .htaccess
1425
+
1426
+ 2010-08-26 16:37 donncha
1427
+
1428
+ * wp-cache.php: Hide warnings from these unlinks, even though the
1429
+ plugin checks if they exist!
1430
+
1431
+ 2010-08-26 14:43 donncha
1432
+
1433
+ * wp-cache.php: Add a timestamp to the preload counter to catch
1434
+ when it stalls. Reschedule the preload job when that happens.
1435
+
1436
+ 2010-08-26 12:34 donncha
1437
+
1438
+ * wp-cache.php: Cache tester should probably send http requests for
1439
+ homepage if admin is secure
1440
+
1441
+ 2010-08-26 11:30 donncha
1442
+
1443
+ * wp-cache.php: Ony add mobile rules if mobile support is enabled
1444
+
1445
+ 2010-08-26 11:26 donncha
1446
+
1447
+ * wp-cache.php: Move code to handle updating the options into it's
1448
+ own function and move more error checking into it's own function
1449
+
1450
+ 2010-08-24 17:07 donncha
1451
+
1452
+ * wp-cache.php: First go at reorganising the admin page
1453
+
1454
+ 2010-08-23 17:27 donncha
1455
+
1456
+ * wp-cache-phase2.php: Starting to use $wpsc_settings
1457
+
1458
+ 2010-08-23 17:09 donncha
1459
+
1460
+ * wp-cache-phase1.php, wp-cache-phase2.php: Added
1461
+ "wp_cache_load_config()" and $wpsc_settings array
1462
+
1463
+ 2010-08-23 12:23 donncha
1464
+
1465
+ * readme.txt: Added new FAQ, "How do I delay serving the cache
1466
+ until the "init" action fires?"
1467
+
1468
+ 2010-08-23 12:07 donncha
1469
+
1470
+ * readme.txt: Include a simple mfunc example
1471
+
1472
+ 2010-08-23 12:06 donncha
1473
+
1474
+ * wp-cache-config-sample.php, wp-cache-phase2.php: Removed
1475
+ $wp_cache_gzip_first, if compression is enabled there's no reason
1476
+ it won't work for the cache generating visit
1477
+
1478
+ 2010-08-23 11:40 donncha
1479
+
1480
+ * wp-cache-phase2.php: Warn if late init not set on dynamic pages
1481
+
1482
+ 2010-08-23 10:45 donncha
1483
+
1484
+ * wp-cache-phase2.php: Added "wp_cache_append_tag()" to add the
1485
+ Supercache log message after filtering
1486
+
1487
+ 2010-08-06 17:09 donncha
1488
+
1489
+ * wp-cache.php: Added the function "wpsupercache_site_admin()" to
1490
+ support old versions of MU using is_site_admin()
1491
+
1492
+ 2010-08-06 16:10 donncha
1493
+
1494
+ * wp-cache-phase1.php, wp-cache.php: Removed lots of PHP variable
1495
+ warnings. Props Joel Hardi
1496
+
1497
+ 2010-08-06 15:30 donncha
1498
+
1499
+ * wp-cache.php: Fixed cache tester when WP is installed in a sub
1500
+ directory
1501
+
1502
+ 2010-08-03 12:17 donncha
1503
+
1504
+ * wp-cache-phase2.php: Check for closing "urlset" tag for xml
1505
+ sitemap generators
1506
+ (http://wordpress.org/support/topic/plugin-wp-super-cache-xml-sitemap-feed-not-cached?replies=11#post-1627457)
1507
+
1508
+ 2010-07-30 12:19 donncha
1509
+
1510
+ * wp-cache.php: Check the status of pages returned by the cache
1511
+ tester and report any problems.
1512
+
1513
+ 2010-07-01 15:30 donncha
1514
+
1515
+ * wp-cache.php: Removed donation blurb from admin page
1516
+
1517
+ 2010-07-01 15:27 donncha
1518
+
1519
+ * readme.txt: Removed donation link, updated min version and added
1520
+ automattic as contributor
1521
+
1522
+ 2010-06-28 10:25 donncha
1523
+
1524
+ * wp-cache-config-sample.php: Use WP_PLUGIN_DIR instead of
1525
+ WP_CONTENT_DIR, props Baris Unver
1526
+
1527
+ 2010-06-21 15:42 donncha
1528
+
1529
+ * wp-cache.php: On MU/WP 3.0 network sites only allow admin page on
1530
+ main site. http://wordpress.org/support/topic/412472?replies=2
1531
+
1532
+ 2010-06-16 10:34 donncha
1533
+
1534
+ * Changelog.txt, readme.txt: Updated changelogs
1535
+
1536
+ 2010-06-16 10:26 donncha
1537
+
1538
+ * wp-super-cache.pot: Updated translation file for 0.9.9.3
1539
+
1540
+ 2010-06-16 10:24 donncha
1541
+
1542
+ * readme.txt, wp-cache.php: Bump version to 0.9.9.3
1543
+
1544
+ 2010-06-16 10:20 donncha
1545
+
1546
+ * wp-cache.php: Minor mod to preloading text
1547
+
1548
+ 2010-06-16 10:18 donncha
1549
+
1550
+ * wp-cache.php: If cache stats are not cached then do so, and also
1551
+ include an explanation of caching stats.
1552
+
1553
+ 2010-06-16 10:11 donncha
1554
+
1555
+ * wp-cache.php: Minor mod to preloading text
1556
+
1557
+ 2010-06-16 10:07 donncha
1558
+
1559
+ * wp-cache.php: Slight change in "preload mode" description and
1560
+ donation link
1561
+
1562
+ 2010-06-16 09:14 donncha
1563
+
1564
+ * wp-cache.php: Minor change to "about" text on admin page.
1565
+
1566
+ 2010-06-15 22:55 donncha
1567
+
1568
+ * wp-cache.php: Avoid division by zero error when plugin is
1569
+ "half-on" and always show "delete cache" button.
1570
+
1571
+ 2010-06-15 15:59 donncha
1572
+
1573
+ * wp-cache.php: Check if $wpmu_version is set rather than if
1574
+ is_site_admin() exists to detect MU
1575
+
1576
+ 2010-06-15 13:34 donncha
1577
+
1578
+ * readme.txt, wp-cache.php: Version 0.9.9.2
1579
+
1580
+ 2010-06-15 13:27 donncha
1581
+
1582
+ * wp-super-cache.pot: Updated pot translation file
1583
+
1584
+ 2010-06-15 13:22 donncha
1585
+
1586
+ * Changelog.txt: Updated changelog, version 0.9.9.1
1587
+
1588
+ 2010-06-15 13:19 donncha
1589
+
1590
+ * readme.txt: Bump version to 0.9.9.1
1591
+
1592
+ 2010-06-15 12:23 donncha
1593
+
1594
+ * Changelog.txt, readme.txt: Updated changelog and readme.txt
1595
+ changelog
1596
+
1597
+ 2010-06-15 11:38 donncha
1598
+
1599
+ * wp-cache.php: Separate out full and in-refresh jobs
1600
+
1601
+ 2010-06-14 21:31 donncha
1602
+
1603
+ * wp-cache.php: Remove link to uninstall.php and rearrange docs a
1604
+ bit
1605
+
1606
+ 2010-06-14 16:28 donncha
1607
+
1608
+ * wp-cache.php: Added medium email notification volume of
1609
+ preloading
1610
+
1611
+ 2010-06-14 10:45 donncha
1612
+
1613
+ * wp-cache.php: Check cache stats correctly before showing file
1614
+ listing link
1615
+
1616
+ 2010-06-14 10:32 donncha
1617
+
1618
+ * readme.txt: Removed "why shouldn't I cache every page" question
1619
+ and updated test version
1620
+
1621
+ 2010-06-14 10:23 donncha
1622
+
1623
+ * wp-cache.php: Added "Cache Preload Started" email
1624
+
1625
+ 2010-06-14 10:10 donncha
1626
+
1627
+ * wp-cache.php: Cache "cache contents" output and add "Regenerate"
1628
+ link to refresh it.
1629
+
1630
+ 2010-06-09 15:52 donncha
1631
+
1632
+ * wp-cache.php: Allow adjustment of email notification volume
1633
+
1634
+ 2010-05-30 07:54 donncha
1635
+
1636
+ * wp-cache.php: gettext changes to refresh messages and on preload,
1637
+ use an expiry of 1 day if no refresh timeout defined when
1638
+ clearing out old supercache files
1639
+
1640
+ 2010-05-30 07:43 donncha
1641
+
1642
+ * wp-cache-phase2.php: Only delete front page of blog if "page on
1643
+ front" selected rather than all cached files
1644
+
1645
+ 2010-05-14 13:51 donncha
1646
+
1647
+ * wp-cache-phase2.php: Only GC the supercache dir if preload mode
1648
+ is off or we're forcing it
1649
+
1650
+ 2010-05-14 13:47 donncha
1651
+
1652
+ * wp-cache.php: Added "email me" option to track progress of
1653
+ preload function
1654
+
1655
+ 2010-05-10 07:47 donncha
1656
+
1657
+ * wp-cache-phase2.php, wp-cache.php: Allow GC of supercache files
1658
+ to be forced and use that to clean up really old files after
1659
+ preload refresh
1660
+
1661
+ 2010-05-09 09:07 donncha
1662
+
1663
+ * wp-cache-phase2.php: Don't delete cache when moderated comments
1664
+ are modified, and don't delete the site when "page on front"
1665
+ option is selected
1666
+
1667
+ 2010-05-09 08:05 donncha
1668
+
1669
+ * wp-cache-phase1.php: Don't do slash checks on /
1670
+
1671
+ 2010-05-09 07:41 donncha
1672
+
1673
+ * wp-cache-phase1.php, wp-cache.php: Avoid duplicate content
1674
+ problems when slashes are missing and plugin tries to server
1675
+ static html file
1676
+
1677
+ 2010-05-07 10:59 donncha
1678
+
1679
+ * wp-cache-phase2.php: Don't delete any cache pages when a draft
1680
+ post is saved
1681
+
1682
+ 2010-05-07 10:37 donncha
1683
+
1684
+ * wp-cache.php: The imploded mobile browser config data is only
1685
+ ever used by phase1, the admin page uses the arrays
1686
+
1687
+ 2010-05-07 10:21 donncha
1688
+
1689
+ * wp-cache.php: Make mobile device support message generic
1690
+
1691
+ 2010-05-07 10:15 donncha
1692
+
1693
+ * wp-cache.php: Add warning if mod_rewrite rules don't match
1694
+
1695
+ 2010-05-07 09:22 donncha
1696
+
1697
+ * wp-cache-phase1.php, wp-cache.php: Check for wordpress_logged_in
1698
+ cookies to avoid matching wordpress_test_cookie
1699
+
1700
+ 2010-05-06 14:43 donncha
1701
+
1702
+ * wp-cache.php: Added "clear_post_supercache()" to clear the
1703
+ supercache for a particular post. Use that function to clear the
1704
+ cache for individual posts while preloading
1705
+
1706
+ 2010-05-06 14:41 donncha
1707
+
1708
+ * wp-cache-phase1.php: Get supercache dir of a post
1709
+
1710
+ 2010-05-04 16:43 donncha
1711
+
1712
+ * wp-cache.php: Add seconds too for completeness
1713
+
1714
+ 2010-05-04 16:41 donncha
1715
+
1716
+ * wp-cache.php: Show next refresh time in friendly hours and
1717
+ minutes
1718
+
1719
+ 2010-05-04 16:36 donncha
1720
+
1721
+ * wp-cache.php: case POST variable as an int first
1722
+
1723
+ 2010-05-04 16:35 donncha
1724
+
1725
+ * wp-cache.php: Don't reset cache expiry time when preload is done.
1726
+
1727
+ 2010-05-04 12:50 donncha
1728
+
1729
+ * wp-cache.php: Order get from posts table by publish date rather
1730
+ than ID
1731
+
1732
+ 2010-05-04 12:49 donncha
1733
+
1734
+ * wp-cache.php: Avoid showing gigantic intervals while scheduled
1735
+ job is running
1736
+
1737
+ 2010-05-04 12:43 donncha
1738
+
1739
+ * wp-cache.php: Minor rearrangement of text
1740
+
1741
+ 2010-05-04 12:37 donncha
1742
+
1743
+ * wp-cache.php: Show time until next cache refresh in seconds
1744
+
1745
+ 2010-05-04 12:33 donncha
1746
+
1747
+ * wp-cache.php: Added "Cancel Cache Preload" button to cancel
1748
+ current preload
1749
+
1750
+ 2010-05-04 12:13 donncha
1751
+
1752
+ * wp-cache.php: Don't show "number of posts" that matches total
1753
+ posts
1754
+
1755
+ 2010-05-04 12:11 donncha
1756
+
1757
+ * wp-cache.php: 60 seconds between preloading of 100 posts to save
1758
+ on load
1759
+
1760
+ 2010-05-04 12:10 donncha
1761
+
1762
+ * wp-cache.php: Only schedule preload refresh when interval is non
1763
+ zero, props Daniel,
1764
+ http://ocaoimh.ie/preload-cache-wp-super-cache/#comment-675081
1765
+
1766
+ 2010-05-03 07:40 donncha
1767
+
1768
+ * wp-cache.php: Always define posts_to_cache, props Daniel @
1769
+ http://ocaoimh.ie/preload-cache-wp-super-cache/#comment-674977
1770
+
1771
+ 2010-04-30 09:03 donncha
1772
+
1773
+ * wp-cache.php: Enclose rewrite rules in quotes, props duanestorey,
1774
+ http://wordpress.org/support/topic/339075/page/2?replies=32#post-1496557
1775
+
1776
+ 2010-04-29 13:37 donncha
1777
+
1778
+ * wp-cache.php: These are arrays, not strings
1779
+
1780
+ 2010-04-29 13:37 donncha
1781
+
1782
+ * wp-cache.php: Added WAP and Profile header checks, props
1783
+ AndreaTrasatti
1784
+ (http://wordpress.org/support/topic/339075?replies=25#post-1493778)
1785
+
1786
+ 2010-04-29 13:28 donncha
1787
+
1788
+ * wp-cache.php: * Use POST instead of GET for preload form.
1789
+ * Added "Preload Cache Now" and "Update Settings" buttons
1790
+ * Improved select dropdown
1791
+
1792
+ 2010-04-29 13:01 donncha
1793
+
1794
+ * wp-cache.php: Make sure mobile browsers and prefixes are defined
1795
+ before updating .htaccess file
1796
+
1797
+ 2010-04-29 11:19 donncha
1798
+
1799
+ * wp-cache-phase2.php, wp-cache.php: * Added "preload on" mode
1800
+ where only half-on cache files are cleaned up.
1801
+ * Added "posts to cache" selector if more than 1000 posts.
1802
+ * Updated text description of preloading
1803
+
1804
+ 2010-04-29 11:13 donncha
1805
+
1806
+ * wp-cache.php: Disable preloading UI by defining the constant
1807
+ "DISABLESUPERCACHEPRELOADING". Just in case some hosts don't like
1808
+ it.
1809
+
1810
+ 2010-04-28 16:54 donncha
1811
+
1812
+ * wp-cache.php: Show next scheduled cache refresh
1813
+
1814
+ 2010-04-28 15:51 donncha
1815
+
1816
+ * wp-cache.php: Show preload counter when cache is being preloaded
1817
+
1818
+ 2010-04-28 15:46 donncha
1819
+
1820
+ * wp-cache.php: Preload cache using wp-cron and refresh cache every
1821
+ X minutes
1822
+
1823
+ 2010-04-28 14:35 donncha
1824
+
1825
+ * wp-cache-phase1.php: Check if browser is blank before checking
1826
+ for groups
1827
+
1828
+ 2010-04-28 13:09 donncha
1829
+
1830
+ * wp-cache.php: * Only allow preloading when running in supercache
1831
+ (ON) mode.
1832
+ * Added wpsc_update_htaccess() for plugins to update .htaccess
1833
+ rules.
1834
+
1835
+ 2010-04-27 17:44 donncha
1836
+
1837
+ * wp-cache-phase1.php, wp-cache.php: Added ability to group mobile
1838
+ devices. Added "cached_mobile_groups" filter so plugins can
1839
+ modify groups. One group by default. See
1840
+ http://wordpress.org/support/topic/339075?replies=21#post-1493412
1841
+
1842
+ 2010-04-27 12:05 donncha
1843
+
1844
+ * wp-cache-phase1.php: Merge code from
1845
+ http://svn.wp-plugins.org/wordpress-mobile-pack/trunk/plugins/wpmp_switcher/lite_detection.php
1846
+ into mobile detection function
1847
+
1848
+ 2010-04-27 11:36 donncha
1849
+
1850
+ * wp-cache.php: Added support for mobile prefixes, see
1851
+ http://wordpress.org/support/topic/339075?replies=17#post-1493120
1852
+
1853
+ 2010-04-27 09:33 donncha
1854
+
1855
+ * wp-cache.php: Minor text cleanup
1856
+
1857
+ 2010-04-27 09:29 donncha
1858
+
1859
+ * wp-cache.php: gettext this properly
1860
+
1861
+ 2010-04-27 08:55 donncha
1862
+
1863
+ * wp-cache.php: Added update_cached_mobile_ua_list() so plugins can
1864
+ update the list of cached mobile UAs.
1865
+
1866
+ 2010-04-27 08:48 donncha
1867
+
1868
+ * wp-cache.php: Added "cached_mobile_browsers" filter so mobile
1869
+ plugins can filter list of mobile user agents.
1870
+
1871
+ 2010-04-26 08:29 donncha
1872
+
1873
+ * wp-cache-phase2.php, wp-cache.php: Garbage collection can be
1874
+ disabled by setting expiry time to zero. Preloading cache
1875
+ disables GC too.
1876
+
1877
+ 2010-04-25 14:50 donncha
1878
+
1879
+ * wp-cache.php: First pass at a cache preloader
1880
+
1881
+ 2010-04-25 14:49 donncha
1882
+
1883
+ * wp-cache-phase1.php: Added error reporting to aid debugging
1884
+
1885
+ 2010-04-25 14:49 donncha
1886
+
1887
+ * wp-cache.php: Use WP api to fetch homepage in tester
1888
+
1889
+ 2010-04-22 10:17 donncha
1890
+
1891
+ * wp-cache-phase1.php, wp-cache-phase2.php: * Fixed problem with
1892
+ eval() and html.
1893
+ * If compression is enabled, and client supports it but gzip
1894
+ headers are missing, make sure html served is not compressed.
1895
+
1896
+ 2010-04-22 08:38 donncha
1897
+
1898
+ * wp-cache-phase1.php: Check if page is dynamic before sending gzip
1899
+ headers. See http://wordpress.org/support/topic/347847?replies=29
1900
+
1901
+ 2010-04-09 16:16 donncha
1902
+
1903
+ * readme.txt, wp-cache-phase2.php: Remove the "redirect utm_source"
1904
+ code and add a FAQ on changing it into an anchor tag
1905
+
1906
+ 2010-04-08 17:25 donncha
1907
+
1908
+ * wp-cache-phase2.php, wp-cache.php: Add option, "Only refresh
1909
+ current page when comments made." See
1910
+ http://wordpress.org/support/topic/385305?replies=5
1911
+
1912
+ 2010-04-07 17:00 donncha
1913
+
1914
+ * wp-cache-phase1.php: Add the SERVER_PORT to the half mode and
1915
+ object cache. See
1916
+ http://wordpress.org/support/topic/368679?replies=4
1917
+
1918
+ 2010-03-25 11:51 donncha
1919
+
1920
+ * languages/wp-super-cache-zh_CN.mo,
1921
+ languages/wp-super-cache-zh_CN.po: Added Chinese(Simplified)
1922
+ translation, props Chen Yang (http://emule-fans.com/)
1923
+
1924
+ 2010-03-25 11:43 donncha
1925
+
1926
+ * wp-cache.php: Check for WP_CACHE set to false and report an error
1927
+ if the config file can't be updated. Props Artem @
1928
+ http://beerpla.net
1929
+
1930
+ 2010-03-25 10:22 donncha
1931
+
1932
+ * readme.txt: Added warning about APC, props John Berns
1933
+
1934
+ 2010-03-18 15:26 donncha
1935
+
1936
+ * wp-cache-phase2.php: Don't delete cache when spam and trash are
1937
+ emptied
1938
+
1939
+ 2010-03-15 17:14 donncha
1940
+
1941
+ * wp-cache.php: Check $wpmu_version to detect MU, and not
1942
+ is_site_admin.
1943
+
1944
+ 2010-02-25 10:59 donncha
1945
+
1946
+ * wp-cache-phase1.php, wp-cache-phase2.php: More debugging, esp of
1947
+ page edit clear caching
1948
+
1949
+ 2010-02-23 18:01 donncha
1950
+
1951
+ * wp-cache.php: Save rejected user agents properly.
1952
+ http://wordpress.org/support/topic/366101?replies=2
1953
+
1954
+ 2010-02-23 17:59 donncha
1955
+
1956
+ * wp-cache.php: Better description of "logged in users" option,
1957
+ make it "known users"
1958
+ http://wordpress.org/support/topic/366904?replies=2
1959
+
1960
+ 2010-02-21 10:24 donncha
1961
+
1962
+ * wp-cache.php: Compare timestamps on each cached page when testing
1963
+
1964
+ 2010-02-21 09:33 donncha
1965
+
1966
+ * wp-cache-phase2.php, wp-cache.php: Added ability to remove
1967
+ utm_source parameters from urls
1968
+
1969
+ 2010-02-19 12:51 donncha
1970
+
1971
+ * wp-cache.php: Make tester more verbose
1972
+
1973
+ 2010-02-18 17:51 donncha
1974
+
1975
+ * wp-cache.php: First go at a cache tester
1976
+
1977
+ 2010-02-17 15:38 donncha
1978
+
1979
+ * wp-cache-phase1.php: Improved debugging of cache serving
1980
+
1981
+ 2010-02-12 12:45 donncha
1982
+
1983
+ * wp-cache-phase2.php: Add more debugging.
1984
+
1985
+ 2010-02-09 12:09 donncha
1986
+
1987
+ * languages/wp-super-cache-ja.mo, languages/wp-super-cache-ja.po:
1988
+ Updated Japanese language files, props Tai
1989
+
1990
+ 2010-02-09 09:04 donncha
1991
+
1992
+ * wp-cache.php: Fix printf warning
1993
+
1994
+ 2010-02-08 18:04 donncha
1995
+
1996
+ * languages/wp-super-cache-ja.mo, languages/wp-super-cache-ja.po:
1997
+ Updated Japanese translation files, props Tai
1998
+
1999
+ 2010-02-08 17:32 donncha
2000
+
2001
+ * languages/wp-super-cache-it_IT.mo,
2002
+ languages/wp-super-cache-it_IT.po: Updated Italian translation,
2003
+ props Gianni Diurno
2004
+
2005
+ 2010-02-08 14:25 donncha
2006
+
2007
+ * Changelog.txt: Yet another update to changelog
2008
+
2009
+ 2010-02-08 14:24 donncha
2010
+
2011
+ * wp-super-cache.pot: Updated pot file
2012
+
2013
+ 2010-02-08 14:22 donncha
2014
+
2015
+ * plugins/badbehaviour.php, plugins/searchengine.php: Minor text
2016
+ change, props Tai
2017
+
2018
+ 2010-02-08 14:18 donncha
2019
+
2020
+ * Changelog.txt: Updated, again!
2021
+
2022
+ 2010-02-08 14:16 donncha
2023
+
2024
+ * wp-super-cache.pot: Updated pot file
2025
+
2026
+ 2010-02-08 14:13 donncha
2027
+
2028
+ * Changelog.txt: Updated changelog
2029
+
2030
+ 2010-02-08 14:11 donncha
2031
+
2032
+ * readme.txt, wp-cache.php: Bump version to 0.9.9
2033
+
2034
+ 2010-02-08 14:09 donncha
2035
+
2036
+ * wp-cache.php: Add links to readme and forum
2037
+
2038
+ 2010-02-08 14:00 donncha
2039
+
2040
+ * readme.txt, wp-cache.php: Updated tested version.
2041
+ Added link to WordPress Mobile Edition.
2042
+
2043
+ 2010-02-08 13:52 donncha
2044
+
2045
+ * Changelog.txt: Don't serve supercache files from PHP when GET is
2046
+ not empty
2047
+
2048
+ 2010-02-08 13:51 donncha
2049
+
2050
+ * wp-cache-phase1.php: Supercache files can't be used when GET is
2051
+ not empty
2052
+
2053
+ 2010-02-08 13:43 donncha
2054
+
2055
+ * Changelog.txt: Update changelog
2056
+
2057
+ 2010-02-08 13:36 donncha
2058
+
2059
+ * wp-cache-phase1.php: Only serve supercached files to anon users
2060
+
2061
+ 2010-02-08 13:14 donncha
2062
+
2063
+ * wp-cache-phase1.php: Don't serve GET requests from object cache
2064
+
2065
+ 2010-02-08 13:03 donncha
2066
+
2067
+ * readme.txt: Update upgrade note
2068
+
2069
+ 2010-02-02 11:56 donncha
2070
+
2071
+ * wp-cache.php: Added check for permalink structure
2072
+
2073
+ 2010-01-29 12:28 donncha
2074
+
2075
+ * wp-super-cache.pot: Updated translation pot file
2076
+
2077
+ 2010-01-29 12:09 donncha
2078
+
2079
+ * wp-cache.php: Only show object cache option when an external
2080
+ object cache used.
2081
+
2082
+ 2010-01-29 11:15 donncha
2083
+
2084
+ * readme.txt: Added note about supercache header
2085
+
2086
+ 2010-01-29 11:13 donncha
2087
+
2088
+ * readme.txt: Updated mobile rewrite rules in readme.txt
2089
+
2090
+ 2010-01-29 11:11 donncha
2091
+
2092
+ * Changelog.txt, readme.txt: Update changelog
2093
+
2094
+ 2010-01-29 10:40 donncha
2095
+
2096
+ * wp-cache.php: Show delete buttons even when object cache is used.
2097
+
2098
+ 2010-01-29 10:36 donncha
2099
+
2100
+ * wp-cache-phase2.php: Use $cache_max_time for object cache timeout
2101
+
2102
+ 2010-01-29 10:28 donncha
2103
+
2104
+ * wp-cache-phase2.php: Clear object cache when posts change
2105
+
2106
+ 2010-01-29 10:20 donncha
2107
+
2108
+ * wp-cache.php: Don't show cache listing when object cache used.
2109
+
2110
+ 2010-01-29 10:13 donncha
2111
+
2112
+ * languages/wp-super-cache-zh_TW.mo,
2113
+ languages/wp-super-cache-zh_TW.po: Chinese(Traditional)
2114
+ translation by Pseric
2115
+
2116
+ 2010-01-29 10:07 donncha
2117
+
2118
+ * readme.txt: Added FAQ on wp-cache vs supercache files
2119
+
2120
+ 2010-01-29 09:47 donncha
2121
+
2122
+ * wp-cache-phase1.php: Hostname is already included in supercache
2123
+ dir
2124
+
2125
+ 2010-01-29 09:45 donncha
2126
+
2127
+ * wp-cache-phase1.php: If cache loader doesn't find a wp-cache
2128
+ file, look for a supercache one and serve that instead.
2129
+
2130
+ 2010-01-28 10:17 donncha
2131
+
2132
+ * wp-cache-phase1.php: Include the hostname in the object cache key
2133
+
2134
+ 2010-01-27 17:18 donncha
2135
+
2136
+ * wp-cache-phase1.php: Object cache is only useful for anon users.
2137
+
2138
+ 2010-01-27 15:46 donncha
2139
+
2140
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: * Remove
2141
+ "anon user only", same as logged in option.
2142
+ * Add gzip encoding to object cache key
2143
+ * Don't cache for known users in object cache
2144
+
2145
+ 2010-01-27 14:58 donncha
2146
+
2147
+ * wp-cache-phase1.php: Oops, don't serve cache file in the right
2148
+ place
2149
+
2150
+ 2010-01-27 14:38 donncha
2151
+
2152
+ * wp-cache-phase1.php, wp-cache.php: Get mobile browser list from
2153
+ "wp mobile edition". Warn user of obsolete rules.
2154
+
2155
+ 2010-01-27 12:26 donncha
2156
+
2157
+ * wp-cache-phase2.php: Let's avoid warnings if we can
2158
+
2159
+ 2010-01-27 12:24 donncha
2160
+
2161
+ * wp-cache-config-sample.php: Add more default config settings
2162
+
2163
+ 2010-01-26 18:29 donncha
2164
+
2165
+ * wp-cache-phase2.php: Don't cache GET requests in object cache for
2166
+ the time being.
2167
+ Missing chunk of code from previous check in
2168
+
2169
+ 2010-01-26 18:20 donncha
2170
+
2171
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: First
2172
+ pass at object cache support. (Thank you Andy Skelton for writing
2173
+ batcache from where I borrowed some code and ideas)
2174
+
2175
+ 2010-01-26 14:38 donncha
2176
+
2177
+ * wp-cache-phase2.php, wp-cache.php: * Added "no caching for known
2178
+ users" option
2179
+ * Fix half-on caching.
2180
+
2181
+ 2010-01-21 22:10 donncha
2182
+
2183
+ * wp-cache-phase2.php: * Make sure the writer lock is unlocked
2184
+ * "Logged in" users now include those who leave comments
2185
+
2186
+ 2010-01-19 11:13 donncha
2187
+
2188
+ * wp-cache.php: Warn the user is php zlib output_compression is
2189
+ enabled.
2190
+
2191
+ 2010-01-11 10:07 donncha
2192
+
2193
+ * wp-cache-phase2.php: Don't create static cache files when dynamic
2194
+ mfunc content is detected.
2195
+ Delete 0 byte size tmp cache files
2196
+
2197
+ 2010-01-11 09:56 donncha
2198
+
2199
+ * readme.txt: Added link to developer docs
2200
+
2201
+ 2009-12-22 11:14 donncha
2202
+
2203
+ * languages/wp-super-cache-uk.mo, languages/wp-super-cache-uk.po:
2204
+ Added Ukrainian translation, props Vitaly Mylo
2205
+
2206
+ 2009-12-15 10:46 donncha
2207
+
2208
+ * readme.txt: Added Upgrade Notice section to readme
2209
+
2210
+ 2009-12-15 10:44 donncha
2211
+
2212
+ * wp-cache.php, wp-super-cache.pot: Wordpress -> WordPress
2213
+
2214
+ 2009-12-15 10:36 donncha
2215
+
2216
+ * wp-cache.php: Warn if zlib compression is enabled before user
2217
+ enables compression in the plugin
2218
+
2219
+ 2009-12-15 10:23 donncha
2220
+
2221
+ * readme.txt: Added compression troubleshooting answer, props
2222
+ Vladimir (http://blog.sjinks.pro/)
2223
+
2224
+ 2009-11-23 16:15 donncha
2225
+
2226
+ * languages/wp-super-cache-ja.mo, languages/wp-super-cache-ja.po,
2227
+ languages/wp-super-cache-ja_JA.mo,
2228
+ languages/wp-super-cache-ja_JA.po: Renamed Japanese language
2229
+ files
2230
+
2231
+ 2009-11-23 15:11 donncha
2232
+
2233
+ * languages/wp-super-cache-ja_JA.mo,
2234
+ languages/wp-super-cache-ja_JA.po: Added Japanese translation,
2235
+ props Tai (http://tekapo.com/)
2236
+
2237
+ 2009-11-19 11:59 donncha
2238
+
2239
+ * languages/wp-super-cache-it_IT.mo,
2240
+ languages/wp-super-cache-it_IT.po: Updated Italian translation
2241
+
2242
+ 2009-11-18 17:50 donncha
2243
+
2244
+ * Changelog.txt: Updated changelog
2245
+
2246
+ 2009-11-18 17:49 donncha
2247
+
2248
+ * readme.txt, wp-cache.php: Bump version to 0.9.8
2249
+
2250
+ 2009-11-18 17:28 donncha
2251
+
2252
+ * readme.txt: Added "Translators" thank you message
2253
+
2254
+ 2009-11-18 17:14 donncha
2255
+
2256
+ * Changelog.txt, readme.txt: Updated changelog
2257
+
2258
+ 2009-11-18 16:36 donncha
2259
+
2260
+ * wp-cache-config-sample.php, wp-cache.php: Added
2261
+ $wp_super_cache_advanced_debug and hide advanced debug features
2262
+ by default
2263
+
2264
+ 2009-11-13 12:33 donncha
2265
+
2266
+ * languages/wp-super-cache-es_ES.mo,
2267
+ languages/wp-super-cache-es_ES.po: Update Spanish translation
2268
+ files, props Omi
2269
+
2270
+ 2009-11-13 10:34 donncha
2271
+
2272
+ * wp-super-cache.pot: Update translation file
2273
+
2274
+ 2009-11-13 10:24 donncha
2275
+
2276
+ * wp-cache.php: Fire off page checker every 5 minutes rather than 1
2277
+ minute.
2278
+
2279
+ 2009-11-13 10:02 donncha
2280
+
2281
+ * languages/wp-super-cache-it_IT.mo,
2282
+ languages/wp-super-cache-it_IT.po: Fixed typo in translation
2283
+
2284
+ 2009-11-12 14:05 donncha
2285
+
2286
+ * languages/wp-super-cache-es_ES.mo,
2287
+ languages/wp-super-cache-es_ES.po,
2288
+ languages/wp-super-cache-it_IT.mo,
2289
+ languages/wp-super-cache-it_IT.po: Language updates via Gianni
2290
+ Diurno and Omi (thanks guys, you do a great job!)
2291
+
2292
+ 2009-11-10 16:31 donncha
2293
+
2294
+ * wp-super-cache.pot: Updated translation file
2295
+
2296
+ 2009-11-10 16:26 donncha
2297
+
2298
+ * wp-cache-config-sample.php, wp-cache.php: Added
2299
+ wp_cache_check_site() function
2300
+
2301
+ 2009-11-10 13:00 donncha
2302
+
2303
+ * wp-cache.php: More gettext fixes
2304
+
2305
+ 2009-11-10 12:24 donncha
2306
+
2307
+ * languages/wp-super-cache-es_ES.mo,
2308
+ languages/wp-super-cache-es_ES.po: Added Spanish translation,
2309
+ props Omi
2310
+
2311
+ 2009-11-09 16:45 donncha
2312
+
2313
+ * wp-cache.php: Change wordpress_logged_in to wordpress in
2314
+ supercache cookie checks to match PHP code
2315
+
2316
+ 2009-11-05 18:01 donncha
2317
+
2318
+ * languages/wp-super-cache-it_IT.po: Fix link to adverts for
2319
+ friends plugin
2320
+
2321
+ 2009-11-05 16:17 donncha
2322
+
2323
+ * wp-cache.php: More gettext fixes, props Juan P.F.
2324
+
2325
+ 2009-11-05 12:24 donncha
2326
+
2327
+ * languages/wp-super-cache-it_IT.mo,
2328
+ languages/wp-super-cache-it_IT.po: First check in of Italian
2329
+ translation by Gianni Diurno (http://gidibao.net/)
2330
+
2331
+ 2009-11-05 12:10 donncha
2332
+
2333
+ * wp-super-cache.pot: Update translations
2334
+
2335
+ 2009-11-05 11:57 donncha
2336
+
2337
+ * wp-cache.php: More gettext changes, props Gianni
2338
+
2339
+ 2009-11-04 16:28 donncha
2340
+
2341
+ * wp-super-cache.pot: Fixed missing < in text
2342
+
2343
+ 2009-11-04 16:26 donncha
2344
+
2345
+ * plugins/searchengine.php: Ooops, minor typo, props Juan P.F.
2346
+
2347
+ 2009-11-04 12:07 donncha
2348
+
2349
+ * languages, wp-cache.php: Load translation files from languages
2350
+ folder
2351
+
2352
+ 2009-11-04 11:50 donncha
2353
+
2354
+ * wp-super-cache.pot: Updated translation file
2355
+
2356
+ 2009-11-04 11:39 donncha
2357
+
2358
+ * wp-cache-phase1.php: Split user agent and cache file checks into
2359
+ two for easier debugging
2360
+
2361
+ 2009-11-04 11:38 donncha
2362
+
2363
+ * plugins/badbehaviour.php, plugins/searchengine.php, wp-cache.php:
2364
+ gettext updates, thanks Gianni
2365
+
2366
+ 2009-10-25 17:44 donncha
2367
+
2368
+ * wp-cache.php: Check for WP_CACHE when plugin loaded rather than
2369
+ after init. See
2370
+ http://wordpress.org/support/topic/307644?replies=28#post-1258599
2371
+
2372
+ 2009-10-21 12:22 donncha
2373
+
2374
+ * wp-cache-phase2.php: Add wp_cache_clear_cache() function to clean
2375
+ cache directory
2376
+
2377
+ 2009-10-21 12:04 donncha
2378
+
2379
+ * wp-cache-phase2.php: Fix indentation in ob callback
2380
+
2381
+ 2009-10-21 12:01 donncha
2382
+
2383
+ * wp-cache-phase2.php: Only show logged in message when debugging
2384
+ enabled
2385
+
2386
+ 2009-10-20 11:21 donncha
2387
+
2388
+ * wp-super-cache.pot: Updated translation file
2389
+
2390
+ 2009-10-20 11:19 donncha
2391
+
2392
+ * wp-cache.php: Minor typo
2393
+
2394
+ 2009-10-20 11:13 donncha
2395
+
2396
+ * wp-cache.php: Minor text change to aid translation. Props Aldo
2397
+ Latino
2398
+
2399
+ 2009-10-15 03:08 donncha
2400
+
2401
+ * readme.txt: Added troubleshooting no 20., php vs apache owners
2402
+ accessing cache files. props Nikolay Bachiyski.
2403
+
2404
+ 2009-10-12 22:01 donncha
2405
+
2406
+ * wp-cache.php: Fix problem deleting cache files. props Marco
2407
+ Schmoecker
2408
+
2409
+ 2009-10-06 14:55 donncha
2410
+
2411
+ * wp-cache-phase2.php: Deleting a moderated comment shouldn't
2412
+ delete cached files.
2413
+
2414
+ 2009-10-06 10:32 donncha
2415
+
2416
+ * wp-cache-phase2.php: "wp_set_comment_status" action has 2
2417
+ parameters
2418
+
2419
+ 2009-10-06 08:50 donncha
2420
+
2421
+ * wp-cache-phase2.php: Don't delete cache files on moderated pings
2422
+ or trackbacks
2423
+
2424
+ 2009-10-05 21:29 donncha
2425
+
2426
+ * wp-cache.php: Remove this debugging code
2427
+
2428
+ 2009-10-05 21:25 donncha
2429
+
2430
+ * wp-cache.php: Schedule the site checker from the admin page, fix
2431
+ typo when checking schedules
2432
+
2433
+ 2009-10-05 16:53 donncha
2434
+
2435
+ * wp-cache.php: Added gzipped front page checker that kicks in
2436
+ every 60 seconds via cron
2437
+
2438
+ 2009-10-02 21:42 donncha
2439
+
2440
+ * Changelog.txt: More updating
2441
+
2442
+ 2009-10-02 21:40 donncha
2443
+
2444
+ * readme.txt, wp-cache.php: Bump version to 0.9.7
2445
+
2446
+ 2009-10-02 21:39 donncha
2447
+
2448
+ * Changelog.txt: Updated changelog
2449
+
2450
+ 2009-10-02 21:34 donncha
2451
+
2452
+ * wp-cache-phase2.php: Don't show "blank page", "404 not cached" or
2453
+ "no html tag" warnings on output unless debugging enabled.
2454
+
2455
+ 2009-10-02 19:45 donncha
2456
+
2457
+ * Changelog.txt, readme.txt: Updated changelog and readme.txt
2458
+ changes
2459
+
2460
+ 2009-10-02 13:14 donncha
2461
+
2462
+ * wp-super-cache.pot: Updated POT file
2463
+
2464
+ 2009-10-02 13:09 donncha
2465
+
2466
+ * wp-cache.php: Minor text change to bio text
2467
+
2468
+ 2009-10-01 20:47 donncha
2469
+
2470
+ * wp-cache-phase2.php, wp-cache.php: Added more debugging, on cache
2471
+ cleanup
2472
+
2473
+ 2009-10-01 20:26 donncha
2474
+
2475
+ * wp-cache.php: Sort the file listing by newest first.
2476
+ Hide a filemtime warning, props @reverbstudios
2477
+
2478
+ 2009-10-01 19:57 donncha
2479
+
2480
+ * wp-cache-phase1.php: Load wp-cache-phase2.php all the time
2481
+
2482
+ 2009-10-01 17:50 donncha
2483
+
2484
+ * readme.txt: Added "How do I make certain parts of the page stay
2485
+ dynamic?" to FAQ
2486
+
2487
+ 2009-09-30 09:51 donncha
2488
+
2489
+ * wp-cache.php: Sort the stale from the fresh wp-cache files
2490
+ properly
2491
+
2492
+ 2009-09-29 22:21 donncha
2493
+
2494
+ * wp-cache-config-sample.php: Added $wp_super_cache_late_init to
2495
+ config page
2496
+
2497
+ 2009-09-29 10:17 donncha
2498
+
2499
+ * wp-cache.php: Add button to delete specific cache files.
2500
+
2501
+ 2009-09-29 09:14 donncha
2502
+
2503
+ * wp-cache.php: Count wp-cached cache files correctly
2504
+
2505
+ 2009-09-29 08:17 donncha
2506
+
2507
+ * wp-cache-config-sample.php: Added "Yandex" to list of rejected UA
2508
+ for not caching
2509
+
2510
+ 2009-09-29 08:08 donncha
2511
+
2512
+ * wp-cache.php: Add anchors to each section of the admin page
2513
+
2514
+ 2009-09-29 07:47 donncha
2515
+
2516
+ * wp-cache-phase2.php: Don't cache wp-admin requests
2517
+
2518
+ 2009-09-29 07:43 donncha
2519
+
2520
+ * wp-cache-phase2.php: Disable supercaching when GET parameters
2521
+ present instead of all caching. Disable on POST (as normal) and
2522
+ preview
2523
+
2524
+ 2009-09-28 21:59 donncha
2525
+
2526
+ * wp-cache-phase1.php: Move cron code down so that cache variables
2527
+ are set.
2528
+
2529
+ 2009-09-28 21:37 donncha
2530
+
2531
+ * wp-super-cache.pot: More translatable text
2532
+
2533
+ 2009-09-28 21:35 donncha
2534
+
2535
+ * wp-cache.php: More il8n mods
2536
+
2537
+ 2009-09-28 17:48 donncha
2538
+
2539
+ * wp-cache.php: More il8n mods
2540
+
2541
+ 2009-09-28 13:57 donncha
2542
+
2543
+ * wp-cache.php: Add positional anchors
2544
+
2545
+ 2009-09-28 13:52 donncha
2546
+
2547
+ * wp-cache.php: Improve listing of cache files
2548
+
2549
+ 2009-09-28 13:35 donncha
2550
+
2551
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Record
2552
+ the cache key in the wp-cache meta file. Show that key on the
2553
+ admin page file listings and add "wp_cache_meta" filter to modify
2554
+ the cache meta data
2555
+
2556
+ 2009-09-28 13:12 donncha
2557
+
2558
+ * wp-cache.php: Warn users they must enable mobile device support
2559
+ if rewrite rules detected. Better detect when to warn that
2560
+ .htaccess rules must be updated (no need when rewrite rules not
2561
+ present)
2562
+
2563
+ 2009-09-28 11:12 donncha
2564
+
2565
+ * wp-cache.php: Allow admin to list cached files.
2566
+
2567
+ 2009-09-28 09:43 donncha
2568
+
2569
+ * wp-cache.php: More il8n changes
2570
+
2571
+ 2009-09-24 20:45 donncha
2572
+
2573
+ * wp-cache.php: Forgot the fieldset, props thunderlounge!
2574
+
2575
+ 2009-09-24 11:43 donncha
2576
+
2577
+ * wp-cache.php, wp-super-cache.pot: Renamed text domain to
2578
+ wp-super-cache
2579
+ Added .pot file
2580
+ Load text domain as described in
2581
+ http://codex.wordpress.org/I18n_for_WordPress_Developers
2582
+
2583
+ 2009-09-24 11:27 donncha
2584
+
2585
+ * wp-cache.php: First stab at internationalising wp-super-cache
2586
+
2587
+ 2009-09-24 10:18 donncha
2588
+
2589
+ * wp-cache.php: Removed REQUEST_URI from form actions
2590
+
2591
+ 2009-09-20 21:13 donncha
2592
+
2593
+ * wp-cache-phase2.php, wp-cache.php: Added "Newest Cached Pages"
2594
+ option to list 10 newest pages cached by the plugin.
2595
+
2596
+ 2009-09-20 19:10 donncha
2597
+
2598
+ * wp-cache-phase2.php: Added "wpsupercache_404" filter. Return true
2599
+ to cache error 404 pages. Props simonwheatley, see
2600
+ http://wordpress.org/support/topic/312672
2601
+
2602
+ 2009-09-18 20:37 donncha
2603
+
2604
+ * wp-cache-phase1.php: Include the wordpress_test_cookie in the
2605
+ cache key for wp-cache files.
2606
+
2607
+ 2009-09-16 10:23 donncha
2608
+
2609
+ * wp-cache-phase1.php: Late Init. Don't do anything until "init"
2610
+
2611
+ 2009-09-16 10:21 donncha
2612
+
2613
+ * wp-cache-phase2.php: Better debug messages
2614
+
2615
+ 2009-09-15 10:58 donncha
2616
+
2617
+ * wp-cache-config-sample.php, wp-cache-phase1.php,
2618
+ wp-cache-phase2.php, wp-cache.php: Check if logging enabled
2619
+ before calling debug function (optimization)
2620
+ Improve debug admin screen
2621
+
2622
+ 2009-09-10 10:12 donncha
2623
+
2624
+ * wp-cache.php: Generate the correct rules for users ins
2625
+ directories
2626
+
2627
+ 2009-09-10 08:41 donncha
2628
+
2629
+ * wp-cache.php: When cache compression is off don't divide number
2630
+ of cached files by 2 as no .gz files are created. Props dpark,
2631
+ http://wordpress.org/support/topic/309443
2632
+
2633
+ 2009-09-09 16:29 donncha
2634
+
2635
+ * wp-cache-phase2.php: Improved output buffer error message
2636
+
2637
+ 2009-09-09 12:37 donncha
2638
+
2639
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Added
2640
+ debug settings section on admin page.
2641
+
2642
+ 2009-09-09 09:11 donncha
2643
+
2644
+ * wp-cache.php: Check if safe_mode is 1 or "on",
2645
+ http://wordpress.org/support/topic/239579?replies=9#post-1204927
2646
+
2647
+ 2009-09-03 11:06 donncha
2648
+
2649
+ * wp-cache-phase2.php: Don't cache GET requests earlier on before
2650
+ OB is set up.
2651
+
2652
+ 2009-09-03 11:05 donncha
2653
+
2654
+ * wp-cache-phase1.php: If debugging is not set then return
2655
+ immediately
2656
+
2657
+ 2009-09-03 11:02 donncha
2658
+
2659
+ * wp-cache-config-sample.php, wp-cache-phase1.php,
2660
+ wp-cache-phase2.php: Added logging to a file and configurable log
2661
+ level
2662
+
2663
+ 2009-09-01 09:31 donncha
2664
+
2665
+ * readme.txt: Updated description of "How to tell if a page is
2666
+ cached"
2667
+
2668
+ 2009-09-01 09:26 donncha
2669
+
2670
+ * wp-cache.php: Tell user that compression is enabled in half-on
2671
+ mode.
2672
+
2673
+ 2009-08-24 13:04 donncha
2674
+
2675
+ * readme.txt: Added http://redbot.org/ to FAQ (thanks Alex!)
2676
+
2677
+ 2009-08-24 12:14 donncha
2678
+
2679
+ * wp-cache.php: Send the Vary header to browsers
2680
+
2681
+ 2009-08-24 08:49 donncha
2682
+
2683
+ * readme.txt: Added FAQ about caching warnings at
2684
+ ismyblogworking.com
2685
+
2686
+ 2009-08-21 16:52 donncha
2687
+
2688
+ * wp-cache.php: Minor fixes for rewrite rules.
2689
+ http://wordpress.org/support/topic/301570?replies=14
2690
+
2691
+ 2009-08-19 08:44 donncha
2692
+
2693
+ * readme.txt: Added troubleshooting note to use half-on mode if
2694
+ timestamp keeps updating.
2695
+
2696
+ 2009-08-06 10:55 donncha
2697
+
2698
+ * wp-cache-phase2.php, wp-cache.php: Added "Cached Page" counter.
2699
+
2700
+ 2009-07-30 08:24 donncha
2701
+
2702
+ * wp-cache-phase2.php, wp-cache.php: Add support for not caching
2703
+ feeds and search pages.
2704
+
2705
+ 2009-07-29 17:28 donncha
2706
+
2707
+ * Changelog.txt: Updated changelog
2708
+
2709
+ 2009-07-29 17:26 donncha
2710
+
2711
+ * readme.txt, wp-cache.php: Bump version to 0.9.6.1
2712
+
2713
+ 2009-07-29 17:13 donncha
2714
+
2715
+ * readme.txt: Added changelog details for 0.9.6.1
2716
+
2717
+ 2009-07-29 11:43 donncha
2718
+
2719
+ * wp-cache-phase2.php, wp-cache.php: Apply "no caching" rules
2720
+ Record options properly
2721
+
2722
+ 2009-07-29 11:29 donncha
2723
+
2724
+ * wp-cache.php: Add page types to not cache to admin page
2725
+
2726
+ 2009-07-29 09:36 donncha
2727
+
2728
+ * wp-cache-phase2.php: Move logged in message below check for POST
2729
+ Add check for is_admin() too
2730
+ (http://wordpress.org/support/topic/294687)
2731
+
2732
+ 2009-07-27 11:51 donncha
2733
+
2734
+ * Changelog.txt: Updated changelog
2735
+
2736
+ 2009-07-27 11:50 donncha
2737
+
2738
+ * readme.txt, wp-cache.php: Bumped version to 0.9.6
2739
+
2740
+ 2009-07-27 11:49 donncha
2741
+
2742
+ * Changelog.txt: Updated changelog.txt
2743
+
2744
+ 2009-07-27 11:46 donncha
2745
+
2746
+ * wp-cache.php: I prefer pretty links
2747
+
2748
+ 2009-07-27 11:43 donncha
2749
+
2750
+ * readme.txt: Added 0.9.6 changelog
2751
+
2752
+ 2009-07-27 11:38 donncha
2753
+
2754
+ * wp-cache-phase2.php: Only show "not cached" message to logged in
2755
+ users if not a feed.
2756
+
2757
+ 2009-07-27 11:34 donncha
2758
+
2759
+ * wp-cache.php: Add link to uninstall script to admin page
2760
+
2761
+ 2009-07-27 11:33 donncha
2762
+
2763
+ * readme.txt: Added filesmatch rules to docs
2764
+
2765
+ 2009-07-27 11:26 donncha
2766
+
2767
+ * readme.txt: Added docs for using uninstall script
2768
+
2769
+ 2009-07-27 11:25 donncha
2770
+
2771
+ * uninstall.php: Check if user can install plugins in uninstall
2772
+ script
2773
+
2774
+ 2009-07-27 11:17 donncha
2775
+
2776
+ * uninstall.php: Added uninstall script
2777
+
2778
+ 2009-07-27 10:42 donncha
2779
+
2780
+ * wp-cache-phase2.php: Removed check of filemtime that's not needed
2781
+ any more.
2782
+
2783
+ 2009-07-27 10:41 donncha
2784
+
2785
+ * wp-cache.php: Added "ForceType" in cache .htaccess to force
2786
+ supercache html.gz files to be served as html files.
2787
+
2788
+ 2009-07-27 10:39 donncha
2789
+
2790
+ * readme.txt: Added category page and static page problem to FAQ
2791
+
2792
+ 2009-07-21 11:57 donncha
2793
+
2794
+ * wp-cache-phase1.php: Fix indentation
2795
+
2796
+ 2009-07-21 11:55 donncha
2797
+
2798
+ * wp-cache-phase2.php: Add back in
2799
+ wp_cache_user_agent_is_rejected() if it doesn't exist (shouldn't
2800
+ happen but it does)
2801
+
2802
+ 2009-07-21 10:58 donncha
2803
+
2804
+ * wp-cache-phase2.php: Added message to show to logged in users
2805
+ when caching disabled for them.
2806
+
2807
+ 2009-07-21 10:34 donncha
2808
+
2809
+ * wp-cache-phase2.php: Check the filemtime on the right file, props
2810
+ Simone Marx
2811
+
2812
+ 2009-07-20 16:37 donncha
2813
+
2814
+ * wp-cache.php: Remove "get_comment_author_url" filter
2815
+
2816
+ 2009-07-17 15:42 donncha
2817
+
2818
+ * wp-cache.php: Silly typo
2819
+
2820
+ 2009-07-17 15:41 donncha
2821
+
2822
+ * wp-cache.php: Use Amazon UK link rather than US one
2823
+
2824
+ 2009-07-17 15:31 donncha
2825
+
2826
+ * Changelog.txt: Updated changelog
2827
+
2828
+ 2009-07-17 15:30 donncha
2829
+
2830
+ * readme.txt: Added changelog to readme.txt
2831
+
2832
+ 2009-07-17 15:22 donncha
2833
+
2834
+ * readme.txt, wp-cache.php: Bump version to 0.9.5
2835
+ Bump tested version to 2.8.1
2836
+
2837
+ 2009-07-17 15:19 donncha
2838
+
2839
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Don't
2840
+ serve wp_cached cache files to rejected USER AGENTs
2841
+
2842
+ 2009-07-17 15:08 donncha
2843
+
2844
+ * wp-cache.php: Show next and last GC times in minutes, not local
2845
+ times
2846
+
2847
+ 2009-07-02 17:21 donncha
2848
+
2849
+ * wp-cache-phase2.php: Rearrange checks for cache files.
2850
+
2851
+ 2009-06-25 21:01 donncha
2852
+
2853
+ * wp-cache-phase2.php: Hide filemtime warnings
2854
+
2855
+ 2009-06-19 15:07 donncha
2856
+
2857
+ * wp-cache-phase1.php: Don't check the filesize or mtime
2858
+
2859
+ 2009-06-19 13:02 donncha
2860
+
2861
+ * wp-cache-phase1.php, wp-cache-phase2.php: Don't check file age
2862
+ when serving cached content - it will be deleted by ordinary
2863
+ updates or by garbage collection
2864
+ Check file age of each cache file only when regenerating (and
2865
+ only to check if file was recently recreated)
2866
+
2867
+ 2009-06-19 09:03 donncha
2868
+
2869
+ * wp-cache.php: Updated blurb
2870
+
2871
+ 2009-06-19 09:01 donncha
2872
+
2873
+ * Changelog.txt: Updated changelog
2874
+
2875
+ 2009-06-18 12:34 donncha
2876
+
2877
+ * wp-cache-phase2.php: Typos in closing and unlink commands
2878
+
2879
+ 2009-06-12 10:47 donncha
2880
+
2881
+ * readme.txt, wp-cache-config-sample.php, wp-cache-phase1.php,
2882
+ wp-cache.php: Bump tested version to 2.8
2883
+ Applied patch to fix PHP warnings by Matt Martz,
2884
+ http://sivel.net/
2885
+
2886
+ 2009-06-10 22:46 donncha
2887
+
2888
+ * wp-cache-phase1.php: Forgot the mobile whitelist
2889
+
2890
+ 2009-06-05 17:04 donncha
2891
+
2892
+ * wp-cache-phase1.php: Use cookies action instead of cache_key so
2893
+ that supercache files aren't generated by anon mobile users
2894
+
2895
+ 2009-06-05 15:12 donncha
2896
+
2897
+ * wp-cache-config-sample.php, wp-cache.php: Added "Android" mobile
2898
+ user agent, thanks Matt Martz/sivel
2899
+
2900
+ 2009-06-05 12:27 donncha
2901
+
2902
+ * readme.txt, wp-cache.php: Don't force the plugin into "half on"
2903
+ mode if mobile support selected.
2904
+ Added rewrite rules so that mobile devices are ignored by static
2905
+ cache.
2906
+ Thanks Vladimir Prelovac for bugging me about this.
2907
+
2908
+ 2009-05-29 08:40 donncha
2909
+
2910
+ * wp-cache-phase1.php: Ignore the WP test cookie, props Jay @
2911
+ http://jay.gooby.org/post/nginx-wp-super-cache-not-writing-cache-files-solved
2912
+
2913
+ 2009-05-26 09:55 donncha
2914
+
2915
+ * wp-cache-phase2.php: Use blog's html type rather than text/html,
2916
+ props Weston Ruter
2917
+
2918
+ 2009-05-26 09:25 donncha
2919
+
2920
+ * wp-cache-phase1.php, wp-cache-phase2.php: Cache the REQUEST_URI
2921
+ in $wp_cache_request_uri in case a plugin overwrites it.
2922
+
2923
+ 2009-05-21 13:12 donncha
2924
+
2925
+ * wp-cache.php: Add newlines to mod_rewrite rules
2926
+
2927
+ 2009-05-19 11:21 donncha
2928
+
2929
+ * readme.txt: Updated recent changes list
2930
+
2931
+ 2009-05-19 11:18 donncha
2932
+
2933
+ * readme.txt: Updated docs for DONOTCACHEPAGE constant
2934
+
2935
+ 2009-05-19 11:15 donncha
2936
+
2937
+ * wp-cache.php: Added "WPSC_DISABLE_COMPRESSION" constant so
2938
+ hosting companies can disable compression in wp-super-cache
2939
+
2940
+ 2009-05-19 11:04 donncha
2941
+
2942
+ * wp-cache.php: Added "WPSC_DISABLE_LOCKING" constant so hosting
2943
+ companies can disable file locking sitewide
2944
+
2945
+ 2009-05-19 10:19 donncha
2946
+
2947
+ * wp-cache-phase2.php: Added "DONOTCACHEPAGE" constant so plugins
2948
+ can specify pages that should not be cached.
2949
+
2950
+ 2009-05-11 13:35 donncha
2951
+
2952
+ * wp-cache.php: Use PHP_DOCUMENT_ROOT in .htaccess rules if set,
2953
+ props Adrian Ott @ Mosso
2954
+
2955
+ 2009-04-25 06:30 donncha
2956
+
2957
+ * Changelog.txt: Updated changelog
2958
+
2959
+ 2009-04-25 06:30 donncha
2960
+
2961
+ * readme.txt, wp-cache.php: Bumped version number to 0.9.4.3
2962
+
2963
+ 2009-04-23 20:04 donncha
2964
+
2965
+ * wp-cache-phase2.php: Move mutex init above actions again
2966
+
2967
+ 2009-04-22 11:34 donncha
2968
+
2969
+ * readme.txt, wp-cache.php: Bump version number to 0.9.4.2
2970
+
2971
+ 2009-04-22 11:06 donncha
2972
+
2973
+ * wp-cache-phase2.php: Move check for logged in user after actions
2974
+ are defined, otherwise cache files aren't updated. See
2975
+ http://wordpress.org/support/topic/264090?replies=2
2976
+
2977
+ 2009-04-21 19:53 donncha
2978
+
2979
+ * Changelog.txt: Updated changelog
2980
+
2981
+ 2009-04-21 19:53 donncha
2982
+
2983
+ * readme.txt, wp-cache.php: Bumped version to 0.9.4.1
2984
+
2985
+ 2009-04-21 19:52 donncha
2986
+
2987
+ * wp-cache.php: Oops, make sure the "don't cache if logged in"
2988
+ checkbox can be unchecked!
2989
+ Clear the cache when it's enabled
2990
+
2991
+ 2009-04-21 15:46 donncha
2992
+
2993
+ * Changelog.txt: Updated changelog
2994
+
2995
+ 2009-04-21 15:45 donncha
2996
+
2997
+ * readme.txt: Updated recent changes
2998
+
2999
+ 2009-04-21 15:44 donncha
3000
+
3001
+ * Changelog.txt: Updated changelog
3002
+
3003
+ 2009-04-21 15:43 donncha
3004
+
3005
+ * readme.txt, wp-cache.php: Bumped version number to 0.9.4
3006
+
3007
+ 2009-04-21 11:46 donncha
3008
+
3009
+ * wp-cache.php: Minor docs update
3010
+
3011
+ 2009-04-20 09:25 donncha
3012
+
3013
+ * wp-cache-phase2.php: Check that user is logged in before not
3014
+ caching
3015
+
3016
+ 2009-04-20 08:49 donncha
3017
+
3018
+ * wp-cache-phase2.php, wp-cache.php: Added "Don't cache for logged
3019
+ in users" option
3020
+
3021
+ 2009-04-18 22:03 donncha
3022
+
3023
+ * readme.txt: Updated donation link
3024
+
3025
+ 2009-04-15 16:38 donncha
3026
+
3027
+ * wp-cache.php: Display file size stats on admin page
3028
+
3029
+ 2009-04-15 15:27 donncha
3030
+
3031
+ * wp-cache-phase2.php: Clear the cache when the profile is updated.
3032
+ Props djquinn http://wordpress.org/support/topic/261504?replies=6
3033
+ http://www.dquinn.net/wp-super-cache-preview-draft-update-profile-wordpress/
3034
+
3035
+ 2009-04-15 15:25 donncha
3036
+
3037
+ * wp-cache-phase1.php: Don't cache post previews
3038
+
3039
+ 2009-04-14 14:10 donncha
3040
+
3041
+ * wp-cache-config-sample.php, wp-cache.php: Added backslashes to
3042
+ rejected URI. See
3043
+ http://wordpress.org/support/topic/260790?replies=10#post-1045412
3044
+
3045
+ 2009-04-06 14:17 donncha
3046
+
3047
+ * Changelog.txt: Updated changelog to 0.9.3.1
3048
+
3049
+ 2009-04-06 14:16 donncha
3050
+
3051
+ * readme.txt, wp-cache.php: Bump version to 0.9.3.1
3052
+
3053
+ 2009-04-06 14:16 donncha
3054
+
3055
+ * readme.txt: Added link to forum thread on posting problems in
3056
+ 0.9.3
3057
+
3058
+ 2009-04-06 14:11 donncha
3059
+
3060
+ * readme.txt: Added "Recent Changes" section to start of readme.txt
3061
+ to make life easier on those upgrading
3062
+
3063
+ 2009-04-05 22:15 donncha
3064
+
3065
+ * advanced-cache.php: Don't show broken path message in wp-admin.
3066
+ Check if file is missing before showing an error
3067
+
3068
+ 2009-04-05 21:51 donncha
3069
+
3070
+ * wp-cache-phase1.php: Return true so the include_once() returns
3071
+ true. Fixes problem with saving posts
3072
+
3073
+ 2009-04-05 18:53 donncha
3074
+
3075
+ * wp-cache-phase2.php: Clear the supercache when all cache is
3076
+ cleared on post edit.
3077
+
3078
+ 2009-04-05 18:53 donncha
3079
+
3080
+ * advanced-cache.php: whitespace cleanup
3081
+
3082
+ 2009-04-05 09:36 donncha
3083
+
3084
+ * Changelog.txt: Updated changelog
3085
+
3086
+ 2009-04-05 08:25 donncha
3087
+
3088
+ * wp-cache-phase2.php: Hide any potential opendir warnings
3089
+
3090
+ 2009-04-04 11:40 donncha
3091
+
3092
+ * Changelog.txt: Updated Changelog to 0.9.3
3093
+
3094
+ 2009-04-04 11:40 donncha
3095
+
3096
+ * readme.txt, wp-cache.php: Bump version number to 0.9.3
3097
+
3098
+ 2009-04-04 11:23 donncha
3099
+
3100
+ * wp-cache.php: Minor change in cache rebuild and mutex option text
3101
+
3102
+ 2009-04-04 11:15 donncha
3103
+
3104
+ * wp-cache-phase1.php: Cache files for single blogs go in cache/,
3105
+ MU cache files go in cache/blogs/
3106
+
3107
+ 2009-04-03 15:01 donncha
3108
+
3109
+ * wp-cache-config-sample.php, wp-cache.php: "Cache rebuild" feature
3110
+ is now on by default
3111
+ File locks are off by default
3112
+ Change language on admin page to "Enable file locking" instead of
3113
+ "Disable..."
3114
+
3115
+ 2009-04-02 19:56 donncha
3116
+
3117
+ * wp-cache-phase2.php: Get rid of more get_option() calls in the
3118
+ shutdown function
3119
+
3120
+ 2009-04-02 13:42 donncha
3121
+
3122
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Added a
3123
+ blog cache dir. WordPress MU blogs will be cached into different
3124
+ directories.
3125
+ Regular WP will cache into cache/blogs/ instead of cache/
3126
+
3127
+ 2009-04-02 13:41 donncha
3128
+
3129
+ * readme.txt: Update docs:
3130
+ 1. new signature on page.
3131
+ 2. Minor text changes
3132
+
3133
+ 2009-04-02 11:49 donncha
3134
+
3135
+ * wp-cache-phase2.php: Removed errlog
3136
+
3137
+ 2009-04-02 11:09 donncha
3138
+
3139
+ * wp-cache-phase2.php: Check if rejected uri expr is a blank. See
3140
+ http://justinblanton.com/2009/03/broken-wp-super-cache
3141
+
3142
+ 2009-04-01 11:46 donncha
3143
+
3144
+ * wp-cache-phase2.php: Added "wp_cache_rebuild_or_delete()"
3145
+ function to delete or create rebuild cache files
3146
+
3147
+ 2009-03-31 10:56 donncha
3148
+
3149
+ * readme.txt: Minor docs update
3150
+
3151
+ 2009-03-31 10:53 donncha
3152
+
3153
+ * readme.txt: Updated docs to stress that wp-cached files are "good
3154
+ enough" for most people.
3155
+
3156
+ 2009-03-31 10:46 donncha
3157
+
3158
+ * advanced-cache.php, readme.txt: Added "wpcache_broken_message()"
3159
+ and code to catch when path in advanced-cache.php is broken.
3160
+
3161
+ 2009-03-31 10:32 donncha
3162
+
3163
+ * wp-cache.php: Check if admin_url exists. Not everyone updates
3164
+ WordPress.
3165
+
3166
+ 2009-03-31 10:31 donncha
3167
+
3168
+ * wp-cache-phase2.php: In post change, remove corrupted or obsolete
3169
+ meta and cache files
3170
+
3171
+ 2009-03-31 10:30 donncha
3172
+
3173
+ * Changelog.txt: Updated changelog.txt
3174
+
3175
+ 2009-03-30 16:12 donncha
3176
+
3177
+ * wp-cache-phase2.php: Added an "auto reject" list of URIs
3178
+
3179
+ 2009-03-30 06:22 donncha
3180
+
3181
+ * wp-cache-phase1.php: Remove corrupted or obsolete meta file and
3182
+ cache file.
3183
+
3184
+ 2009-03-30 04:53 donncha
3185
+
3186
+ * wp-cache-phase1.php, wp-cache-phase2.php: Don't use array_push().
3187
+ Removed wp_cache_file_contents action as it may contribute to
3188
+ memory problems for some hosts.
3189
+ Pass buffer by reference to ob function.
3190
+ Revert merge of shutdown function and ob function
3191
+ Pass "siteurl" to post_id gc function
3192
+
3193
+ 2009-03-29 16:32 donncha
3194
+
3195
+ * wp-cache-phase1.php: Make sure $meta is an array
3196
+
3197
+ 2009-03-28 13:03 donncha
3198
+
3199
+ * Changelog.txt: Updated changelog
3200
+
3201
+ 2009-03-28 13:02 donncha
3202
+
3203
+ * readme.txt, wp-cache.php: Bump version number to 0.9.2
3204
+
3205
+ 2009-03-28 12:58 donncha
3206
+
3207
+ * readme.txt: Added a troubleshooting entry for advanced-cache.php
3208
+
3209
+ 2009-03-28 12:54 donncha
3210
+
3211
+ * advanced-cache.php: Include once instead of require because it
3212
+ won't cause a FATAL error if the path is incorrect
3213
+
3214
+ 2009-03-28 12:39 donncha
3215
+
3216
+ * readme.txt: Minimum version is now 2.6, props tigertech,
3217
+ http://wordpress.org/support/topic/255628?replies=1
3218
+
3219
+ 2009-03-28 12:34 donncha
3220
+
3221
+ * wp-cache-phase2.php: Delete static "pages on front" when posts
3222
+ change.
3223
+
3224
+ 2009-03-28 12:30 donncha
3225
+
3226
+ * readme.txt: Move uninstall instructions up
3227
+ Added "If all else fails" instructions
3228
+
3229
+ 2009-03-21 21:15 donncha
3230
+
3231
+ * wp-cache.php: Added "Settings" link on plugins page.
3232
+ Simplified admin notice, may fix 500 internal errors
3233
+
3234
+ 2009-03-21 21:13 donncha
3235
+
3236
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Revert
3237
+ moving meta information into cache file. It took too long to scan
3238
+ the directory
3239
+
3240
+ 2009-03-20 15:34 donncha
3241
+
3242
+ * wp-cache-phase2.php: Unlink supercache cache files as well as
3243
+ wp-cache files
3244
+
3245
+ 2009-03-20 15:33 donncha
3246
+
3247
+ * wp-cache-phase2.php: No need for separate $log variable
3248
+
3249
+ 2009-03-20 15:31 donncha
3250
+
3251
+ * wp-cache-phase2.php: $supercacheonly is set further up
3252
+
3253
+ 2009-03-20 15:30 donncha
3254
+
3255
+ * wp-cache-phase2.php: Minor typos "attac"
3256
+ Removed unused function
3257
+
3258
+ 2009-03-20 15:28 donncha
3259
+
3260
+ * wp-cache-phase2.php: Make sure other actions have a chance to
3261
+ mark comments as spam
3262
+
3263
+ 2009-03-13 22:19 donncha
3264
+
3265
+ * wp-cache-phase1.php: Don't need that error_log
3266
+
3267
+ 2009-03-13 11:41 donncha
3268
+
3269
+ * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: Make meta
3270
+ an array rather than an object because of this change to PHP5:
3271
+ http://bugs.php.net/bug.php?id=40104
3272
+ Move meta file data into cache file.
3273
+
3274
+ 2009-03-13 09:06 donncha
3275
+
3276
+ * wp-cache-phase2.php: Move wp_cache_shutdown_callback() into the
3277
+ ob callback
3278
+
3279
+ 2009-03-09 09:52 donncha
3280
+
3281
+ * wp-cache.php: Only check for apache modules if in supercache
3282
+ mode.
3283
+
3284
+ 2009-02-27 09:55 donncha
3285
+
3286
+ * plugins/badbehaviour.php: Note that compression disabled when BB
3287
+ support enabled.
3288
+
3289
+ 2009-02-27 09:46 donncha
3290
+
3291
+ * plugins/badbehaviour.php: Bad-behavior fixes. Plugin will find
3292
+ the bb plugin folder now.
3293
+
3294
+ 2009-02-26 12:55 donncha
3295
+
3296
+ * wp-cache-phase1.php: set the right variable.
3297
+
3298
+ 2009-02-26 11:53 donncha
3299
+
3300
+ * Changelog.txt: Updated changelog, should have svnupped last time
3301
+
3302
+ 2009-02-26 11:53 donncha
3303
+
3304
+ * Changelog.txt: Updated changelog
3305
+
3306
+ 2009-02-26 11:51 donncha
3307
+
3308
+ * readme.txt, wp-cache.php: Bump version to 0.9.1
3309
+
3310
+ 2009-02-26 11:35 donncha
3311
+
3312
+ * readme.txt: Updated docs on "expired pages" and the required
3313
+ modules needed to serve new data
3314
+
3315
+ 2009-02-26 11:23 donncha
3316
+
3317
+ * wp-cache.php: Remove "experimental" heading.
3318
+
3319
+ 2009-02-26 11:07 donncha
3320
+
3321
+ * wp-cache.php: Added "About the author" box to admin page.
3322
+
3323
+ 2009-02-19 16:07 donncha
3324
+
3325
+ * wp-cache.php: Make the donation box hidable.
3326
+
3327
+ 2009-02-19 15:46 donncha
3328
+
3329
+ * wp-cache.php: Added donation button, yes my html skills suck.
3330
+
3331
+ 2009-02-19 15:00 donncha
3332
+
3333
+ * wp-cache.php: Match IP against 192.168 instead of 192.
3334
+
3335
+ 2009-02-19 13:43 donncha
3336
+
3337
+ * readme.txt, wp-cache.php: Added checks for hostname = 127.x.x.x
3338
+ or 192.x.x.x or if available uses wp_remote_get() to load
3339
+ wp-cron.php
3340
+ Gives warning if checks fail
3341
+ Updated readme.txt with docs on how to resolve. Thanks to Joost
3342
+ de Valk for help debugging this. http://yoast.com/wp-cron-issues/
3343
+
3344
+ 2009-02-19 13:34 donncha
3345
+
3346
+ * wp-cache-phase2.php: Hide file op warning.
3347
+ Removed register_shutdown command that's not used any more
3348
+
3349
+ 2009-02-19 11:48 donncha
3350
+
3351
+ * wp-cache.php: Hide rename warning. Possibly related to no global
3352
+ lock.
3353
+
3354
+ 2009-02-17 13:04 donncha
3355
+
3356
+ * Changelog.txt: Updated changelog
3357
+
3358
+ 2009-02-17 12:58 donncha
3359
+
3360
+ * wp-cache-phase2.php: Don't show no HTML tag warning for
3361
+ robots.txt, http://wordpress.org/support/topic/243904?replies=1
3362
+
3363
+ 2009-02-17 12:36 donncha
3364
+
3365
+ * wp-cache.php: Clear the supercache folder when it's disabled.
3366
+ Remove the .disabled folder if a supercache folder exists.
3367
+ Show Last and Next garbage collection times as UTC
3368
+ Added an admin notice on the plugins page if wp-super-cache
3369
+ caching is disabled
3370
+ Add plugin notice below plugin row if caching is disabled
3371
+
3372
+ 2009-02-17 12:34 donncha
3373
+
3374
+ * wp-cache-phase2.php: Hide some filemtime() warnings. Without a
3375
+ global file lock we'll get more of these.
3376
+
3377
+ 2009-02-17 12:33 donncha
3378
+
3379
+ * plugins/badbehaviour.php: Disable the supercache if Bad Behaviour
3380
+ support is enabled.
3381
+
3382
+ 2009-02-14 11:48 donncha
3383
+
3384
+ * readme.txt: Updated tag and added Donation link
3385
+
3386
+ 2009-02-06 10:48 donncha
3387
+
3388
+ * wp-cache-phase1.php, wp-cache-phase2.php: Just use the output
3389
+ buffer, no shutdown functions.
3390
+
3391
+ 2009-02-05 20:53 donncha
3392
+
3393
+ * wp-cache-phase2.php: No need to call this callback twice!
3394
+
3395
+ 2009-02-05 15:32 donncha
3396
+
3397
+ * wp-cache-config-sample.php: Remove any slashes left in the
3398
+ blogcacheid
3399
+
3400
+ 2009-02-05 13:36 donncha
3401
+
3402
+ * wp-cache.php: Replace blashslashes in WP_CONTENT_DIR here,
3403
+ possible Win32 fix
3404
+
3405
+ 2009-02-05 10:20 donncha
3406
+
3407
+ * readme.txt: Added "UserOnline" to the list of plugins that don't
3408
+ update when a page is cached
3409
+
3410
+ 2009-02-05 09:55 donncha
3411
+
3412
+ * wp-cache.php: Replace backslashes in WP_CONTENT_DIR too. Win32
3413
+ fix. props Chris (beerfan)
3414
+
3415
+ 2009-02-04 21:49 donncha
3416
+
3417
+ * wp-cache-config-sample.php, wp-cache-phase2.php: Added
3418
+ $wp_cache_shutdown_gc config option to use shutdown instead of
3419
+ wp-cron
3420
+ Added comments on config options
3421
+
3422
+ 2009-02-04 20:38 donncha
3423
+
3424
+ * wp-cache-phase2.php: Don't create empty supercache directories.
3425
+
3426
+ 2009-02-04 10:25 donncha
3427
+
3428
+ * readme.txt: Troubleshooting updates: advanced-cache.php, cache on
3429
+ NFS warning
3430
+
3431
+ 2009-02-03 21:53 donncha
3432
+
3433
+ * plugins/badbehaviour.php, wp-cache-phase1.php: Things act strange
3434
+ when a function has a require_once(), even if it's never reached
3435
+
3436
+ 2009-02-03 21:41 donncha
3437
+
3438
+ * plugins/badbehaviour.php, plugins/searchengine.php,
3439
+ wp-cache-config-sample.php, wp-cache-phase1.php: Added Bad
3440
+ Behaviour plugin
3441
+ Allow SuperCache plugin directory to be relocated. See
3442
+ $wp_cache_plugins_dir in config file.
3443
+ Fixed updating Active status of searchengine plugin
3444
+ Added new cacheactions:
3445
+ 'wp_cache_served_cache_file' activated just before headers are
3446
+ sent for an existing cache file.
3447
+ 'wp_cache_file_contents' filter that every wp-cache cache file is
3448
+ sent through. (ignoring mfunc)
3449
+
3450
+ 2009-02-03 12:11 donncha
3451
+
3452
+ * wp-cache-phase1.php: Clean and echo the buffer
3453
+
3454
+ 2009-02-03 11:49 donncha
3455
+
3456
+ * wp-cache-phase1.php, wp-cache-phase2.php: Register supercache
3457
+ shutdown function right at the start of the process so it's
3458
+ executed before WP objects are destroyed
3459
+
3460
+ 2009-02-02 15:48 donncha
3461
+
3462
+ * wp-cache-phase2.php: Don't register shutdown function, call it
3463
+ from the output buffer callback.
3464
+
3465
+ 2009-02-02 09:58 donncha
3466
+
3467
+ * wp-cache-phase2.php: Don't read files into an array, reverting
3468
+ [86134]
3469
+
3470
+ 2009-01-29 17:19 donncha
3471
+
3472
+ * wp-cache.php: Remove double slashes from inst_root
3473
+
3474
+ 2009-01-29 16:28 donncha
3475
+
3476
+ * wp-cache.php: Guess the install root properly
3477
+
3478
+ 2009-01-29 14:25 donncha
3479
+
3480
+ * wp-cache-phase2.php: Revert prune_super_cache and
3481
+ garbage_collection code.
3482
+
3483
+ 2009-01-29 06:41 donncha
3484
+
3485
+ * wp-cache.php: Fix caching for blogs installed in sub dirs. See
3486
+ http://wordpress.org/support/topic/238022?replies=6
3487
+
3488
+ 2009-01-27 19:57 donncha
3489
+
3490
+ * wp-cache-phase2.php: Only rename the tmp cache file when it's
3491
+ created.
3492
+ Hide warnings about renames and unlinks
3493
+
3494
+ 2009-01-27 06:18 donncha
3495
+
3496
+ * Changelog.txt: Updated changelog
3497
+
3498
+ 2009-01-27 06:17 donncha
3499
+
3500
+ * readme.txt, wp-cache.php: Bump version to 0.9
3501
+
3502
+ 2009-01-27 06:17 donncha
3503
+
3504
+ * wp-cache-phase2.php: Bring back mfunc code
3505
+
3506
+ 2009-01-27 05:53 donncha
3507
+
3508
+ * wp-cache-phase2.php, wp-cache.php: Set GC to 10 minutes instead
3509
+ of 30.
3510
+
3511
+ 2009-01-26 20:08 donncha
3512
+
3513
+ * wp-cache.php: Show last and next garbage collection times
3514
+
3515
+ 2009-01-26 18:11 donncha
3516
+
3517
+ * wp-cache.php: Make sure constant value is displayed, props
3518
+ Jonathan Dingman
3519
+
3520
+ 2009-01-26 17:32 donncha
3521
+
3522
+ * wp-cache-phase1.php: Update mobile "enabled" variable
3523
+
3524
+ 2009-01-26 17:32 donncha
3525
+
3526
+ * wp-cache-phase2.php: Don't send gzip headers if headers already
3527
+ sent
3528
+
3529
+ 2009-01-26 13:00 donncha
3530
+
3531
+ * wp-cache-config-sample.php, wp-cache-phase2.php, wp-cache.php:
3532
+ Removed "dynamic caching" that isn't documented anywhere any more
3533
+ Fixed activate bugs with mobile device support
3534
+
3535
+ 2009-01-26 11:12 donncha
3536
+
3537
+ * wp-cache-config-sample.php, wp-cache-phase1.php, wp-cache.php:
3538
+ Mobile device support via
3539
+ http://wordpress.org/extend/plugins/wordpress-mobile-edition/ by
3540
+ Alex King
3541
+
3542
+ 2009-01-26 10:03 donncha
3543
+
3544
+ * readme.txt: Added extra FAQs
3545
+
3546
+ 2009-01-25 11:21 donncha
3547
+
3548
+ * wp-cache-phase2.php, wp-cache.php: Admin page updates
3549
+ If expiry time is over 30 minutes, set garbage collection to 30
3550
+ minutes, else expiry time
3551
+
3552
+ 2009-01-25 09:11 donncha
3553
+
3554
+ * wp-cache-phase2.php: If supercache enabled, Don't create wp-cache
3555
+ files for anonymous users. Should cut down cached files by half
3556
+ ore more.
3557
+
3558
+ 2009-01-25 07:56 donncha
3559
+
3560
+ * wp-cache-phase2.php: Warn if cache expiry cron job took longer
3561
+ than 30 seconds, props SiriusBuzz
3562
+
3563
+ 2009-01-25 07:49 donncha
3564
+
3565
+ * advanced-cache.php, wp-cache-phase2.php, wp-cache.php:
3566
+ advanced-cache.php will load the phase1.php even in relocated
3567
+ plugin folders now. (NOTE. Must be updated if plugin folder
3568
+ changes)
3569
+ Removed error_log()
3570
+
3571
+ 2009-01-24 06:03 donncha
3572
+
3573
+ * wp-cache.php: Update advanced-cache.php message, props Jonathan
3574
+ Dingman
3575
+
3576
+ 2009-01-23 19:10 donncha
3577
+
3578
+ * Changelog.txt: Updated Changelog for 0.8.9
3579
+
3580
+ 2009-01-23 19:09 donncha
3581
+
3582
+ * readme.txt, wp-cache.php: Bump version number to 0.8.9 and update
3583
+ documentation
3584
+
3585
+ 2009-01-23 18:34 donncha
3586
+
3587
+ * wp-cache.php: Updated text
3588
+
3589
+ 2009-01-23 12:43 donncha
3590
+
3591
+ * wp-cache-phase2.php, wp-cache.php: Set garbage collection to 10
3592
+ seconds after expiry
3593
+
3594
+ 2009-01-23 12:13 donncha
3595
+
3596
+ * wp-cache.php: mutext variable needs to be global
3597
+
3598
+ 2009-01-23 12:06 donncha
3599
+
3600
+ * advanced-cache.php, wp-cache.php: Added "advanced-cache.php"
3601
+ which will load wp-cache-phase1.php
3602
+ Copy that file to wp-content/ instead of symlinking
3603
+ Added checkboxes for "cache rebuild" and "disable file locking"
3604
+ remove #list anchor tag
3605
+
3606
+ 2009-01-22 11:26 donncha
3607
+
3608
+ * wp-cache-phase2.php: Delete lots more cache files in one go, for
3609
+ busy sites
3610
+
3611
+ 2009-01-21 13:42 donncha
3612
+
3613
+ * wp-cache-phase2.php: Removed "cron job called" debug message
3614
+
3615
+ 2009-01-21 13:05 donncha
3616
+
3617
+ * wp-cache.php: Show all sections of the admin page by default.
3618
+ Move cache contents up
3619
+
3620
+ 2009-01-20 11:23 donncha
3621
+
3622
+ * wp-cache.php: Admin page UI update, props Robert Wolf
3623
+
3624
+ 2009-01-19 18:29 donncha
3625
+
3626
+ * wp-cache-config-sample.php: Comment out $wp_cache_mutex_disabled
3627
+ by default
3628
+
3629
+ 2009-01-19 18:27 donncha
3630
+
3631
+ * wp-cache-config-sample.php, wp-cache-phase2.php: Allow mutex file
3632
+ locking to be disabled
3633
+
3634
+ 2009-01-19 18:18 donncha
3635
+
3636
+ * wp-cache.php: Fix the favourites if a non admin users logs in
3637
+
3638
+ 2009-01-16 17:04 donncha
3639
+
3640
+ * Changelog.txt: Updated Changelog
3641
+
3642
+ 2009-01-16 17:03 donncha
3643
+
3644
+ * wp-cache-config-sample.php, wp-cache-phase1.php,
3645
+ wp-cache-phase2.php: Added simple DEBUG mode. Activate by setting
3646
+ $wp_cache_debug to your email address in wp-cache-config.php
3647
+ Sends debug emails on: cron job, failed job, when gzip headers
3648
+ are missing from wp-cache meta file.
3649
+
3650
+ 2009-01-16 16:14 donncha
3651
+
3652
+ * readme.txt, wp-cache.php: Bump version to 0.8.8
3653
+
3654
+ 2009-01-16 16:10 donncha
3655
+
3656
+ * wp-cache.php: Added "Delete Cache" link to Favourites menu
3657
+
3658
+ 2009-01-15 23:16 donncha
3659
+
3660
+ * wp-cache-phase2.php: We clean up files as well as directories.
3661
+ Should fix issue with non-updating blogs
3662
+
3663
+ 2009-01-14 22:47 donncha
3664
+
3665
+ * wp-cache-config-sample.php, wp-cache-phase1.php,
3666
+ wp-cache-phase2.php: Remove debugging code
3667
+
3668
+ 2009-01-14 18:51 donncha
3669
+
3670
+ * wp-cache-config-sample.php, wp-cache-phase1.php,
3671
+ wp-cache-phase2.php: Lots of debug code
3672
+
3673
+ 2009-01-14 14:33 donncha
3674
+
3675
+ * readme.txt: Updated the "How do I know my blog is being cached?"
3676
+ FAQ
3677
+
3678
+ 2009-01-12 17:51 donncha
3679
+
3680
+ * wp-cache-phase2.php: Don't overwrite $dh directory handler
3681
+
3682
+ 2009-01-12 17:38 donncha
3683
+
3684
+ * wp-cache-phase2.php: When reading large directories, create array
3685
+ of files. The opendir handle seems to die.
3686
+
3687
+ 2009-01-11 09:16 donncha
3688
+
3689
+ * wp-cache-phase2.php, wp-cache.php: Use opendir()/readdir()
3690
+ instead of glob()
3691
+
3692
+ 2009-01-09 21:16 donncha
3693
+
3694
+ * wp-cache-phase2.php: Minor typo
3695
+
3696
+ 2009-01-09 11:04 donncha
3697
+
3698
+ * Changelog.txt: Updated changelog
3699
+
3700
+ 2009-01-09 11:04 donncha
3701
+
3702
+ * readme.txt, wp-cache.php: Bump version to 0.8.7
3703
+
3704
+ 2009-01-09 10:59 donncha
3705
+
3706
+ * wp-cache-phase2.php, wp-cache.php: Change default expiry time to
3707
+ 10 minutes
3708
+ Only clean out 100 files at a time. Should help with very large
3709
+ sites.
3710
+ Fix file pointer.
3711
+
3712
+ 2008-12-05 09:57 donncha
3713
+
3714
+ * wp-cache.php: Fix term -> meta typo, props kettari,
3715
+ http://wordpress.org/support/topic/222613?replies=1
3716
+
3717
+ 2008-12-04 18:13 donncha
3718
+
3719
+ * Changelog.txt: Updated changelog for 0.8.6
3720
+
3721
+ 2008-12-04 18:12 donncha
3722
+
3723
+ * wp-cache-phase1.php: Added "WP-Super-Cache: WP-Cache" header for
3724
+ cached php files.
3725
+
3726
+ 2008-12-04 17:59 donncha
3727
+
3728
+ * readme.txt, wp-cache.php: Bump version numberb to 2.7
3729
+
3730
+ 2008-12-04 17:44 donncha
3731
+
3732
+ * wp-cache.php: Hide unlink errors
3733
+
3734
+ 2008-12-04 16:53 donncha
3735
+
3736
+ * wp-cache-phase2.php: Use uniqid() instead of tempnam() to
3737
+ generate temporary filenames.
3738
+ No need for chmod.
3739
+ Fixed minor typo
3740
+
3741
+ 2008-12-04 13:40 donncha
3742
+
3743
+ * wp-cache-phase2.php: Record time of cache generation
3744
+
3745
+ 2008-12-04 13:27 donncha
3746
+
3747
+ * readme.txt: Added Apache configuration docs on AllowOverride
3748
+
3749
+ 2008-12-02 11:00 donncha
3750
+
3751
+ * wp-cache.php: If WP_CACHE is not enabled, but the define() line
3752
+ is in wp-config.php, stop, because it's probably commented out.
3753
+
3754
+ 2008-12-01 11:38 donncha
3755
+
3756
+ * wp-cache-phase2.php: Abort caching if plugin can't write to any
3757
+ cache file, and report error
3758
+ $gzsize may not survive to shutdown callback. Get the filesize
3759
+ again
3760
+
3761
+ 2008-12-01 11:37 donncha
3762
+
3763
+ * wp-cache-phase1.php: Push the headers into the headers array, not
3764
+ the meta object
3765
+
3766
+ 2008-11-25 12:58 donncha
3767
+
3768
+ * Changelog.txt: Updated changelog
3769
+
3770
+ 2008-11-25 12:58 donncha
3771
+
3772
+ * readme.txt, wp-cache.php: Bump version number to 0.8.5
3773
+
3774
+ 2008-11-25 12:45 donncha
3775
+
3776
+ * wp-cache-phase2.php: Added "supercache_dir" filter so supercache
3777
+ directory can be modified.
3778
+
3779
+ 2008-11-25 12:40 donncha
3780
+
3781
+ * wp-cache-phase2.php: Removed backslashes from the supercache
3782
+ filename
3783
+
3784
+ 2008-11-25 12:27 donncha
3785
+
3786
+ * wp-cache.php: Warn if Apache modules are missing.
3787
+ Display gzip cache rewrite rules.
3788
+ Deal with WordPress MU better as it can't upgrade the .htaccess
3789
+ file.
3790
+
3791
+ 2008-11-25 12:24 donncha
3792
+
3793
+ * wp-cache-phase1.php: Added wp_cache_key cacheaction to modify
3794
+ cache key (ie. add user agent, IP, etc)
3795
+
3796
+ 2008-11-25 11:10 donncha
3797
+
3798
+ * wp-cache-phase1.php, wp-cache-phase2.php: Check that cache file
3799
+ exists before serving, it may have been removed without the meta
3800
+ file
3801
+
3802
+ 2008-11-25 11:01 donncha
3803
+
3804
+ * wp-cache-phase2.php: Removed $gzipped variable
3805
+
3806
+ 2008-11-25 10:54 donncha
3807
+
3808
+ * wp-cache-phase2.php: No need to addslashes() to file functions
3809
+
3810
+ 2008-11-14 13:20 donncha
3811
+
3812
+ * wp-cache-phase2.php: Added wpsupercache_buffer filter so buffer
3813
+ can be manipulated before writing to cache file
3814
+
3815
+ 2008-11-14 13:00 donncha
3816
+
3817
+ * wp-cache-phase2.php: Move gzip header detection down
3818
+
3819
+ 2008-11-14 10:09 donncha
3820
+
3821
+ * wp-cache-phase1.php, wp-cache-phase2.php: Add gzip headers back
3822
+ if they are missing. Should fix problems with users seeing
3823
+ corrupted pages.
3824
+
3825
+ 2008-11-14 10:00 donncha
3826
+
3827
+ * readme.txt: Updated docs on file locking
3828
+
3829
+ 2008-11-11 17:28 donncha
3830
+
3831
+ * wp-cache-phase2.php: Write wp-cache php cache files to temporary
3832
+ files before moving into place.
3833
+ Increase gzip compression to 3
3834
+ If cron job failed to get mutex lock, try again in 10 minutes
3835
+
3836
+ 2008-11-07 09:43 donncha
3837
+
3838
+ * wp-cache.php: Use WP_CONTENT_URL in mod_rewrite rules.
3839
+ Use WP_CONTENT_DIR in WPCACHEHOME definition.
3840
+
3841
+ 2008-10-27 13:21 donncha
3842
+
3843
+ * readme.txt: Added links section and link to WP Widget Cache,
3844
+ props to Ben @ http://www.binarymoon.co.uk/
3845
+ Minor troubleshooting update
3846
+
3847
+ 2008-10-23 08:14 donncha
3848
+
3849
+ * wp-cache.php: wp_cache_check_global_config() fixes by joelhardi,
3850
+ http://wordpress.org/support/topic/211477?replies=1#post-879591
3851
+
3852
+ 2008-10-22 15:57 donncha
3853
+
3854
+ * Changelog.txt: Updated changelog
3855
+
3856
+ 2008-10-22 15:55 donncha
3857
+
3858
+ * readme.txt, wp-cache.php: Bump version number to 0.8.4
3859
+
3860
+ 2008-10-11 22:10 donncha
3861
+
3862
+ * wp-cache-phase2.php: Update the time of last gc
3863
+
3864
+ 2008-10-10 11:54 donncha
3865
+
3866
+ * wp-cache-phase2.php, wp-cache.php: Change garbage collection
3867
+ parameters to time rather than hits
3868
+
3869
+ 2008-10-08 16:06 donncha
3870
+
3871
+ * Changelog.txt: Updated changelog
3872
+
3873
+ 2008-10-08 16:04 donncha
3874
+
3875
+ * readme.txt, wp-cache.php: Bump version numbers to 0.8.3
3876
+ Updated docs
3877
+
3878
+ 2008-10-08 08:12 donncha
3879
+
3880
+ * readme.txt: Note for WPMU users,
3881
+ http://wordpress.org/support/topic/208770?replies=3#post-871207
3882
+
3883
+ 2008-10-07 12:03 donncha
3884
+
3885
+ * readme.txt: x-gzip->gzip
3886
+
3887
+ 2008-10-07 10:50 donncha
3888
+
3889
+ * readme.txt: Minor typo,
3890
+ http://wordpress.org/support/topic/208770?replies=1#post-870518
3891
+
3892
+ 2008-10-07 10:44 donncha
3893
+
3894
+ * plugins/searchengine.php: Don't overwrite logged in user details
3895
+ in searchengine plugin.
3896
+
3897
+ 2008-10-06 09:19 donncha
3898
+
3899
+ * wp-cache-phase1.php, wp-cache.php: Encode as gzip, not x-gzip as
3900
+ IE7 has problems with it. ref:
3901
+ http://bugs.typo3.org/view.php?id=4623
3902
+
3903
+ 2008-10-01 08:05 donncha
3904
+
3905
+ * readme.txt, wp-cache.php: Options -> Settings, thanks webmaestro
3906
+ http://wordpress.org/support/topic/207576?replies=2
3907
+
3908
+ 2008-09-29 09:29 donncha
3909
+
3910
+ * wp-cache.php: Only update "clear on post" setting when saving
3911
+ status options, thanks Viper007Bond
3912
+
3913
+ 2008-09-28 11:04 donncha
3914
+
3915
+ * wp-cache-phase2.php: Only create compressed data if required
3916
+
3917
+ 2008-09-28 06:16 donncha
3918
+
3919
+ * wp-cache-phase2.php: Compress cache files with "dynamic content"
3920
+ too
3921
+
3922
+ 2008-09-28 05:56 donncha
3923
+
3924
+ * wp-cache-phase2.php: Only compress cached files once. Nice speed
3925
+ boost!
3926
+
3927
+ 2008-09-28 05:46 donncha
3928
+
3929
+ * wp-cache-phase2.php: Write gzipped supercache files using fopen
3930
+ instead of gzopen
3931
+
3932
+ 2008-09-26 23:16 donncha
3933
+
3934
+ * Changelog.txt: Updated changelog
3935
+
3936
+ 2008-09-26 23:15 donncha
3937
+
3938
+ * readme.txt, wp-cache.php: Bump the version number to 0.8.2
3939
+
3940
+ 2008-09-26 23:14 donncha
3941
+
3942
+ * wp-cache-config-sample.php, wp-cache-phase2.php, wp-cache.php:
3943
+ Added $cache_rebuild_files setting to switch off "need rebuild"
3944
+ functionality by default
3945
+
3946
+ 2008-09-26 16:00 donncha
3947
+
3948
+ * wp-cache-phase2.php: On post change clear the front page
3949
+
3950
+ 2008-09-26 12:04 donncha
3951
+
3952
+ * wp-cache-phase2.php: Move cache writers entry up above supercache
3953
+ cleaning.
3954
+ Only clean individual posts, don't clear cache when no post_id
3955
+
3956
+ 2008-09-26 09:49 donncha
3957
+
3958
+ * wp-cache.php: Only show "Delete Cache" link to MU site admins or
3959
+ admins on WP blogs
3960
+
3961
+ 2008-09-25 12:47 donncha
3962
+
3963
+ * wp-cache.php: Save "wp_cache_clear_on_post_edit" properly, thanks
3964
+ HarryRAR,
3965
+ http://wordpress.org/support/topic/206371?replies=2#post-861998
3966
+
3967
+ 2008-09-25 11:12 donncha
3968
+
3969
+ * wp-cache-phase2.php, wp-cache.php: Can't clear cache on edit_post
3970
+ because leaving a comment calls edit_post unfortunately
3971
+ Experimental code to preserve supercache version of a page while
3972
+ it's being regenerated.
3973
+
3974
+ 2008-09-24 14:21 donncha
3975
+
3976
+ * wp-cache.php: Added "Delete Cache" link at top of admin pages
3977
+
3978
+ 2008-09-24 13:57 donncha
3979
+
3980
+ * Changelog.txt: Updated changelog, still release 0.8.1
3981
+
3982
+ 2008-09-24 13:03 donncha
3983
+
3984
+ * wp-cache-phase2.php: Added function to clear cache when a post is
3985
+ edited
3986
+
3987
+ 2008-09-24 13:02 donncha
3988
+
3989
+ * wp-cache.php: Added "Clear on edit" checkbox to clear all cache
3990
+ files when a post or page is edited
3991
+
3992
+ 2008-09-24 13:01 donncha
3993
+
3994
+ * wp-cache.php: Remove meta and supercache directories when
3995
+ deactivating
3996
+
3997
+ 2008-09-24 12:47 donncha
3998
+
3999
+ * wp-cache.php: Switch status messages around.
4000
+
4001
+ 2008-09-24 12:47 donncha
4002
+
4003
+ * wp-cache.php: Remove cache/.htaccess when uninstalling.
4004
+
4005
+ 2008-09-24 12:44 donncha
4006
+
4007
+ * readme.txt: Make mod mime and rewrite line clearer, hopefully
4008
+
4009
+ 2008-09-24 12:38 donncha
4010
+
4011
+ * wp-cache-phase2.php: comment_id typo
4012
+ Only clear supercache files if it's enabled
4013
+
4014
+ 2008-09-24 12:37 donncha
4015
+
4016
+ * readme.txt: Updated mod_rewrite rules and expiry/mime type rules
4017
+
4018
+ 2008-09-24 11:57 donncha
4019
+
4020
+ * Changelog.txt: Updated changelog for 0.8.1
4021
+
4022
+ 2008-09-24 11:57 donncha
4023
+
4024
+ * readme.txt, wp-cache.php: Bump the version number
4025
+
4026
+ 2008-09-24 10:01 donncha
4027
+
4028
+ * wp-cache-phase2.php: Make the temporary filename world readable
4029
+ to avoid problems where Apache and PHP run as different users.
4030
+ Thanks Tigertech for the code.
4031
+
4032
+ 2008-09-24 09:57 donncha
4033
+
4034
+ * wp-cache-phase2.php: Check that rename worked, if not, remove
4035
+ cache file and rename again. Props tigertech
4036
+
4037
+ 2008-09-23 19:55 donncha
4038
+
4039
+ * wp-cache-phase2.php: Don't clear the supercache if it's not
4040
+ enabled (In blog context, when a moderated comment is made)
4041
+
4042
+ 2008-09-23 13:09 donncha
4043
+
4044
+ * Changelog.txt: Updated changelog
4045
+
4046
+ 2008-09-23 13:05 donncha
4047
+
4048
+ * readme.txt, wp-cache.php: Bump the version to 0.8
4049
+
4050
+ 2008-09-23 13:01 donncha
4051
+
4052
+ * wp-cache-phase1.php: Comment: reminder to update .htaccess rules
4053
+ if get_cookie cacheaction is used.
4054
+
4055
+ 2008-09-23 12:58 donncha
4056
+
4057
+ * wp-cache-phase1.php: Don't return if the $string is not ''
4058
+
4059
+ 2008-09-23 12:50 donncha
4060
+
4061
+ * wp-cache.php: Generate a semaphore id based on hostname and cache
4062
+ path, props Tigertech
4063
+ http://wordpress.org/support/topic/205195?replies=4#post-857610
4064
+
4065
+ 2008-09-23 11:14 donncha
4066
+
4067
+ * wp-cache.php: Make the expiry cleanup list an unordered list
4068
+
4069
+ 2008-09-23 11:06 donncha
4070
+
4071
+ * wp-cache-phase2.php: siteurl -> home for those who run WP in a
4072
+ different place
4073
+
4074
+ 2008-09-23 10:44 donncha
4075
 
4076
+ * wp-cache-config-sample.php, wp-cache-phase2.php, wp-cache.php: No
4077
+ need for $super_cache_max_time
4078
 
4079
+ 2008-09-23 10:39 donncha
4080
 
4081
+ * wp-cache-phase2.php: On post change:
4082
+ 1. Clear all files from permalink in supercache directory.
4083
+ 2. Clear siteurl/page/ permalinks.
4084
+ 3. Clear supercache files when corresponding php meta files are
4085
+ removed.
4086
 
4087
+ 2008-09-18 09:45 donncha
4088
 
4089
+ * wp-cache.php: Show mod_rewrite rules when .htaccess is RO, props
4090
+ Matt @ http://mattsblog.ca/
4091
 
4092
+ 2008-09-17 16:29 donncha
4093
 
4094
+ * wp-cache-phase2.php, wp-cache.php: Decrease the chance of
4095
+ cleanup.
4096
 
4097
+ 2008-09-17 11:01 donncha
 
4098
 
4099
+ * wp-cache.php: Don't server cached static files when url contains
4100
+ "=". Should avoid lots of problems with query strings
4101
 
4102
+ 2008-09-17 11:00 donncha
 
4103
 
4104
+ * wp-cache-phase2.php: Replace the siteurl correctly for those who
4105
+ have installed in a subdir, but access from the directory above.
4106
+ Thanks Viper007Bond.
4107
 
4108
+ 2008-09-16 13:01 donncha
 
4109
 
4110
+ * wp-cache.php: Check for WordPress MU because .htaccess can't be
4111
+ updated.
4112
+ Set cache control and expiry headers of supercached files. Cached
4113
+ for 5 minutes, but with "must-revalidate"
4114
 
4115
+ 2008-09-06 11:00 donncha
4116
 
4117
+ * wp-cache-phase2.php: Write cache files to a temporary file first,
4118
+ then rename. Rename should be atomic.
4119
 
4120
+ 2008-08-28 11:30 donncha
4121
 
4122
+ * Changelog.txt: Updated changelog
4123
 
4124
+ 2008-08-28 11:29 donncha
 
4125
 
4126
+ * readme.txt, wp-cache.php: Bump the version number to 0.7.1
4127
 
4128
+ 2008-08-28 11:00 donncha
 
 
 
4129
 
4130
+ * wp-cache.php: Updated .htaccess code:
4131
+ Check that file is writable (again?)
4132
+ Fix warnings about upgrades.
4133
+ Bright yellow backgrounds on items that need attention
4134
+ Thanks Matt @ http://twitter.com/mattfreedman/statuses/901325274
4135
+ for reporting.
4136
 
4137
+ 2008-08-27 19:32 donncha
4138
+
4139
+ * Changelog.txt: Updated changelog
4140
+
4141
+ 2008-08-27 19:31 donncha
4142
+
4143
+ * readme.txt, wp-cache.php: Bump to 0.7, fix activation link
4144
+
4145
+ 2008-08-27 19:17 donncha
4146
+
4147
+ * Changelog.txt: Updated Changelog
4148
+
4149
+ 2008-08-27 19:16 donncha
4150
+
4151
+ * readme.txt, wp-cache.php: Bump the version number to 0.6.8
4152
+
4153
+ 2008-08-27 18:59 donncha
4154
+
4155
+ * wp-cache.php: Added rules to redirect to urls ending with a "/",
4156
+ props Andylav and definitelynot,
4157
+ http://wordpress.org/support/topic/199542?replies=6
4158
+
4159
+ 2008-08-21 16:41 donncha
4160
+
4161
+ * wp-cache.php: Change menu options url
4162
+
4163
+ 2008-08-20 11:47 donncha
4164
+
4165
+ * Changelog.txt: Update Changelog
4166
+
4167
+ 2008-08-20 10:49 donncha
4168
+
4169
+ * readme.txt, wp-cache.php: Bump version number to 0.6.7
4170
+
4171
+ 2008-08-20 09:38 donncha
4172
+
4173
+ * wp-cache.php: Added CRs
4174
+
4175
+ 2008-08-20 09:01 donncha
4176
+
4177
+ * wp-cache.php: Added apache_request_headers() as suggested in
4178
+ http://wordpress.org/support/topic/197053
4179
+
4180
+ 2008-08-19 16:27 donncha
4181
+
4182
+ * plugins/searchengine.php, wp-cache.php: Updated styling with the
4183
+ help of the simple trackback validation plugin
4184
+
4185
+ 2008-08-19 15:11 donncha
4186
+
4187
+ * wp-cache-config-sample.php: Don't include rss files in cacheable
4188
+ list
4189
+
4190
+ 2008-08-19 15:05 donncha
4191
+
4192
+ * wp-cache.php: Added "deactivation hook" to remove
4193
+ advanced-cache.php and wp-cache-config.php and cached files.
4194
+
4195
+ 2008-08-14 10:39 donncha
4196
+
4197
+ * wp-cache-phase1.php: Only include once
4198
+
4199
+ 2008-08-14 09:14 donncha
4200
+
4201
+ * wp-cache-phase1.php, wp-cache-phase2.php: Cron fixed from Mike
4202
+
4203
+ 2008-08-13 12:52 donncha
4204
+
4205
+ * wp-cache-phase2.php, wp-cache.php: Fixes from Mike Beggs:
4206
+ Use custom is_writeable() that works in Win32 NTFS
4207
+ Update "Vary" header
4208
+ Let WP Cron handle cache cleaning.
4209
+ Don't let mod_deflate try to compress gzipped cached files
4210
+
4211
+ 2008-08-09 10:13 donncha
4212
+
4213
+ * wp-cache-phase2.php: Use get_comment(), props Lazy @
4214
+ http://www.lazybrain.de/
4215
+
4216
+ 2008-07-31 15:53 donncha
4217
+
4218
+ * Changelog.txt: Updated changelog
4219
+
4220
+ 2008-07-31 10:47 donncha
4221
+
4222
+ * readme.txt, wp-cache.php: Bump version numbers
4223
+
4224
+ 2008-07-29 19:52 donncha
4225
+
4226
+ * wp-cache-config-sample.php, wp-cache-phase1.php, wp-cache.php: WP
4227
+ 2.6 fixes. Use WP_CONTENT_DIR. Have not added to .htaccess rules
4228
+ yet
4229
+
4230
+ 2008-07-28 09:37 donncha
4231
+
4232
+ * readme.txt, wp-cache.php: Change wp-super-cache expiry to 3600
4233
+ seconds.
4234
+ Avoid foreach error on empty directories
4235
+ Minor change to status message
4236
+
4237
+ 2008-07-24 16:26 donncha
4238
+
4239
+ * wp-cache-phase2.php, wp-cache.php: Removed debug error log
4240
+ Catch 404 file not found requests when themes use query_posts()
4241
+
4242
+ 2008-07-24 13:17 donncha
4243
+
4244
+ * wp-cache-phase2.php: If we can't get a file lock, warn user.
4245
+
4246
+ 2008-07-23 18:30 donncha
4247
+
4248
+ * readme.txt: Update FAQ on cache times.
4249
+
4250
+ 2008-07-23 18:27 donncha
4251
+
4252
+ * readme.txt, wp-cache.php: Added p= parameter to htacess rules so
4253
+ they'll be served by wp-cache only,
4254
+ http://wordpress.org/support/topic/191275?replies=3
4255
+
4256
+ 2008-07-17 09:48 donncha
4257
+
4258
+ * wp-cache.php: Handle if wp-config.php has been moved ../ in
4259
+ WordPress 2.6
4260
+
4261
+ 2008-07-16 11:12 donncha
4262
+
4263
+ * wp-cache.php: Don't warn the user wp-content is writable if
4264
+ webserver is running as user.
4265
+ Create correct .htaccess rules when WordPress is installed in a
4266
+ different location. Both fixes props Allan Bazinet @
4267
+ http://sneezingfrog.com/blog/
4268
+
4269
+ 2008-07-15 10:17 donncha
4270
+
4271
+ * Changelog.txt: Update changelog
4272
+
4273
+ 2008-07-15 10:15 donncha
4274
+
4275
+ * readme.txt, wp-cache.php: Bump the version number to 0.6.5
4276
+
4277
+ 2008-07-15 10:14 donncha
4278
+
4279
+ * readme.txt: Add "Subscribe to comments" rule to readme
4280
+
4281
+ 2008-07-15 10:11 donncha
4282
+
4283
+ * wp-cache-phase1.php: Use comment_author instead of email in case
4284
+ email isn't mandatory. props rhapsodyv @
4285
+ http://wordpress.org/support/topic/188775
4286
+
4287
+ 2008-07-14 10:42 donncha
4288
+
4289
+ * wp-cache-phase2.php, wp-cache.php: Added "wp_cache_gc" option
4290
+ Allow chance of garbage collection to be configurable.
4291
+
4292
+ 2008-07-14 10:06 donncha
4293
+
4294
+ * readme.txt: If caching doesn't work, it could be
4295
+ advanced-cache.php
4296
+
4297
+ 2008-07-14 09:53 donncha
4298
+
4299
+ * wp-cache.php: Added Subscribe To Comments exclusion rewrite rule
4300
+
4301
+ 2008-07-14 09:52 donncha
4302
+
4303
+ * wp-cache.php: Warn if wp-content is writable, props alexleonard,
4304
+ http://wordpress.org/support/topic/188530
4305
+
4306
+ 2008-07-08 10:41 donncha
4307
+
4308
+ * wp-cache-phase2.php: Remove extra pages generated at the current
4309
+ permalink. ie. paged comments.
4310
+
4311
+ 2008-06-20 16:16 donncha
4312
+
4313
+ * wp-cache.php: Only need the config file writable to change it
4314
+
4315
+ 2008-06-16 09:08 donncha
4316
+
4317
+ * wp-cache-phase2.php: Increase the chance of expired file cleanup
4318
+
4319
+ 2008-06-16 09:07 donncha
4320
+
4321
+ * wp-cache-phase2.php: Warn if page is a 404 or not complete and
4322
+ won't be cached
4323
+
4324
+ 2008-06-12 09:53 donncha
4325
+
4326
+ * readme.txt: Add troubleshooting message for Dreamhost users
4327
+
4328
+ 2008-05-26 09:12 donncha
4329
+
4330
+ * wp-cache-phase2.php: Use [] instead of {} for array indexes
4331
+ Fix warning notices
4332
+
4333
+ 2008-05-14 16:22 donncha
4334
+
4335
+ * Changelog.txt: Updated changelog
4336
+
4337
+ 2008-05-14 16:19 donncha
4338
+
4339
+ * readme.txt, wp-cache-phase2.php, wp-cache.php: Remove comment.
4340
+ Bump version number
4341
+
4342
+ 2008-05-14 12:21 donncha
4343
+
4344
+ * wp-cache-phase2.php: Clean up the supercache if no post_id is
4345
+ defined
4346
+
4347
+ 2008-05-14 12:11 donncha
4348
+
4349
+ * wp-cache.php: Move menu code up
4350
+
4351
+ 2008-05-13 14:57 donncha
4352
+
4353
+ * wp-cache-phase2.php: Only prune files in the supercache directory
4354
+ Remove expired files 1/500's of the time
4355
+
4356
+ 2008-05-11 08:51 donncha
4357
+
4358
+ * wp-cache.php: Allow the "digg proof" message to be styled
4359
+ Removed whitespace
4360
+
4361
+ 2008-05-05 09:49 donncha
4362
+
4363
+ * wp-cache-phase1.php: Removed Last-Modified header so plugin works
4364
+ on godaddy servers. props Brad @
4365
+ http://www.littleredrails.com/blog/2007/09/08/using-wp-cache-on-godaddy-500-error/
4366
+
4367
+ 2008-05-05 09:44 donncha
4368
+
4369
+ * readme.txt, wp-cache.php: Added rewrite rules to stop POST
4370
+ requests to html static files. props eharris @
4371
+ http://wordpress.org/support/topic/173972?replies=2
4372
+
4373
+ 2008-04-24 19:14 donncha
4374
+
4375
+ * Changelog.txt: Update Changelog
4376
+
4377
+ 2008-04-24 19:14 donncha
4378
+
4379
+ * readme.txt: Added changelog link
4380
+ Added attachment_id mod_rewrite rule
4381
+
4382
+ 2008-04-24 19:11 donncha
4383
+
4384
+ * Changelog.txt: Updated Changelog
4385
+
4386
+ 2008-04-24 19:09 donncha
4387
+
4388
+ * readme.txt, wp-cache.php: Bump the version number
4389
+
4390
+ 2008-04-24 15:45 donncha
4391
+
4392
+ * wp-cache-phase2.php: Put "could not write" message in a HTML
4393
+ comment at the end of the current page.
4394
+
4395
+ 2008-04-20 07:48 donncha
4396
+
4397
+ * wp-cache.php: Use blog charset for encoding.
4398
+ Don't supercache attachment pages, props Callum
4399
+
4400
+ 2008-04-17 09:23 donncha
4401
+
4402
+ * wp-cache.php: Make sure files are served as UTF-8, props
4403
+ tanguillo and nikolayb
4404
+ http://wordpress.org/support/topic/169540?replies=3
4405
+
4406
+ 2008-04-12 07:06 donncha
4407
+
4408
+ * Changelog.txt: Updated changelog
4409
+
4410
+ 2008-04-12 07:05 donncha
4411
+
4412
+ * readme.txt, wp-cache.php: Bump version number and update
4413
+ .htaccess example code
4414
+
4415
+ 2008-04-11 23:30 donncha
4416
+
4417
+ * wp-cache-phase1.php, wp-cache-phase2.php: Remove "index.php" from
4418
+ cached file paths
4419
+
4420
+ 2008-04-11 23:17 donncha
4421
+
4422
+ * wp-cache-config-sample.php, wp-cache.php: Add index.php to list
4423
+ of not to be cached pages
4424
+ Minor typo fix
4425
+
4426
+ 2008-04-08 09:51 donncha
4427
+
4428
+ * wp-cache.php: Delete all contents of cache dir, not just
4429
+ supercachedir when caching disabled.
4430
+
4431
+ 2008-04-04 11:59 donncha
4432
+
4433
+ * wp-cache.php: wp_specialchars the rules
4434
+
4435
+ 2008-04-01 11:31 donncha
4436
+
4437
+ * wp-cache.php: Added wpsc_remove_marker() to remove WordPress
4438
+ rewrite rules
4439
+ Super Cache rules now go in the WPSuperCache marker
4440
+ Check for comment cookie in one line, props askapache
4441
+
4442
+ 2008-03-31 08:42 donncha
4443
+
4444
+ * wp-cache.php: wp_specialchars() the mod_rewrite rules, props
4445
+ Viper007Bond
4446
+
4447
+ 2008-03-30 10:42 donncha
4448
+
4449
+ * readme.txt, wp-cache.php: Bump the version numbers
4450
+
4451
+ 2008-03-30 10:41 donncha
4452
+
4453
+ * Changelog.txt: Updated changelog
4454
+
4455
+ 2008-03-30 10:41 donncha
4456
+
4457
+ * wp-cache.php: Warn if mod_rewrite rules are out of date and
4458
+ encourage user to remove or update them manually
4459
+
4460
+ 2008-03-30 10:26 donncha
4461
+
4462
+ * Changelog.txt: Updated changelog
4463
+
4464
+ 2008-03-28 17:37 donncha
4465
+
4466
+ * wp-cache.php: Login cookie got shortened to "wordpress" in 2.5,
4467
+ still backwards compatible
4468
+
4469
+ 2008-03-28 17:22 donncha
4470
+
4471
+ * wp-cache.php: Move toggleLayer js around
4472
+
4473
+ 2008-03-13 11:37 donncha
4474
+
4475
+ * readme.txt, wp-cache.php: Bump to 0.6
4476
+
4477
+ 2008-03-13 11:34 donncha
4478
+
4479
+ * readme.txt: Added compression FAQ
4480
+
4481
+ 2008-03-13 11:28 donncha
4482
+
4483
+ * wp-cache.php: Only require mod_rewrite if super cache is enabled
4484
+ Hide super cache parts of page when not activated
4485
+ Add "/" to mod_rewrite rules for URLs not ending in a /, props
4486
+ Michael R Aulia @ http://www.michaelaulia.com/blogs/
4487
+
4488
+ 2008-03-13 11:25 donncha
4489
+
4490
+ * readme.txt: Updated documentation
4491
+
4492
+ 2008-03-12 18:55 donncha
4493
+
4494
+ * wp-cache-phase2.php: This somehow stops PHP creating directories
4495
+ in the root folder, thanks to Cherie and Jennifer for their
4496
+ invaluable help!
4497
+
4498
+ 2008-03-12 17:00 donncha
4499
+
4500
+ * wp-cache.php: No need for this message any more
4501
+
4502
+ 2008-03-11 13:04 donncha
4503
+
4504
+ * wp-cache.php: Don't auto update .htaccess until user wants to.
4505
+ Hide listing of cached files, it's wrong anyway.
4506
+ Move advanced features to the end of backend page.
4507
+
4508
+ 2008-02-11 20:52 donncha
4509
+
4510
+ * readme.txt, wp-cache.php: You must define things before loading
4511
+ WordPress! (props s2j @
4512
+ http://wordpress.org/support/topic/154996?replies=12#post-691402
4513
+ )
4514
+
4515
+ 2008-02-08 10:27 donncha
4516
+
4517
+ * wp-cache.php: Remember to delete compressed files from directly
4518
+ cached folders, props John Pozadzides
4519
+
4520
+ 2008-01-16 12:14 donncha
4521
+
4522
+ * Changelog.txt: Update changelog
4523
+
4524
+ 2008-01-16 12:13 donncha
4525
+
4526
+ * readme.txt, wp-cache.php: Bump version number
4527
+ Make admin page readonly if configuration page cannot be written
4528
+ to
4529
+
4530
+ 2008-01-04 11:23 donncha
4531
+
4532
+ * Changelog.txt, readme.txt, wp-cache.php: Bump version and update
4533
+ changelog
4534
+
4535
+ 2008-01-04 11:22 donncha
4536
+
4537
+ * wp-cache.php: Only update the hello_world option when updating
4538
+ the right form
4539
+
4540
+ 2008-01-04 10:41 donncha
4541
+
4542
+ * readme.txt, wp-cache.php: Bump version number
4543
+
4544
+ 2008-01-04 10:40 donncha
4545
+
4546
+ * wp-cache.php: Rearrange .htaccess generator.
4547
+ Allow mod_rewrite rules to be viewed later
4548
+ Only create wp-content/cache/.htaccess if it doesn't exist
4549
+
4550
+ 2008-01-04 10:16 donncha
4551
+
4552
+ * wp-cache.php: Added Super Cache footer message
4553
+
4554
+ 2008-01-03 22:29 donncha
4555
+
4556
+ * wp-cache.php: More fixes for sub directory blogs, props Otto42 -
4557
+ http://wordpress.org/support/topic/146443?replies=9#post-664254
4558
+
4559
+ 2007-12-16 11:07 donncha
4560
+
4561
+ * wp-cache.php: Warn if ABSPATH is writeable
4562
+ Add $home_root to cached files path in rewrite rules
4563
+ make mod_rewrite module warning more verbose
4564
+
4565
+ 2007-12-09 07:39 donncha
4566
+
4567
+ * wp-cache-phase2.php: Hide unlink errors
4568
+
4569
+ 2007-12-04 10:18 donncha
4570
+
4571
+ * wp-cache-phase2.php: Check that mutex is set,
4572
+ http://wordpress.org/support/topic/146052?replies=4
4573
+
4574
+ 2007-11-28 11:29 donncha
4575
+
4576
+ * wp-cache-phase2.php, wp-cache.php: Check that $entries is not
4577
+ empty
4578
+ Don't ever recurse from ABSPATH up
4579
+
4580
+ 2007-11-26 11:33 donncha
4581
+
4582
+ * Changelog.txt: Updated changelog
4583
+
4584
+ 2007-11-26 11:32 donncha
4585
+
4586
+ * wp-cache.php: It's WPLOCKDOWN
4587
+
4588
+ 2007-11-26 11:31 donncha
4589
+
4590
+ * Changelog.txt: Updated Changelog
4591
+
4592
+ 2007-11-26 11:30 donncha
4593
+
4594
+ * readme.txt, wp-cache.php: Bump the version number
4595
+ Docs for lockdown
4596
+
4597
+ 2007-11-26 11:17 donncha
4598
+
4599
+ * wp-cache.php: Bumpy bumpy
4600
+
4601
+ 2007-11-26 11:12 donncha
4602
+
4603
+ * Changelog.txt: Updated Changelog
4604
+
4605
+ 2007-11-26 11:11 donncha
4606
+
4607
+ * readme.txt: Bump version
4608
+
4609
+ 2007-11-26 11:07 donncha
4610
+
4611
+ * readme.txt: Warn about safe mode
4612
+
4613
+ 2007-11-26 10:56 donncha
4614
+
4615
+ * wp-cache.php: Print a warning message if PHP safe mode is
4616
+ enabled.
4617
+ Super Cache plugins will fail silently if advanced-cache.php is
4618
+ not loaded
4619
+ Updated "Directly Cached Files" text
4620
+
4621
+ 2007-11-16 21:56 donncha
4622
+
4623
+ * plugins/searchengine.php, wp-cache-phase1.php,
4624
+ wp-cache-phase2.php, wp-cache.php: Added &raquo;
4625
+ Updated formatting of admin backend
4626
+ Added "direct caching" of pages.
4627
+
4628
+ 2007-11-12 21:23 donncha
4629
+
4630
+ * wp-cache-phase2.php, wp-cache.php: PHP 5's mkdir() doesn't like
4631
+ slashes, http://ie2.php.net/manual/en/function.mkdir.php#73848 -
4632
+ props Tummmbler
4633
+
4634
+ 2007-11-12 15:26 donncha
4635
+
4636
+ * Changelog.txt: Updated changelog
4637
+
4638
+ 2007-11-12 15:23 donncha
4639
+
4640
+ * readme.txt, wp-cache.php: Bump version
4641
+ Update readme docs
4642
+ Add options page for wpmu site admins
4643
+
4644
+ 2007-11-12 11:32 donncha
4645
+
4646
+ * wp-cache.php: Check if cache config file is out of date
4647
+
4648
+ 2007-11-12 11:14 donncha
4649
+
4650
+ * wp-cache-phase2.php, wp-cache.php: Hide some warning messages
4651
+ Don't super cache $_GET requests
4652
+ Use wp_mkdir_p() instead of mkpath()
4653
+ Don't delete meta, supercache or .htaccess
4654
+
4655
+ 2007-11-11 10:05 donncha
4656
+
4657
+ * wp-cache.php: Don't want to check for .gz files twice!
4658
+
4659
+ 2007-11-11 08:06 donncha
4660
+
4661
+ * wp-cache.php: Added 'comment moderation' message when blog locked
4662
+ down.
4663
+ Formatting changes
4664
+ Use 'manage_options' instead of administrator because viper
4665
+ changed his role names :)
4666
+
4667
+ 2007-11-11 01:13 donncha
4668
+
4669
+ * wp-cache.php: If .htaccess updating fails, inform the user
4670
+
4671
+ 2007-11-11 00:20 donncha
4672
+
4673
+ * wp-cache-phase2.php, wp-cache.php: Added "Lockdown" function so
4674
+ static files won't be deleted by comments
4675
+ Minor changes to admin page formatting
4676
+ get_settings to get_option
4677
+
4678
+ 2007-11-10 21:06 donncha
4679
+
4680
+ * wp-cache.php: Spell out radio boxes a bit more.
4681
+ Modified .htaccess rules so search pages aren't served from super
4682
+ cache
4683
+ Actually insert_with_markers instead of echoing the command!
4684
+ Tell user rules have been updated
4685
+ Disable super cache *before* renaming directory. Sleep for a
4686
+ second before
4687
+ deleting to allow other processes to finish
4688
+
4689
+ 2007-11-10 20:03 donncha
4690
+
4691
+ * wp-cache-phase2.php: Make sure the .htaccess isn't deleted
4692
+
4693
+ 2007-11-10 09:28 donncha
4694
+
4695
+ * wp-cache-phase2.php: Don't remove super-cache file until comment
4696
+ is approved
4697
+
4698
+ 2007-11-10 07:19 donncha
4699
+
4700
+ * wp-cache.php: Check that WP_CACHE is defined before checking for
4701
+ do_cacheaction.
4702
+ Better instructions for verifying a new install
4703
+
4704
+ 2007-11-09 21:33 donncha
4705
+
4706
+ * wp-cache.php: Define WPCACHEHOME properly, thanks tummbler for
4707
+ testing!
4708
+
4709
+ 2007-11-09 17:09 donncha
4710
+
4711
+ * wp-cache-phase2.php: Don't super-cache WordPress searches. May
4712
+ need to extend that to any GET activity
4713
+
4714
+ 2007-11-09 15:01 donncha
4715
+
4716
+ * wp-cache-phase2.php: Change preg_match delimiter so slashes work
4717
+ again
4718
+
4719
+ 2007-11-09 14:41 donncha
4720
+
4721
+ * readme.txt: Updated documentation
4722
+
4723
+ 2007-11-09 14:27 donncha
4724
+
4725
+ * wp-cache.php: Use get_mod_rewrite() to detect if that module is
4726
+ loaded
4727
+ Automatically populate the .htaccess file if it's writable
4728
+ Add gzip encoding rules to the cache dir, props Dennis @
4729
+ http://allmybrain.com/2007/11/08/making-wp-super-cache-gzip-compression-work/
4730
+ Replace Windows folder deliminator, "\" with "/" in WPCACHEHOME,
4731
+ props Computer Guru @
4732
+ http://neosmart.net/blog/2007/getting-wordpress-super-cache-to-run-on-a-windows-iis-or-apache-server/
4733
+
4734
+ 2007-11-09 01:19 donncha
4735
+
4736
+ * wp-cache-phase2.php: Move is_feed() check earlier.
4737
+ Check that mkpath() path is in $cache_path
4738
+
4739
+ 2007-11-08 21:57 donncha
4740
+
4741
+ * wp-cache.php: Single quote ABSPATH
4742
+ Check advanced-cache.php for version, remove if necessary, fixed
4743
+ create conditions
4744
+
4745
+ 2007-11-08 21:55 donncha
4746
+
4747
+ * wp-cache-phase1.php: realpath() two filenames
4748
+
4749
+ 2007-11-08 21:53 donncha
4750
+
4751
+ * readme.txt: Fix subdirectory .htaccess rules, props Computer Guru
4752
+
4753
+ 2007-11-08 21:51 donncha
4754
+
4755
+ * plugins/searchengine.php: Hide setcookie errors
4756
+ Return correct string
4757
+
4758
+ 2007-11-07 15:38 donncha
4759
+
4760
+ * Changelog.txt: Added Changelog.txt
4761
+
4762
+ 2007-11-07 15:27 donncha
4763
+
4764
+ * readme.txt: Bump version to 0.3.1 (getting to 1.0 far too
4765
+ quickly!)
4766
+ Change formatting again
4767
+
4768
+ 2007-11-07 15:26 donncha
4769
+
4770
+ * wp-cache.php: Bump version to 0.3.1
4771
+
4772
+ 2007-11-07 15:26 donncha
4773
 
4774
+ * wp-cache-config-sample.php, wp-cache-phase2.php: Use preg_match()
4775
+ to match rejected URIs.
4776
+ Change "wp-" to "wp-.*.php" to match files and paths starting
4777
+ with "wp-" and ending in "php"
4778
 
4779
+ 2007-11-07 11:56 donncha
 
4780
 
4781
+ * wp-cache.php: Bump the version number
4782
 
4783
+ 2007-11-06 22:50 donncha
 
 
4784
 
4785
+ * readme.txt: Bump version
4786
 
4787
+ 2007-11-06 22:18 donncha
4788
 
4789
+ * wp-cache-phase2.php: Fix feed content-type, props Dougal,
4790
+ (http://dougal.gunters.org/blog/2007/06/19/wp-cache-fix-for-content-type-in-feeds)
4791
 
4792
+ 2007-11-06 22:15 donncha
 
4793
 
4794
+ * wp-cache.php: Check the do_cacheaction() exists
4795
+ Copy file if symlink is not found
4796
 
4797
+ 2007-11-06 21:44 donncha
 
4798
 
4799
+ * wp-cache.php: Move WP Super Cache to "Site Admin" menu on
4800
+ WordPress MU,
4801
+ http://www.darcynorman.net/2007/11/06/wordpress-super-cache/
4802
 
4803
+ 2007-11-06 21:19 donncha
 
 
4804
 
4805
+ * wp-cache-phase1.php: Don't compress WP-Cache data files is PHP is
4806
+ already doing it
4807
 
4808
+ 2007-11-06 10:29 donncha
 
 
4809
 
4810
+ * readme.txt: Minor typo in tag
4811
 
4812
+ 2007-11-06 10:06 donncha
 
 
 
4813
 
4814
+ * readme.txt, wp-cache-phase1.php, wp-cache-phase2.php,
4815
+ wp-cache.php: Bump the version to 0.2
4816
+ Enable gzip support in WP-Cache data files, fix feed content
4817
+ type, props tummbler:
4818
+ http://www.tummblr.com/wordpress/improving-wp-super-cache-gzip-for-logged-in-users/
4819
+ http://elliottback.com/wp/archives/2005/07/12/getting-wp-cache-to-work/
4820
+ http://blog.saddey.net/2007/02/18/how-to-prevent-wpcache-from-changing-a-feeds-content-type-to-text-html/
4821
+ When Super Cache is disabled, still write to WP-Cache files
4822
+ Check that prune_super_cache() exists before calling it in
4823
+ wp-cache.php, props Dougal
4824
 
4825
+ 2007-11-06 09:06 donncha
 
4826
 
4827
+ * readme.txt: Fix line endings
4828
 
4829
+ 2007-11-05 18:41 donncha
 
4830
 
4831
+ * wp-cache.php: Fixed display of "compression changed" message
4832
 
4833
+ 2007-11-05 18:06 donncha
4834
 
4835
+ * readme.txt: Convert to DOS mode
4836
+ reformat lists for display on wporg
4837
 
4838
+ 2007-11-05 17:25 donncha
 
 
4839
 
4840
+ * readme.txt: Minor updates to the readme
4841
 
4842
+ 2007-11-05 15:21 donncha
 
 
4843
 
4844
+ * wp-cache.php: When disabling or enabling compression make sure
4845
+ the user knows about .htaccess
4846
 
4847
+ 2007-11-05 15:11 donncha
 
 
 
4848
 
4849
+ * wp-cache-phase2.php: Rejected URIs must have .php in them now so
4850
+ pages starting with "wp-" will be cached
4851
 
4852
+ 2007-11-05 15:10 donncha
 
4853
 
4854
+ * wp-cache.php: When disabling supercache, make sure wpcache is
4855
+ enabled.
4856
+ Avoid resetting cache_compression when submitting other forms
4857
+ Reset supercache meta cache when compression modified
4858
 
4859
+ 2007-11-05 14:54 donncha
 
 
4860
 
4861
+ * wp-cache-config-sample.php, wp-cache.php: Fix weirdness with
4862
+ radio buttons on admin page
4863
 
4864
+ 2007-11-05 11:35 donncha
 
 
4865
 
4866
+ * plugins, plugins/searchengine.php, readme.txt, wp-cache-base.php,
4867
+ wp-cache-config-sample.php, wp-cache-phase1.php,
4868
+ wp-cache-phase2.php, wp-cache.php: Initial import of WP Super
4869
+ Cache
4870
 
4871
+ 2007-10-23 20:02 plugin-master
 
4872
 
4873
+ * .: adding wp-super-cache by donncha
4874
 
advanced-cache.php CHANGED
@@ -1,21 +1,14 @@
1
  <?php
2
- # WP SUPER CACHE 1.2
3
  function wpcache_broken_message() {
4
- global $wp_cache_config_file;
5
- if ( isset( $wp_cache_config_file ) == false )
6
- return '';
7
-
8
  if ( false == strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin' ) )
9
- echo "<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->";
10
  }
11
 
12
- if ( false == defined( 'WPCACHEHOME' ) ) {
13
- define( 'ADVANCEDCACHEPROBLEM', 1 );
14
- } elseif ( !include_once( WPCACHEHOME . 'wp-cache-phase1.php' ) ) {
15
- if ( !@is_file( WPCACHEHOME . 'wp-cache-phase1.php' ) ) {
16
  define( 'ADVANCEDCACHEPROBLEM', 1 );
 
17
  }
18
  }
19
- if ( defined( 'ADVANCEDCACHEPROBLEM' ) )
20
- register_shutdown_function( 'wpcache_broken_message' );
21
  ?>
1
  <?php
2
+ # WP SUPER CACHE 0.8.9.1
3
  function wpcache_broken_message() {
 
 
 
 
4
  if ( false == strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin' ) )
5
+ echo "<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->";
6
  }
7
 
8
+ if ( !include_once( 'CACHEHOME' . 'wp-cache-phase1.php' ) ) {
9
+ if ( !@is_file( 'CACHEHOME' . 'wp-cache-phase1.php' ) ) {
 
 
10
  define( 'ADVANCEDCACHEPROBLEM', 1 );
11
+ register_shutdown_function( 'wpcache_broken_message' );
12
  }
13
  }
 
 
14
  ?>
languages/wp-super-cache-sr_RS.mo DELETED
Binary file
languages/wp-super-cache-sr_RS.po DELETED
@@ -1,2686 +0,0 @@
1
- # Copyright (C) 2013
2
- # This file is distributed under the same license as the package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: WP super cache plugin\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-super-cache\n"
7
- "POT-Creation-Date: 2013-04-16 12:02:02+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2013-05-07 19:00+0100\n"
12
- "Last-Translator: Anja Skrba <anjas@webhostinggeeks.com>\n"
13
- "Language-Team: Anja Skrba <anjas@webhostinggeeks.com>\n"
14
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
- "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
16
- "Language: Srpski / Serbian\n"
17
- "X-Generator: Poedit 1.5.5\n"
18
- "X-Poedit-SourceCharset: UTF-8\n"
19
-
20
- #: ossdl-cdn.php:151
21
- msgid ""
22
- "Your website probably uses lots of static files. Image, Javascript and CSS "
23
- "files are usually static files that could just as easily be served from "
24
- "another site or CDN. Therefore this plugin replaces any links in the "
25
- "<code>wp-content</code> and <code>wp-includes</code> directories (except for "
26
- "PHP files) on your site with the URL you provide below. That way you can "
27
- "either copy all the static content to a dedicated host or mirror the files "
28
- "to a CDN by <a href=\"http://knowledgelayer.softlayer.com/questions/365/How"
29
- "+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a>."
30
- msgstr ""
31
- "Vaš web sajt verovatno koristi dosta statičnih fajlova. Slikovni, Javascript "
32
- "i CSS fajlovi su obično statični fajlovi koji lako mogu da se &#34;"
33
- "povlače&#34; sa drugog sajta, ili CDN-a. Iz tog razloga ovaj WordPress "
34
- "dodatak zamenjuje sve linkove u <code>wp-content</code> i <code>wp-includes</"
35
- "code> direktorijumima (izuzev PHP fajlova) vašeg sajta, URL-om koji dajete "
36
- "dole. Na taj način možete, ili kopirati sav statičan sadržaj na poseban "
37
- "hosting server, ili &#34;preslikati&#34; (mirror) fajlove na CDN, pomoću <a "
38
- "href=\"http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull"
39
- "+work%3F\" target=\"_blank\">origin pull</a>-a."
40
-
41
- #: ossdl-cdn.php:152 wp-cache.php:1167
42
- msgid ""
43
- "The <a href=\"%1$s\">CDN Sync Tool</a> plugin will help upload files to "
44
- "Amazon S3/Cloudfront if you would rather not depend on origin pull. See the "
45
- "<a href=\"%2$s\">plugin support forum</a> if you have any queries about this "
46
- "plugin."
47
- msgstr ""
48
- "Dodatak <a href=\"%1$s\">CDN Sync Tool</a> će vam pomoći da prenesete "
49
- "fajlove na Amazon S3/Cloudfront, ako radije ne biste da zavisite od origin "
50
- "pull-a. Pogledajte <a href=\"%2$s\">forum za podršku dodatku</a>, ako imate "
51
- "bilo kakvih pitanja u vezi sa ovim dodatkom."
52
-
53
- #: ossdl-cdn.php:153
54
- msgid ""
55
- "<strong style=\"color: red\">WARNING:</strong> Test some static urls e.g., "
56
- "%s to ensure your CDN service is fully working before saving changes."
57
- msgstr ""
58
- "<strong style=\"color: red\">UPOZORENJE:</strong> Pre nego snimite izmene, "
59
- "isprobajte nekoliko statičnih url-ova, npr. %s , da budete sigurni da vaš "
60
- "CDN servis radi u potpunosti."
61
-
62
- #: ossdl-cdn.php:154
63
- msgid "You can define different CDN URLs for each site on a multsite network."
64
- msgstr ""
65
- "Možete definisati različite CDN URL-ove za svaki sajt iz mreže višestrukih "
66
- "sajtova."
67
-
68
- #: ossdl-cdn.php:162
69
- msgid "Enable CDN Support"
70
- msgstr "Uključiti CDN podršku"
71
-
72
- #: ossdl-cdn.php:165
73
- msgid "Off-site URL"
74
- msgstr "Spoljašnji URL"
75
-
76
- #: ossdl-cdn.php:168
77
- msgid ""
78
- "The new URL to be used in place of %1$s for rewriting. No trailing <code>/</"
79
- "code> please.<br />Example: <code>%2$s</code>."
80
- msgstr ""
81
- "Novi URL koji će se koristiti umesto %1$s, za ponovno upisivanje. Bez "
82
- "prateće <code>/</code>, molim vas. Primer: <code>%2$s</code>."
83
-
84
- #: ossdl-cdn.php:172
85
- msgid "Include directories"
86
- msgstr "Uključiti direktorijume"
87
-
88
- #: ossdl-cdn.php:175
89
- msgid ""
90
- "Directories to include in static file matching. Use a comma as the "
91
- "delimiter. Default is <code>wp-content, wp-includes</code>, which will be "
92
- "enforced if this field is left empty."
93
- msgstr ""
94
- "Direktorijumi koje treba uključiti pri statičkom upoređivanju fajlova. "
95
- "Koristite zapetu kao razdvajač. Podrazumevani su <code>wp-content, wp-"
96
- "includes</code>, koji će se uključiti ako se ovo polje ostavi prazno."
97
-
98
- #: ossdl-cdn.php:179
99
- msgid "Exclude if substring"
100
- msgstr "Isključiti ako je pod-niz"
101
-
102
- #: ossdl-cdn.php:182
103
- msgid ""
104
- "Excludes something from being rewritten if one of the above strings is found "
105
- "in the match. Use a comma as the delimiter like this, <code>.php, .flv, .do</"
106
- "code>, and always include <code>.php</code> (default)."
107
- msgstr ""
108
- "Isključuje nešto da ne bude presnimljeno, ako se jedan od gornjih stringova "
109
- "pronađe među rezultatima koji se podudaraju. Upotrebite zapetu kao "
110
- "razdvajač, ovako: <code>.php, .flv, .do</code>, i uvek uključite <code>.php</"
111
- "code> (podrazumevano)."
112
-
113
- #: ossdl-cdn.php:186
114
- msgid "Additional CNAMES"
115
- msgstr "Dodatni CNAME zapisi"
116
-
117
- #: ossdl-cdn.php:189
118
- msgid ""
119
- "These <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">CNAMES</a> will "
120
- "be used in place of %1$s for rewriting (in addition to the off-site URL "
121
- "above). Use a comma as the delimiter. For pages with a large number of "
122
- "static files, this can improve browser performance. CNAMEs may also need to "
123
- "be configured on your CDN.<br />Example: %2$s"
124
- msgstr ""
125
- "Ovi <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">CNAME zapisi</a> "
126
- "će se koristiti umesto %1$s, za ponovno upisivanje (uz gornji spoljašnji "
127
- "URL). Koristite zapetu kao razdvajač. Za strane sa velikim brojem statičkih "
128
- "fajlova, ovo može poboljšati performanse pregledača. Takođe, možda treba "
129
- "konfigurisati CNAME zapise na vašem CDN-u.<br/>Primer: %2$s"
130
-
131
- #: ossdl-cdn.php:193
132
- msgid "Skip https URLs to avoid \"mixed content\" errors"
133
- msgstr ""
134
- "Preskočiti https URL-ove, da se izbegnu \"pomešani sadržaj (mixed content)\" "
135
- "greške"
136
-
137
- #: ossdl-cdn.php:197
138
- msgid "Save Changes"
139
- msgstr "Snimiti izmene"
140
-
141
- #: ossdl-cdn.php:199
142
- msgid ""
143
- "CDN functionality provided by <a href=\"http://wordpress.org/extend/plugins/"
144
- "ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a> by <a href=\"http://mark."
145
- "ossdl.de/\">Mark Kubacki</a>"
146
- msgstr ""
147
- "CDN funkcionalnost koju daje <a href=\"http://wordpress.org/extend/plugins/"
148
- "ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a> od <a href=\"http://mark."
149
- "ossdl.de/\">Mark Kubacki</a>-a"
150
-
151
- #: plugins/awaitingmoderation.php:4
152
- msgid "Your comment is awaiting moderation."
153
- msgstr "Vaš komentar čeka moderaciju."
154
-
155
- #: plugins/awaitingmoderation.php:32
156
- msgid "Awaiting Moderation"
157
- msgstr "Čekanje na moderaciju"
158
-
159
- #: plugins/awaitingmoderation.php:34 plugins/badbehaviour.php:65
160
- #: plugins/domain-mapping.php:75 plugins/jetpack.php:27
161
- #: plugins/searchengine.php:69 plugins/wptouch.php:22 wp-cache.php:1405
162
- msgid "Enabled"
163
- msgstr "Uključeno"
164
-
165
- #: plugins/awaitingmoderation.php:35 plugins/badbehaviour.php:66
166
- #: plugins/domain-mapping.php:76 plugins/jetpack.php:28
167
- #: plugins/searchengine.php:70 plugins/wptouch.php:23 wp-cache.php:1405
168
- msgid "Disabled"
169
- msgstr "Isključeno"
170
-
171
- #: plugins/awaitingmoderation.php:36
172
- msgid ""
173
- "Enables or disables plugin to Remove the text \"Your comment is awaiting "
174
- "moderation.\" when someone leaves a moderated comment."
175
- msgstr ""
176
- "Uključuje ili isključuje dodatak za uklanjanje teksta \"Vaš komentar čeka "
177
- "moderaciju (Your comment is awaiting moderation).\", kada neko ostavi "
178
- "moderisani komentar."
179
-
180
- #: plugins/awaitingmoderation.php:40 plugins/badbehaviour.php:71
181
- #: plugins/domain-mapping.php:81 plugins/jetpack.php:33
182
- #: plugins/searchengine.php:75 plugins/wptouch.php:28 wp-cache.php:1866
183
- #: wp-cache.php:1868
184
- msgid "enabled"
185
- msgstr "uključeno"
186
-
187
- #: plugins/awaitingmoderation.php:42 plugins/badbehaviour.php:73
188
- #: plugins/domain-mapping.php:83 plugins/jetpack.php:35
189
- #: plugins/searchengine.php:77 plugins/wptouch.php:30
190
- msgid "disabled"
191
- msgstr "isključeno"
192
-
193
- #: plugins/awaitingmoderation.php:43
194
- msgid "Awaiting Moderation is now %s"
195
- msgstr "Čekanje na moderaciju je sada %s"
196
-
197
- #: plugins/awaitingmoderation.php:45 plugins/badbehaviour.php:76
198
- #: plugins/domain-mapping.php:86 plugins/jetpack.php:38
199
- #: plugins/searchengine.php:80 plugins/wptouch.php:33
200
- msgid "Update"
201
- msgstr "Ažurirati"
202
-
203
- #: plugins/badbehaviour.php:47
204
- msgid "Bad Behaviour not found. Please check your install."
205
- msgstr "Bad Behaviour nije pronađen. Molim vas, proverite vašu instalaciju."
206
-
207
- #: plugins/badbehaviour.php:63
208
- msgid "Bad Behavior"
209
- msgstr "Bad Behaviour (nepristojno ponašanje)"
210
-
211
- #: plugins/badbehaviour.php:68
212
- msgid ""
213
- "(Only legacy caching supported, disabled compression and requires <a href="
214
- "\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> in \"%s/plugins/bad-"
215
- "behavior/\") "
216
- msgstr ""
217
- "(Podržano je samo nasleđeno keširanje, kompresija je isključena, i traži se "
218
- "<a href=\"http://www.bad-behavior.ioerror.us/\">Bad Behaviour</a> u "
219
- "direktorijumu \"%s/plugins/bad-behavior/\") "
220
-
221
- #: plugins/badbehaviour.php:74
222
- msgid "Bad Behavior support is now %s"
223
- msgstr "Podrška za Bad Behaviour je sada %s"
224
-
225
- #: plugins/badbehaviour.php:83 wp-cache.php:1495 wp-cache.php:1500
226
- msgid "Warning!"
227
- msgstr "Upozorenje!"
228
-
229
- #: plugins/domain-mapping.php:73
230
- msgid "Domain Mapping"
231
- msgstr "Domain Mapping (mapiranje domena)"
232
-
233
- #: plugins/domain-mapping.php:78
234
- msgid ""
235
- "Provides support for <a href=\"http://wordpress.org/extend/plugins/wordpress-"
236
- "mu-domain-mapping/\">Domain Mapping</a> plugin to map multiple domains to a "
237
- "blog."
238
- msgstr ""
239
- "Obezbeđuje podršku za <a href=\"http://wordpress.org/extend/plugins/"
240
- "wordpress-mu-domain-mapping/\">Domain Mapping</a> dodatak, za uparivanje "
241
- "(mapiranje) više domena sa blogom."
242
-
243
- #: plugins/domain-mapping.php:84
244
- msgid "Domain Mapping support is now %s"
245
- msgstr "Podrška za Domain Mapping je sada %s"
246
-
247
- #: plugins/domain-mapping.php:98
248
- msgid ""
249
- "Domain Mapping plugin detected! Please go to the Supercache plugins page and "
250
- "enable the domain mapping helper plugin."
251
- msgstr ""
252
- "Pronađen je dodatak Domain Mapping! Molim vas, idite na stranu Supercache "
253
- "dodataka i uključite pomoćni dodatak za mapiranje domena."
254
-
255
- #: plugins/jetpack.php:25
256
- msgid "Jetpack Mobile Theme"
257
- msgstr "Jetpack tema za mobilne uređaje"
258
-
259
- #: plugins/jetpack.php:30
260
- msgid ""
261
- "Provides support for the <a href=\"http://wordpress.org/extend/plugins/"
262
- "jetpack/\">Jetpack</a> mobile theme and plugin. PHP caching mode and mobile "
263
- "support will be enabled too."
264
- msgstr ""
265
- "Obezbeđuje podršku za <a href=\"http://wordpress.org/extend/plugins/jetpack/"
266
- "\">Jetpack</a> temu, i dodatak, za mobilne uređaje."
267
-
268
- #: plugins/jetpack.php:36
269
- msgid "Jetpack Mobile Theme support is now %s"
270
- msgstr "Podrška za Jetpack temu za mobilne uređaje je sada %s"
271
-
272
- #: plugins/multisite.php:13
273
- msgid "Cached"
274
- msgstr "Keširano"
275
-
276
- #: plugins/multisite.php:31 wp-cache.php:1418
277
- msgid "Enable"
278
- msgstr "Uključiti"
279
-
280
- #: plugins/multisite.php:33 plugins/searchengine.php:61 wp-cache.php:1418
281
- msgid "Disable"
282
- msgstr "Isključiti"
283
-
284
- #: plugins/multisite.php:39
285
- msgid "Caching has been disabled on this blog on the Network Admin Sites page."
286
- msgstr ""
287
- "Keširanje na ovom blogu je isključeno na strani za mrežnu administraciju "
288
- "sajtova (Network Admin Sites)"
289
-
290
- #: plugins/searchengine.php:67
291
- msgid "No Adverts for Friends"
292
- msgstr "No Adverts for Friends (bez reklama za prijatelje)"
293
-
294
- #: plugins/searchengine.php:72
295
- msgid ""
296
- "Provides support for <a href=\"http://ocaoimh.ie/no-adverts-for-friends/"
297
- "\">No Adverts for Friends</a>."
298
- msgstr ""
299
- "Obezbeđuje podršku za <a href=\"http://ocaoimh.ie/no-adverts-for-friends/"
300
- "\">No Adverts for Friends</a>."
301
-
302
- #: plugins/searchengine.php:78
303
- msgid "No Adverts for Friends support is now %s"
304
- msgstr "Podrška za No Adverts for Friends je sada %s"
305
-
306
- #: plugins/wptouch.php:20
307
- msgid "WPTouch"
308
- msgstr "WPTouch"
309
-
310
- #: plugins/wptouch.php:25
311
- msgid ""
312
- "Provides support for <a href=\"http://wordpress.org/extend/plugins/wptouch/"
313
- "\">WPTouch</a> mobile theme and plugin."
314
- msgstr ""
315
- "Obezbeđuje podršku za <a href=\"http://wordpress.org/extend/plugins/wptouch/"
316
- "\">WPTouch</a> temu, i dodatak, za mobilne uređaje"
317
-
318
- #: plugins/wptouch.php:31
319
- msgid "WPTouch support is now %s"
320
- msgstr "Podrška za WPTouch je sada %s"
321
-
322
- #: plugins/wptouch.php:45
323
- msgid ""
324
- "WPTouch plugin detected! Please go to the Supercache plugins page and enable "
325
- "the WPTouch helper plugin."
326
- msgstr ""
327
- "Pronađen je dodatak WPTouch! Molim vas, idite na stranu Supercache dodataka "
328
- "i uključite pomoćni dodatak za WPTouch."
329
-
330
- #: wp-cache-phase2.php:1257
331
- msgid "Cache expiry cron job failed. Job will run again in 10 seconds."
332
- msgstr ""
333
- "Cron zadatak za istek keša nije uspeo. Zadatak će se ponovo pokrenuti za 10 "
334
- "sekundi."
335
-
336
- #: wp-cache-phase2.php:1261
337
- msgid ""
338
- "Cache expiry cron job took more than 30 seconds. You should probably run the "
339
- "garbage collector more often."
340
- msgstr ""
341
- "Cron zadatku za istek keša je trebalo više od 30 sekundi. Verovatno bi "
342
- "trebalo da češće pokrećete sakupljač smeća."
343
-
344
- #: wp-cache-phase2.php:1270
345
- msgid "[%1$s] WP Super Cache GC Report"
346
- msgstr "[%1$s] WP Super Cache izveštaj o sakupljanju smeća (GC Report)"
347
-
348
- #: wp-cache.php:99
349
- msgid ""
350
- "Please create %s /wp-cache-config.php from wp-super-cache/wp-cache-config-"
351
- "sample.php"
352
- msgstr ""
353
- "Molim vas, napravite fajl %s /wp-cache-config.php iz fajla wp-super-cache/wp-"
354
- "cache-config-sample.php"
355
-
356
- #: wp-cache.php:165
357
- msgid "Warning! PHP Safe Mode Enabled!"
358
- msgstr "Upozorenje! Uključen je PHP siguran način rada (safe mode)!"
359
-
360
- #: wp-cache.php:166
361
- msgid ""
362
- "You may experience problems running this plugin because SAFE MODE is enabled."
363
- msgstr ""
364
- "Možete imati problema pri radu sa ovim dodatkom, jer je uključen SIGURAN MOD "
365
- "(safe mode)."
366
-
367
- #: wp-cache.php:170
368
- msgid ""
369
- "Your server is set up to check the owner of PHP scripts before allowing them "
370
- "to read and write files."
371
- msgstr ""
372
- "Vaš server je podešen tako da proverava vlasnika PHP skripti, pre nego im "
373
- "dozvoli da čitaju i upisuju podatke u fajlove."
374
-
375
- #: wp-cache.php:171
376
- msgid ""
377
- "You or an administrator may be able to make it work by changing the group "
378
- "owner of the plugin scripts to match that of the web server user. The group "
379
- "owner of the %s/cache/ directory must also be changed. See the <a href="
380
- "\"http://php.net/features.safe-mode\">safe mode manual page</a> for further "
381
- "details."
382
- msgstr ""
383
- "Vi, ili administrator, možda možete učiniti da proradi, menjanjući grupnog "
384
- "vlasnika skripti tako da se poklopi sa korisnikom web servera. Grupni "
385
- "vlasnik direktorijuma %s/cache/ takođe mora da se promeni. Za još detalja "
386
- "pogledajte <a href=\"http://php.net/features.safe-mode\">stranu sa uputstvom "
387
- "za siguran mod</a>."
388
-
389
- #: wp-cache.php:173
390
- msgid ""
391
- "You or an administrator must disable this. See the <a href=\"http://php.net/"
392
- "features.safe-mode\">safe mode manual page</a> for further details. This "
393
- "cannot be disabled in a .htaccess file unfortunately. It must be done in the "
394
- "php.ini config file."
395
- msgstr ""
396
- "Vi, ili administrator, morate isključiti ovo. Za dalje informacije "
397
- "pogledajte <a href=\"http://php.net/features.safe-mode\">stranu sa uputstvom "
398
- "za siguran mod</a>. Na žalost, ovo se ne može isključiti u fajlu .htaccess. "
399
- "To se mora uraditi u konfiguracionom fajlu php.ini."
400
-
401
- #: wp-cache.php:179
402
- msgid "Permlink Structure Error"
403
- msgstr "Greška permalink strukture"
404
-
405
- #: wp-cache.php:180
406
- msgid ""
407
- "A custom url or permalink structure is required for this plugin to work "
408
- "correctly. Please go to the <a href=\"options-permalink.php\">Permalinks "
409
- "Options Page</a> to configure your permalinks."
410
- msgstr ""
411
- "Da bi ovaj dodatak pravilno radio, potreban je prilagođeni url, ili "
412
- "prilagođena permalink struktura. Molim vas, idite na <a href=\"options-"
413
- "permalink.php\">Stranu sa opcijama vezanim za permalinkove (Permalinks "
414
- "Options Page)</a>, da konfigurišete vaše permalinkove."
415
-
416
- #: wp-cache.php:192
417
- msgid "Warning! Your hostname \"%s\" resolves to %s"
418
- msgstr "Upozorenje! Vaše host ime \"%s\" ukazuje na %s"
419
-
420
- #: wp-cache.php:193
421
- msgid ""
422
- "Your server thinks your hostname resolves to %s. Some services such as "
423
- "garbage collection by this plugin, and WordPress scheduled posts may not "
424
- "operate correctly."
425
- msgstr ""
426
- "Vaš server \"misli\" da vaše host ime ukazuje na %s. Neki servisi, poput "
427
- "sakupljanja smeća od strane ovog dodatka, i WordPress zakazanih objava, "
428
- "možda ne funkcionišu ispravno."
429
-
430
- #: wp-cache.php:194 wp-cache.php:208
431
- msgid ""
432
- "Please see entry 16 in the <a href=\"%s\">Troubleshooting section</a> of the "
433
- "readme.txt"
434
- msgstr ""
435
- "Molim vas, pogledajte stavku 16 u <a href=\"%s\">Troubleshooting section "
436
- "(Sekciji o otklanjanju problema)</a> readme.txt fajla"
437
-
438
- #: wp-cache.php:207
439
- msgid ""
440
- "Unfortunately WordPress cannot find the file wp-cron.php. This script is "
441
- "required for the the correct operation of garbage collection by this plugin, "
442
- "WordPress scheduled posts as well as other critical activities."
443
- msgstr ""
444
- "Na žalost, WordPress ne može da pronađe fajl wp-cron.php. Ova skripta je "
445
- "potrebna za pravilno funkcionisanje sakupljanja smeća od strane ovog "
446
- "dodatka, WordPress zakazanih objava, i drugih kritičnih aktivnosti."
447
-
448
- #: wp-cache.php:221
449
- msgid "Cannot continue... fix previous problems and retry."
450
- msgstr ""
451
- "Nije moguće nastaviti... otklonite prethodne probleme i pokušajte ponovo."
452
-
453
- #: wp-cache.php:230
454
- msgid "Zlib Output Compression Enabled!"
455
- msgstr "Zlib izlazna kompresija je uključena!"
456
-
457
- #: wp-cache.php:231
458
- msgid ""
459
- "PHP is compressing the data sent to the visitors of your site. Disabling "
460
- "this is recommended as the plugin caches the compressed output once instead "
461
- "of compressing the same page over and over again. Also see #21 in the "
462
- "Troubleshooting section. See <a href=\"http://php.net/manual/en/zlib."
463
- "configuration.php\">this page</a> for instructions on modifying your php.ini."
464
- msgstr ""
465
- "PHP komprimuje podatke koji se šalju posetiocima vašeg sajta. Isključivanje "
466
- "ovoga se preporučuje, jer dodatak kešira komprimovani izlaz jednom, umesto "
467
- "komprimovanja iste strane iznova i iznova. Takođe pogledajte #21 u sekciji o "
468
- "otklanjanju problema (Troubleshooting section). Pogledajte <a href=\"http://"
469
- "php.net/manual/en/zlib.configuration.php\">ovu stranu</a> za instrukcije o "
470
- "modifikovanju vašeg php.ini fajla."
471
-
472
- #: wp-cache.php:235
473
- msgid "Mod rewrite may not be installed!"
474
- msgstr "Mod rewrite možda nije instaliran!"
475
-
476
- #: wp-cache.php:236
477
- msgid ""
478
- "It appears that mod_rewrite is not installed. Sometimes this check isn&#8217;"
479
- "t 100% reliable, especially if you are not using Apache. Please verify that "
480
- "the mod_rewrite module is loaded. It is required for serving Super Cache "
481
- "static files. You will still be able to use legacy or PHP modes."
482
- msgstr ""
483
- "Izgleda da mod_rewrite nije instaliran. Ponekad ova provera nije 100% "
484
- "pouzdana, posebno ako ne koristite Apache. Molim vas, potvrdite da je učitan "
485
- "modul mod_rewrite. On je potreban za serviranje Super Cache statičnih "
486
- "fajlova. I dalje ćete moći da koristite zastarele ili PHP modove."
487
-
488
- #: wp-cache.php:242
489
- msgid "Read Only Mode. Configuration cannot be changed."
490
- msgstr "Mod u kome je moguć samo pregled. Konfiguracija ne može da se menja."
491
-
492
- #: wp-cache.php:243
493
- msgid ""
494
- "The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> "
495
- "and cannot be modified. That file must be writeable by the webserver to make "
496
- "any changes."
497
- msgstr ""
498
- "WP Super Cache konfiguracioni fajl je <code>%s/wp-cache-config.php</code>, i "
499
- "ne može se menjati. U taj fajl mora da bude omogućen upis podataka od strane "
500
- "web servera, da bi se pravile bilo kakve izmene."
501
-
502
- #: wp-cache.php:244
503
- msgid ""
504
- "A simple way of doing that is by changing the permissions temporarily using "
505
- "the CHMOD command or through your ftp client. Make sure it&#8217;s globally "
506
- "writeable and it should be fine."
507
- msgstr ""
508
- "Jednostavan način da se to uradi je privremeno menjanje dozvola, koristeći "
509
- "naredbu CHMOD, ili preko vašeg ftp klijenta. Postarajte se da u njega "
510
- "globalno bude omogućen upis podataka, i trebalo bi sve da bude u redu."
511
-
512
- #: wp-cache.php:245 wp-cache.php:294
513
- msgid ""
514
- "<a href=\"http://codex.wordpress.org/Changing_File_Permissions\">This page</"
515
- "a> explains how to change file permissions."
516
- msgstr ""
517
- "<a href=\"http://codex.wordpress.org/Changing_File_Permissions\">Ova strana</"
518
- "a> objašnjava kako promeniti dozvole za fajlove."
519
-
520
- #: wp-cache.php:246
521
- msgid "Writeable:"
522
- msgstr "Moguć upis podataka:"
523
-
524
- #: wp-cache.php:247
525
- msgid "Readonly:"
526
- msgstr "Moguć samo pregled:"
527
-
528
- #: wp-cache.php:265
529
- msgid "Warning! Garbage collection is not scheduled!"
530
- msgstr "Upozorenje! Sakupljanje smeća nije zakazano!"
531
-
532
- #: wp-cache.php:266
533
- msgid ""
534
- "Garbage collection by this plugin clears out expired and old cached pages on "
535
- "a regular basis. Use <a href=\"#expirytime\">this form</a> to enable it."
536
- msgstr ""
537
- "Sakupljanje smeća od strane ovog dodatka redovno briše istekle i stare "
538
- "keširane strane. Upotrebite <a href=\"#expirytime\">ovaj obrazac</a> da ga "
539
- "uključite."
540
-
541
- #: wp-cache.php:271 wp-cache.php:299 wp-cache.php:369
542
- msgid "Dismiss"
543
- msgstr "Odbaciti"
544
-
545
- #: wp-cache.php:292
546
- msgid "Warning! %s is writeable!"
547
- msgstr "Pažnja! u %s je moguć upis podataka!"
548
-
549
- #: wp-cache.php:293
550
- msgid ""
551
- "You should change the permissions on %s and make it more restrictive. Use "
552
- "your ftp client, or the following command to fix things:"
553
- msgstr ""
554
- "Trebalo bi da na %s promenite dozvole, i učinite ih restriktivnijim. Da "
555
- "popravite stvari, upotrebite vaš ftp klijent, ili sledeću naredbu:"
556
-
557
- #: wp-cache.php:311
558
- msgid "Mobile rewrite rules detected"
559
- msgstr "Otkrivena su mobilna pravila za ponovni upis"
560
-
561
- #: wp-cache.php:312
562
- msgid ""
563
- "For best performance you should enable \"Mobile device support\" or delete "
564
- "the mobile rewrite rules in your .htaccess. Look for the 2 lines with the "
565
- "text \"2.0\\ MMP|240x320\" and delete those."
566
- msgstr ""
567
- "Za najbolje performanse treba da uključite \"Podršku za mobilne uređaje "
568
- "(Mobile device support)\", ili da obrišete mobilna pravila za ponovni upis u "
569
- "vašem fajlu .htaccess. Potražite 2 linije sa tekstom \"2.0\\ MMP|240x320\", "
570
- "i obrišite ih."
571
-
572
- #: wp-cache.php:312
573
- msgid ""
574
- "This will have no affect on ordinary users but mobile users will see "
575
- "uncached pages."
576
- msgstr ""
577
- "Ovo se neće odraziti na obične korisnike, ali mobilni korisnici će videti "
578
- "nekeširane strane."
579
-
580
- #: wp-cache.php:318 wp-cache.php:329
581
- msgid "Rewrite rules must be updated"
582
- msgstr "Pravila za ponovni upis moraju da se ažuriraju"
583
-
584
- #: wp-cache.php:319 wp-cache.php:330
585
- msgid "The rewrite rules required by this plugin have changed or are missing. "
586
- msgstr ""
587
- "Pravila za ponovni upis, koja zahteva ovaj dodatak, su izmenjena, ili "
588
- "nedostaju."
589
-
590
- #: wp-cache.php:320
591
- msgid ""
592
- "Mobile support requires extra rules in your .htaccess file, or you can set "
593
- "the plugin to legacy mode. Here are your options (in order of difficulty):"
594
- msgstr ""
595
- "Podrška za mobilne uređaje zahteva dodatna pravila u vašem fajlu .htaccess, "
596
- "ili možete podesiti dodatak na zastareli mod (legacy mode). Evo vaših opcija "
597
- "(poređanih po težini):"
598
-
599
- #: wp-cache.php:321
600
- msgid "Set the plugin to legacy mode and enable mobile support."
601
- msgstr ""
602
- "Podesite dodatak na zastareli mod i uključite podršku za mobilne uređaje."
603
-
604
- #: wp-cache.php:322 wp-cache.php:331
605
- msgid ""
606
- "Scroll down the Advanced Settings page and click the <strong>Update "
607
- "Mod_Rewrite Rules</strong> button."
608
- msgstr ""
609
- "Skrolujte na dole, na strani sa naprednim podešenjima (Advanced Settings), i "
610
- "kliknite na dugme <strong>Ažurirati mod_rewrite pravila (Update Mod_Rewrite "
611
- "Rules)</strong>."
612
-
613
- #: wp-cache.php:323
614
- msgid ""
615
- "Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN "
616
- "WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin "
617
- "regenerate them by reloading this page."
618
- msgstr ""
619
- "U %s.htaccess fajlu obrišite mod_rewrite pravila dodatka, smeštena između "
620
- "<code># BEGIN WPSuperCache</code> i <code># END WPSuperCache</code>, i "
621
- "pustite da ih dodatak opet generiše, učitavajući ponovo ovu stranu."
622
-
623
- #: wp-cache.php:324
624
- msgid ""
625
- "Add the rules yourself. Edit %s.htaccess and find the block of code enclosed "
626
- "by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</"
627
- "code>. There are two sections that look very similar. Just below the line "
628
- "<code>%%{HTTP:Cookie} !^.*(comment_author_|%s|wp-postpass_).*$</code> add "
629
- "these lines: (do it twice, once for each section)"
630
- msgstr ""
631
- "Sami dodajte pravila. Otvorite fajl %s.htaccess u uređivaču, i pronađite "
632
- "blok koda koji se nalazi između linija <code># BEGIN WPSuperCache</code> i "
633
- "<code># END WPSuperCache</code>. Tu se nalaze dve sekcije koje izgledaju "
634
- "vrlo slično. Odmah ispod linije <code>%%{HTTP:Cookie} !^.*(comment_author_|"
635
- "%s|wp-postpass_).*$</code> dodajte ove linije: (uradite to dva puta - za "
636
- "svaku sekciju)"
637
-
638
- #: wp-cache.php:337
639
- msgid "Required to serve compressed supercache files properly."
640
- msgstr "Potrebno da se pravilno serviraju komprimovani supercache fajlovi."
641
-
642
- #: wp-cache.php:337
643
- msgid ""
644
- "Required to set caching information on supercache pages. IE7 users will see "
645
- "old pages without this module."
646
- msgstr ""
647
- "Potrebno da bi se na supercache stranama postavile informacije o keširanju. "
648
- "Korisnici IE7 će videti stare strane, bez ovog modula."
649
-
650
- #: wp-cache.php:337
651
- msgid ""
652
- "Set the expiry date on supercached pages. Visitors may not see new pages "
653
- "when they refresh or leave comments without this module."
654
- msgstr ""
655
- "odešavanje datuma isteka na superkeširanim stranama. Posetioci mogu da ne "
656
- "vide nove strane kada osvežavaju sadržaj u pregledaču ili ostavljaju "
657
- "komentare, bez ovog modula."
658
-
659
- #: wp-cache.php:344
660
- msgid "Missing Apache Modules"
661
- msgstr "Nedostaju Apache moduli "
662
-
663
- #: wp-cache.php:345
664
- msgid ""
665
- "The following Apache modules are missing. The plugin will work in legacy "
666
- "mode without them. In full Supercache mode, your visitors may see corrupted "
667
- "pages or out of date content however."
668
- msgstr ""
669
- "Nedostaju sledeći Apache moduli. Bez njih će ovaj dodatak raditi u "
670
- "zastarelom modu. Međutim, u punom Supercache modu, vaši posetioci mogu da "
671
- "vide nepotpune strane, ili sadržaj koji više nije važeći."
672
-
673
- #: wp-cache.php:363
674
- msgid ".htaccess file may need to be moved"
675
- msgstr ".htaccess fajl možda treba da se premesti"
676
-
677
- #: wp-cache.php:364
678
- msgid ""
679
- "It appears you have WordPress installed in a sub directory as described <a "
680
- "href=\"http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory\">here</"
681
- "a>. Unfortunately WordPress writes to the .htaccess in the install "
682
- "directory, not where your site is served from.<br />When you update the "
683
- "rewrite rules in this plugin you will have to copy the file to where your "
684
- "site is hosted. This will be fixed in the future."
685
- msgstr ""
686
- "Izgleda da vam je WordPress instaliran u pod-folderu, kao što je opisano <a "
687
- "href=\"http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory\">ovde</"
688
- "a>. Na žalost, WordPress upisuje podatke u .htaccess fajl u instalacionom "
689
- "direktorijumu, a ne tamo odakle se vaš sajt servira.<br />Kada ažurirate "
690
- "pravila za ponovni upis u ovom dodatku, moraćete da kopirate ovaj fajl na "
691
- "lokaciju na kojoj se hostuje vaš sajt. Ovo će u budućnosti biti rešeno."
692
-
693
- #: wp-cache.php:597
694
- msgid ""
695
- "<strong>Warning!</strong> You attempted to enable compression but <code>zlib."
696
- "output_compression</code> is enabled. See #21 in the Troubleshooting section "
697
- "of the readme file."
698
- msgstr ""
699
- "<strong>Upozorenje!</strong> Pokušali ste da uključite kompresiju, ali je "
700
- "<code>zlib.output_compression</code> uključeno. Pogledajte #21 u sekciji o "
701
- "otklanjanju problema (Troubleshooting section), readme fajla."
702
-
703
- #: wp-cache.php:693
704
- msgid "WP Super Cache Settings"
705
- msgstr "WP Super Cache podešenja"
706
-
707
- #: wp-cache.php:707
708
- msgid ""
709
- "Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced "
710
- "Settings Page by default."
711
- msgstr ""
712
- "Obratite pažnju: <em>Uključeni su Mod_rewrite, ili zastarelo keširanje "
713
- "(Legacy caching)</em>. Podrazumevano je prikazivanje strane sa naprednim "
714
- "podešenjima (Advanced Settings)."
715
-
716
- #: wp-cache.php:718
717
- msgid ""
718
- "Configuration file changed, some values might be wrong. Load the page again "
719
- "from the \"Settings\" menu to reset them."
720
- msgstr ""
721
- "Konfiguracioni fajl je izmenjen, neke vrednosti bi mogle biti pogrešne. "
722
- "Učitajte stranu ponovo, iz menija \"Podešenja (Settings\", da ih resetujete."
723
-
724
- #: wp-cache.php:750
725
- msgid "Caching must be enabled to use this feature"
726
- msgstr "Da bi se koristilo ovo svojstvo, keširanje mora da bude uključeno"
727
-
728
- #: wp-cache.php:768 wp-cache.php:908
729
- msgid "Cancel Cache Preload"
730
- msgstr "Otkazati učitavanje keša unapred"
731
-
732
- #: wp-cache.php:776
733
- msgid ""
734
- "Scheduled preloading of cache almost cancelled. It may take up to a minute "
735
- "for it to cancel completely."
736
- msgstr ""
737
- "Zakazano učitavanje keša unapred je skoro otkazano. Može potrajati još "
738
- "najviše minut dok se ono potpuno otkaže."
739
-
740
- #: wp-cache.php:787
741
- msgid "Scheduled preloading of cache cancelled."
742
- msgstr "Zakazano učitavanje keša unapred je otkazano."
743
-
744
- #: wp-cache.php:819 wp-cache.php:906
745
- msgid "Preload Cache Now"
746
- msgstr "Učitati keš unapred sada"
747
-
748
- #: wp-cache.php:823
749
- msgid "Scheduled preloading of cache in 10 seconds."
750
- msgstr "Zakazano učitavanje keša unapred za 10 sekundi."
751
-
752
- #: wp-cache.php:828
753
- msgid "Scheduled preloading of cache in %d minutes"
754
- msgstr "Zakazano učitavanje keša unapred za %d minuta"
755
-
756
- #: wp-cache.php:832
757
- msgid ""
758
- "This will cache every published post and page on your site. It will create "
759
- "supercache static files so unknown visitors (including bots) will hit a "
760
- "cached page. This will probably help your Google ranking as they are using "
761
- "speed as a metric when judging websites now."
762
- msgstr ""
763
- "Ovo će keširati svaku objavljenu objavu, ili stranu, na vašem sajtu. "
764
- "Napraviće superkeš statične fajlove, tako da će nepoznati posetioci "
765
- "(uključujući i botove) pogoditi keširanu stranu. Ovo će vam verovatno pomoći "
766
- "kod Google rangiranja, pošto oni sada koriste brzinu kao meru, kada sude o "
767
- "web sajtovima."
768
-
769
- #: wp-cache.php:833
770
- msgid ""
771
- "Preloading creates lots of files however. Caching is done from the newest "
772
- "post to the oldest so please consider only caching the newest if you have "
773
- "lots (10,000+) of posts. This is especially important on shared hosting."
774
- msgstr ""
775
- "Međutim, učitavanje unapred kreira dosta fajlova. Keširanje se radi od "
776
- "najnovije do najstarije objave, tako da, molim vas, ako imate mnogo "
777
- "(10,000+) objava, razmislite o tome da keširate samo one najnovije. Ovo je "
778
- "naročito važno kod deljenog hostinga."
779
-
780
- #: wp-cache.php:834
781
- msgid ""
782
- "In &#8217;Preload Mode&#8217; regular garbage collection will only clean out "
783
- "old legacy files for known users, not the preloaded supercache files. This "
784
- "is a recommended setting when the cache is preloaded."
785
- msgstr ""
786
- "U &#8217;Modu za učitavanje unapred (Preload Mode&)#8217; redovno "
787
- "sakupljanje smeća će očistiti samo stare zaostale (legacy) fajlove, za "
788
- "poznate korisnike., a ne unapred učitane superkeš fajlove. Ovo je "
789
- "podrazumevano podešenje, onda kada se keš učitava unapred."
790
-
791
- #: wp-cache.php:838
792
- msgid ""
793
- "Refresh preloaded cache files every %s minutes. (0 to disable, minimum %d "
794
- "minutes.)"
795
- msgstr ""
796
- "Osvežavati unapred učitane keš fajlove svakih %s minuta. (0 za "
797
- "isključivanje, najmanje %d minuta.)"
798
-
799
- #: wp-cache.php:851
800
- msgid "all"
801
- msgstr "sve"
802
-
803
- #: wp-cache.php:864
804
- msgid "Preload %s posts."
805
- msgstr "Unapred učitati %s objava."
806
-
807
- #: wp-cache.php:871
808
- msgid ""
809
- "Preload mode (garbage collection only on legacy cache files. Recommended.)"
810
- msgstr ""
811
- "Mod za učitavanje unapred (Preload mode) (sakupljanje smeća samo nad "
812
- "zastarelim keš fajlovima. Preporučeno.)"
813
-
814
- #: wp-cache.php:874
815
- msgid "Preload tags, categories and other taxonomies."
816
- msgstr "Unapred učitati oznake (tags), kategorije i druge taksonomije."
817
-
818
- #: wp-cache.php:877
819
- msgid "Send me status emails when files are refreshed."
820
- msgstr "Slati mi e-mailove kada se fajlovi osvežavaju."
821
-
822
- #: wp-cache.php:882
823
- msgid "Many emails, 2 emails per 100 posts."
824
- msgstr "Mnogo e-mailova, 2 e-maila na 100 objava."
825
-
826
- #: wp-cache.php:885
827
- msgid "Medium, 1 email per 100 posts."
828
- msgstr "Srednje, 1 e-mail na 100 objava."
829
-
830
- #: wp-cache.php:888
831
- msgid "Less emails, 1 at the start and 1 at the end of preloading all posts."
832
- msgstr ""
833
- "Manje e-mailova, 1 na početku i 1 na kraju prethodnog učitavanja svih objava."
834
-
835
- #: wp-cache.php:892
836
- msgid "Refresh of cache in %d hours %d minutes and %d seconds."
837
- msgstr "Osvežavanje keša za %d časova, %d minuta i %d sekundi."
838
-
839
- #: wp-cache.php:893
840
- msgid "Full refresh of cache in %d hours %d minutes and %d seconds."
841
- msgstr "Potpuno osvežavanje keša za %d časova, %d minuta i %d sekundi."
842
-
843
- #: wp-cache.php:899
844
- msgid "Currently caching from post %d to %d."
845
- msgstr "Trenutno se keširaju objave od %d do %d."
846
-
847
- #: wp-cache.php:903
848
- msgid "<strong>Page last cached:</strong> %s"
849
- msgstr "<strong>Poslednja keširana strana:</strong> %s"
850
-
851
- #: wp-cache.php:906
852
- msgid "Update Settings"
853
- msgstr "Ažurirati podešenja"
854
-
855
- #: wp-cache.php:914
856
- msgid ""
857
- "Preloading of cache disabled. Please disable legacy page caching or talk to "
858
- "your host administrator."
859
- msgstr ""
860
- "Isključeno je učitavanje keša unapred. Molim vas, isključite keširanje "
861
- "zastarelih strana, ili razgovarajte sa vašim hosting administratorom."
862
-
863
- #: wp-cache.php:931 wp-cache.php:1043
864
- msgid "Caching"
865
- msgstr "Keširanje"
866
-
867
- #: wp-cache.php:935
868
- msgid "Cache hits to this website for quick access."
869
- msgstr "Keš pogoci na ovom web sajtu, za brzi pristup."
870
-
871
- #: wp-cache.php:935 wp-cache.php:936 wp-cache.php:953 wp-cache.php:962
872
- #: wp-cache.php:969 wp-cache.php:972 wp-cache.php:990 wp-cache.php:1046
873
- msgid "Recommended"
874
- msgstr "Preporučeno"
875
-
876
- #: wp-cache.php:936
877
- msgid "Use mod_rewrite to serve cache files."
878
- msgstr "Koristiti mod_rewrite za serviranje keš fajlova."
879
-
880
- #: wp-cache.php:937
881
- msgid "Use PHP to serve cache files."
882
- msgstr "Koristiti PHP za serviranje keš fajlova."
883
-
884
- #: wp-cache.php:938
885
- msgid "Legacy page caching."
886
- msgstr "Staro keširanje strana (legacy page caching)."
887
-
888
- #: wp-cache.php:939
889
- msgid ""
890
- "Mod_rewrite is fastest, PHP is almost as fast and easier to get working, "
891
- "while legacy caching is slower again, but more flexible and also easy to get "
892
- "working. New users should use PHP caching."
893
- msgstr ""
894
- "Mod_rewrite je najbrži, PHP je skoro isto tako brz, a jednostavniji za "
895
- "stavljanje u rad, dok je, opet, staro keširanje (legacy caching) sporije, "
896
- "ali je fleksibilnije i, takođe, jednostavnije za stavljanje u rad. Novi "
897
- "korisnici bi trebalo da koriste PHP keširanje."
898
-
899
- #: wp-cache.php:945
900
- msgid "Miscellaneous"
901
- msgstr "Razno"
902
-
903
- #: wp-cache.php:951
904
- msgid "Warning! Compression is disabled as gzencode() function not found."
905
- msgstr ""
906
- "Upozorenje! Kompresija je isključena, jer nije pronađena funkcija gzencode()."
907
-
908
- #: wp-cache.php:953
909
- msgid "Compress pages so they&#8217;re served more quickly to visitors."
910
- msgstr "Komprimovati strane, tako da se brže serviraju posetiocima."
911
-
912
- #: wp-cache.php:954
913
- msgid ""
914
- "Compression is disabled by default because some hosts have problems with "
915
- "compressed files. Switching it on and off clears the cache."
916
- msgstr ""
917
- "Kompresija je u startu isključena, jer neki hostinzi imaju problema sa "
918
- "komprimovanim fajlovima. Njeno uključivanje i isključivanje brišu keš."
919
-
920
- #: wp-cache.php:962
921
- msgid ""
922
- "304 Not Modified browser caching. Indicate when a page has not been modified "
923
- "since last requested."
924
- msgstr ""
925
- "304 Ne modifikovano (Not Modified) keširanje od strane pregledača. Ukazuje "
926
- "kada strana nije izmenjena od poslednjeg zahteva."
927
-
928
- #: wp-cache.php:965
929
- msgid ""
930
- "Warning! 304 browser caching is only supported when not using mod_rewrite "
931
- "caching."
932
- msgstr ""
933
- "Upozorenje! 304 keširanje od strane pregledača je podržano samo kada se ne "
934
- "koristi mod_rewrite keširanje."
935
-
936
- #: wp-cache.php:967
937
- msgid ""
938
- "304 support is disabled by default because some hosts have had problems with "
939
- "the headers used in the past."
940
- msgstr ""
941
- "Podrška za 304 je u startu isključena, jer neki hostinzi imaju problema sa "
942
- "zaglavljima korišćenim u prošlosti."
943
-
944
- #: wp-cache.php:969
945
- msgid ""
946
- "Don&#8217;t cache pages for <acronym title=\"Logged in users and those that "
947
- "comment\">known users</acronym>."
948
- msgstr ""
949
- "Ne keširati strane za <acronym title=\"Logged in users and those that comment"
950
- "\">poznate korisnike</acronym>."
951
-
952
- #: wp-cache.php:970
953
- msgid "Don&#8217;t cache pages with GET parameters. (?x=y at the end of a url)"
954
- msgstr "Ne keširati strane sa GETparametrima. (?x=y, na kraju url-a)"
955
-
956
- #: wp-cache.php:971
957
- msgid ""
958
- "Make known users anonymous so they&#8217;re served supercached static files."
959
- msgstr ""
960
- "Učiniti poznate korisnike anonimnim, tako da im se serviraju superkeširani "
961
- "statički fajlovi."
962
-
963
- #: wp-cache.php:972
964
- msgid ""
965
- "Cache rebuild. Serve a supercache file to anonymous users while a new file "
966
- "is being generated."
967
- msgstr ""
968
- "Ponovna izgradnja keša. Servirati anonimnim korisnicima superkeširani fajl, "
969
- "dok se generiše novi fajl."
970
-
971
- #: wp-cache.php:973
972
- msgid ""
973
- "Proudly tell the world your server is <a href=\"%s\">Stephen Fry proof</a>! "
974
- "(places a message in your blog&#8217;s footer)"
975
- msgstr ""
976
- "Ponosno recite svetu da je vaš server <a href=\"%s\">Stephen Fry proof</a>! "
977
- "(postavlja poruku u podnožju vašeg bloga)"
978
-
979
- #: wp-cache.php:979 wp-cache.php:1256 wp-cache.php:1875
980
- msgid "Advanced"
981
- msgstr "Napredno"
982
-
983
- #: wp-cache.php:983
984
- msgid ""
985
- "Enable dynamic caching (mfunc, mclude, dynamic-cached-content). See the <a "
986
- "href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for "
987
- "further details.)"
988
- msgstr ""
989
- "Uključiti dinamičko keširanje (mfunc, mclude, dynamic-cached-content). "
990
- "Pogledajte <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/"
991
- "\">često postavljana pitanja (FAQ)</a> za više detalja.)"
992
-
993
- #: wp-cache.php:984
994
- msgid ""
995
- "Mobile device support. (External plugin or theme required. See the <a href="
996
- "\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for "
997
- "further details.)"
998
- msgstr ""
999
- "Podrška za mobilne uređaje. (Potreban je spoljni dodatak, ili tema. "
1000
- "Pogledajte <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/"
1001
- "\">često postavljana pitanja (FAQ)</a> za više detalja.)"
1002
-
1003
- #: wp-cache.php:986
1004
- msgid "Mobile Browsers"
1005
- msgstr "Mobilni pregledači"
1006
-
1007
- #: wp-cache.php:986
1008
- msgid "Mobile Prefixes"
1009
- msgstr "Mobilni prefiksi"
1010
-
1011
- #: wp-cache.php:988
1012
- msgid ""
1013
- "Remove UTF8/blog charset support from .htaccess file. Only necessary if you "
1014
- "see odd characters or punctuation looks incorrect. Requires rewrite rules "
1015
- "update."
1016
- msgstr ""
1017
- "Ukloniti UTF8/blog karakter-set podršku iz .htaccess fajla. Potrebno je samo "
1018
- "ako vidite neobične karaktere, ili interpunkcija izgleda nepravilno. Zahteva "
1019
- "ažuriranje pravila ponovnog upisa (rewrite rules)."
1020
-
1021
- #: wp-cache.php:989
1022
- msgid "Clear all cache files when a post or page is published or updated."
1023
- msgstr ""
1024
- "Obrisati sve keš fajlove, onda kada se objava ili strana objavi ili ažurira."
1025
-
1026
- #: wp-cache.php:990
1027
- msgid "Extra homepage checks. (Very occasionally stops homepage caching)"
1028
- msgstr ""
1029
- "Dodatne provere početne strane. (Veoma retko zaustavlja keširanje početne "
1030
- "strane)"
1031
-
1032
- #: wp-cache.php:991
1033
- msgid "Only refresh current page when comments made."
1034
- msgstr "Osvežiti aktuelnu stranu samo kada se ostave komentari."
1035
-
1036
- #: wp-cache.php:992
1037
- msgid "List the newest cached pages on this page."
1038
- msgstr "Prikazati listu poslednjih keširanih strana na ovoj strani."
1039
-
1040
- #: wp-cache.php:994
1041
- msgid ""
1042
- "Coarse file locking. You probably don&#8217;t need this but it may help if "
1043
- "your server is underpowered. Warning! <em>May cause your server to lock up "
1044
- "in very rare cases!</em>"
1045
- msgstr ""
1046
- "Grubo zaključavanje fajlova. Ovo vam verovatno ne treba, ali može pomoći ako "
1047
- "je vaš server slabijih mogućnosti. Upozorenje! <em>U vrlo retkim slučajevima "
1048
- "može izazvati zaključavanje servera!</em>"
1049
-
1050
- #: wp-cache.php:996
1051
- msgid ""
1052
- "Late init. Display cached files after WordPress has loaded. Most useful in "
1053
- "legacy mode."
1054
- msgstr ""
1055
- "Kasna inicijalizacija. Prikazuje keširane fajlove nakon što se učita "
1056
- "WordPress. Najkorisnije u starom modu (legacy mode)."
1057
-
1058
- #: wp-cache.php:998
1059
- msgid "Use object cache to store cached files."
1060
- msgstr "Koristiti objektni keš (object cache) za čuvaje keširanih fajlova."
1061
-
1062
- #: wp-cache.php:998
1063
- msgid "(Experimental)"
1064
- msgstr "(Eksperimentalno)"
1065
-
1066
- #: wp-cache.php:1000
1067
- msgid "<strong>DO NOT CACHE PAGE</strong> secret key: <a href=\"%s\">%s</a>"
1068
- msgstr "<strong>NE KEŠIRATI STRANU</strong> tajni ključ: <a href=\"%s\">%s</a>"
1069
-
1070
- #: wp-cache.php:1006
1071
- msgid "Note:"
1072
- msgstr "Napomena:"
1073
-
1074
- #: wp-cache.php:1008
1075
- msgid ""
1076
- "Uninstall this plugin on the plugins page. It will automatically clean up "
1077
- "after itself. If manual intervention is required then simple instructions "
1078
- "are provided."
1079
- msgstr ""
1080
- "De-instalirati ovaj dodatak na strani sa dodacima (plugins). On će "
1081
- "automatski počistiti za sobom. Ako je potrebna manuelna intervencija, "
1082
- "obezbedeđene su jednostavne instrukcije."
1083
-
1084
- #: wp-cache.php:1009
1085
- msgid ""
1086
- "If uninstalling this plugin, make sure the directory <em>%s</em> is "
1087
- "writeable by the webserver so the files <em>advanced-cache.php</em> and "
1088
- "<em>cache-config.php</em> can be deleted automatically. (Making sure those "
1089
- "files are writeable too is probably a good idea!)"
1090
- msgstr ""
1091
- "Ako de-instalirate ovaj dodatak, postarajte se da u direktorijum <em>%s</em> "
1092
- "bude omogućen upis od strane web servera, tako da fajlovi <em>advanced-cache."
1093
- "php</em> i <em>cache-config.php</em> mogu automatski da budu obrisani. "
1094
- "(Osiguravanje da i u ove fajlove bude moguć upis je verovatno dobra ideja!)"
1095
-
1096
- #: wp-cache.php:1010
1097
- msgid ""
1098
- "Please see the <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> for "
1099
- "instructions on uninstalling this script. Look for the heading, \"How to "
1100
- "uninstall WP Super Cache\"."
1101
- msgstr ""
1102
- "Molim vas, pogledajte <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</"
1103
- "a> fajl, za instrukcije o de-instaliranju ove skripte. otražite naslov \"How "
1104
- "to uninstall WP Super Cache (Kako de-instalirati WP Super Cache)\"."
1105
-
1106
- #: wp-cache.php:1011
1107
- msgid ""
1108
- "Need help? Check the <a href=\"%1$s\">Super Cache readme file</a>. It "
1109
- "includes installation documentation, a FAQ and Troubleshooting tips. The <a "
1110
- "href=\"%2$s\">support forum</a> is also available. Your question may already "
1111
- "have been answered."
1112
- msgstr ""
1113
- "Treba vam pomoć? Pogledajte <a href=\"%1$s\">Super Cache readme fajl</a>. On "
1114
- "uključuje instalacionu dokumentaciju, često postavljana pitanja (FAQ) i "
1115
- "savete za otklanjanje problema. Takođe je dostupan i <a href=\"%2$s\">forum "
1116
- "za podršku</a>. Na vaše pitanje je možda već odgovoreno."
1117
-
1118
- #: wp-cache.php:1014 wp-cache.php:1061
1119
- msgid "Update Status"
1120
- msgstr "Ažurirati status"
1121
-
1122
- #: wp-cache.php:1021
1123
- msgid "Accepted Filenames &amp; Rejected URIs"
1124
- msgstr "Prihvaćena imena fajlova i odbačeni URI-ji"
1125
-
1126
- #: wp-cache.php:1046
1127
- msgid "Caching On"
1128
- msgstr "Keširanje uključeno"
1129
-
1130
- #: wp-cache.php:1047
1131
- msgid "Caching Off"
1132
- msgstr "Keširanje isključeno"
1133
-
1134
- #: wp-cache.php:1048
1135
- msgid "Note: enables PHP caching, cache rebuild, and mobile support"
1136
- msgstr ""
1137
- "Napomena: uključuje PHP keširanje, ponovnu izgradnju keša i podršku za "
1138
- "mobilne uređaje"
1139
-
1140
- #: wp-cache.php:1058
1141
- msgid ""
1142
- "Notice: PHP caching enabled but Supercache mod_rewrite rules detected. "
1143
- "Cached files will be served using those rules. If your site is working ok "
1144
- "please ignore this message or you can edit the .htaccess file in the root of "
1145
- "your install and remove the SuperCache rules."
1146
- msgstr ""
1147
- "Obratite pažnju: Uključeno je PHP keširanje, ali su pronađena Supercache "
1148
- "mod_rewrite pravila za ponovni upis. Keširani fajlovi će biti servirani "
1149
- "koristeći ta pravila. Ako vaš sajt dobro funkcioniše, molim vas, ignorišite "
1150
- "ovu poruku, ili možete urediti .htaccess fajl u osnovnom direktorijumu vaše "
1151
- "instalacije i ukloniti SuperCache pravila."
1152
-
1153
- #: wp-cache.php:1063
1154
- msgid "Cache Tester"
1155
- msgstr "Proverivač keša"
1156
-
1157
- #: wp-cache.php:1064
1158
- msgid "Test your cached website by clicking the test button below."
1159
- msgstr "Proverite svoj keširani web sajt, klikom na donje dugme za proveru."
1160
-
1161
- #: wp-cache.php:1070
1162
- msgid "Fetching %s to prime cache: "
1163
- msgstr "Preuzimanje %s u primarni keš:"
1164
-
1165
- #: wp-cache.php:1072 wp-cache.php:1081 wp-cache.php:1093
1166
- msgid "OK"
1167
- msgstr "U redu"
1168
-
1169
- #: wp-cache.php:1075
1170
- msgid "Fetching first copy of %s: "
1171
- msgstr "Preuzimanje prve kopije %s:"
1172
-
1173
- #: wp-cache.php:1084 wp-cache.php:1095
1174
- msgid "FAILED"
1175
- msgstr "NIJE USPELO"
1176
-
1177
- #: wp-cache.php:1087
1178
- msgid "Fetching second copy of %s: "
1179
- msgstr "Preuzimanje druge kopije %s:"
1180
-
1181
- #: wp-cache.php:1099
1182
- msgid "One or more page requests failed:"
1183
- msgstr "Jedan ili više zahteva za stranu nije uspelo:"
1184
-
1185
- #: wp-cache.php:1118 wp-cache.php:1119
1186
- msgid "Page %d: %d (%s)"
1187
- msgstr "Strana %d: %d (%s)"
1188
-
1189
- #: wp-cache.php:1125
1190
- msgid "Page 1: %s"
1191
- msgstr "Strana 1: %s"
1192
-
1193
- #: wp-cache.php:1126
1194
- msgid "Page 2: %s"
1195
- msgstr "Strana 2: %s"
1196
-
1197
- #: wp-cache.php:1127
1198
- msgid "The timestamps on both pages match!"
1199
- msgstr "Vremenske oznake (timestamps) na obe strane se podudaraju!"
1200
-
1201
- #: wp-cache.php:1129
1202
- msgid "The pages do not match! Timestamps differ or were not found!"
1203
- msgstr ""
1204
- "Strane se ne podudaraju! Vremenske oznake (timestamps) se razlikuju, ili "
1205
- "nisu pronađene!"
1206
-
1207
- #: wp-cache.php:1130
1208
- msgid "Things you can do:"
1209
- msgstr "Stvari koje možete uraditi:"
1210
-
1211
- #: wp-cache.php:1131
1212
- msgid ""
1213
- "Load your homepage in a logged out browser, check the timestamp at the end "
1214
- "of the html source. Load the page again and compare the timestamp. Caching "
1215
- "is working if the timestamps match."
1216
- msgstr ""
1217
- "Učitajte vašu početnu stranu u odjavljen pregledač i proverite vremensku "
1218
- "oznaku na kraju html izvornog koda. Učitajte istu stranu ponovo, i uporedite "
1219
- "vremensku oznaku. Keširanje funkcioniše ako se vremenske oznake podudaraju."
1220
-
1221
- #: wp-cache.php:1132
1222
- msgid ""
1223
- "Enable logging on the Debug page here. That should help you track down the "
1224
- "problem."
1225
- msgstr ""
1226
- "Omogućiti prijavu na strani za otklanjanje programskih grešaka (Debugging "
1227
- "page), ovde. To bi trebalo da vam pomogne da pronađete problem."
1228
-
1229
- #: wp-cache.php:1133
1230
- msgid ""
1231
- "You should check Page 1 and Page 2 above for errors. Your local server "
1232
- "configuration may not allow your website to access itself."
1233
- msgstr ""
1234
- "Trebalo bi da proverite ima li grešaka na strani 1 i strani 2, gore. "
1235
- "Konfiguracija vašeg lokalnog servera možda ne dozvoljava vašem web sajtu da "
1236
- "pristupa sam sebi."
1237
-
1238
- #: wp-cache.php:1141
1239
- msgid "Send non-secure (non https) request for homepage"
1240
- msgstr "Slati neobezbeđene (koji nisu https) zahteve za početnu stranu"
1241
-
1242
- #: wp-cache.php:1142
1243
- msgid "Test Cache"
1244
- msgstr "Proveriti keš"
1245
-
1246
- #: wp-cache.php:1146
1247
- msgid "Delete Cached Pages"
1248
- msgstr "Obrisati keširane strane"
1249
-
1250
- #: wp-cache.php:1147
1251
- msgid ""
1252
- "Cached pages are stored on your server as html and PHP files. If you need to "
1253
- "delete them use the button below."
1254
- msgstr ""
1255
- "Keširane strane se čuvaju na vašem serveru, kao html i PHP fajlovi. Ako "
1256
- "morate da ih obrišete, upotrebite donje dugme."
1257
-
1258
- #: wp-cache.php:1150 wp-cache.php:2416 wp-cache.php:2435 wp-cache.php:2606
1259
- #: wp-cache.php:3141
1260
- msgid "Delete Cache"
1261
- msgstr "Obrisati keš"
1262
-
1263
- #: wp-cache.php:1157 wp-cache.php:2422
1264
- msgid "Delete Cache On All Blogs"
1265
- msgstr "Obrisati keš na svim blogovima"
1266
-
1267
- #: wp-cache.php:1162
1268
- msgid "Recommended Links and Plugins"
1269
- msgstr "Preporučeni linkovi i dodaci"
1270
-
1271
- #: wp-cache.php:1163
1272
- msgid ""
1273
- "Caching is only one part of making a website faster. Here are some other "
1274
- "plugins that will help:"
1275
- msgstr ""
1276
- "Keširanje je samo jedan deo ubrzavanja web sajta. Evo i nekih drugih "
1277
- "dodataka koji će pomoći:"
1278
-
1279
- #: wp-cache.php:1164
1280
- msgid ""
1281
- "<a href=\"%s\">WPSCMin</a>, a Supercache plugin that minifies cached pages "
1282
- "by removing whitespaces and extra characters "
1283
- msgstr ""
1284
- "<a href=\"%s\">WPSCMin</a>, Supercache dodatak koji minimizira keširane "
1285
- "strane, uklanjajući prazan prostor i višak karaktera"
1286
-
1287
- #: wp-cache.php:1165
1288
- msgid ""
1289
- "<a href=\"%s\">Yahoo! Yslow</a> is an extension for the Firefox add-on "
1290
- "Firebug. It analyzes web pages and suggests ways to improve their "
1291
- "performance based on a set of rules for high performance web pages. Also try "
1292
- "the performance tools online at <a href=\"%s\">GTMetrix</a>."
1293
- msgstr ""
1294
- "<a href=\"%s\">Yahoo! Yslow</a> je proširenje za Firefox nadgradnju, "
1295
- "Firebug. Ono analizira web strane i predlaže načine za unapređivanje "
1296
- "njihovih performansi, prema pravilima za web strane visokih performansi. "
1297
- "Takođe probajte onlajn alate za performanse, na <a href=\"%s\">GTMetrix</a>."
1298
-
1299
- #: wp-cache.php:1166
1300
- msgid ""
1301
- "<a href=\"%s\">Use Google Libraries</a> allows you to load some commonly "
1302
- "used Javascript libraries from Google webservers. Ironically it may reduce "
1303
- "your Yslow score."
1304
- msgstr ""
1305
- "<a href=\"%s\">Use Google Libraries</a> vam omogućava da učitate neke često "
1306
- "korišćene Javascript biblioteke sa Google web servera. Ironija je što to "
1307
- "može umanjiti vaš Yslow rezultat."
1308
-
1309
- #: wp-cache.php:1168
1310
- msgid ""
1311
- "<strong>Advanced users only:</strong> <a href=\"%s\">Speed up your site with "
1312
- "Caching and cache-control</a> explains how to make your site more cacheable "
1313
- "with .htaccess rules."
1314
- msgstr ""
1315
- "<strong>Samo za napredne korisnike:</strong> <a href=\"%s\">Speed up your "
1316
- "site with Caching and cache-control (Ubrzajte vaš sajt pomoću keširanja i "
1317
- "kontrole keša)</a> objašnjava kako da vaš sajt učinite pogodnijim za "
1318
- "keširanje, pomoću .htaccess pravila."
1319
-
1320
- #: wp-cache.php:1169
1321
- msgid ""
1322
- "<strong>Advanced users only:</strong> Install an object cache. Choose from "
1323
- "<a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a href=\"%s"
1324
- "\">eAcccelerator</a> and others."
1325
- msgstr ""
1326
- "<strong>Samo za napredne korisnike:</strong> Instalirajte neki objektni keš. "
1327
- "Odaberite između <a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a "
1328
- "href=\"%s\">eAcccelerator</a> i drugih."
1329
-
1330
- #: wp-cache.php:1170
1331
- msgid ""
1332
- "<a href=\"%s\">Cron View</a> is a useful plugin to use when trying to debug "
1333
- "garbage collection and preload problems."
1334
- msgstr ""
1335
- "<a href=\"%s\">Cron View</a> je koristan dodatak, za korišćenje onda kada "
1336
- "pokušavate da otklonite programske greške koje prave probleme sa uklanjanjem "
1337
- "smeća i učitavanjem unapred."
1338
-
1339
- #: wp-cache.php:1181
1340
- msgid "Make WordPress Faster"
1341
- msgstr "Učinite WordPress bržim"
1342
-
1343
- #: wp-cache.php:1182
1344
- msgid ""
1345
- "%1$s is maintained and developed by %2$s with contributions from many others."
1346
- msgstr "%1$s je održavan i razvijen od strane %2$s, uz doprinos mnogih drugih."
1347
-
1348
- #: wp-cache.php:1183
1349
- msgid "He blogs at %1$s and posts photos at %2$s."
1350
- msgstr "On bloguje na %1$s i objavljuje fotografije na %2$s."
1351
-
1352
- #: wp-cache.php:1184
1353
- msgid "Please say hi to him on %s too!"
1354
- msgstr "Molim vas, pozdravite i njega, na %s!"
1355
-
1356
- #: wp-cache.php:1185
1357
- msgid "Need Help?"
1358
- msgstr "Treba vam pomoć?"
1359
-
1360
- #: wp-cache.php:1187
1361
- msgid ""
1362
- "Use the debug system in the Debug tab above. It will tell you what the "
1363
- "plugin is doing."
1364
- msgstr ""
1365
- "Koristite sistem za otklanjanje grešaka u gornjoj kartici Otklanjanje "
1366
- "grešaka (Debug). On će vam reći šta dodatak radi."
1367
-
1368
- #: wp-cache.php:1188
1369
- msgid "<a href=\"%1$s\">Installation Help</a>"
1370
- msgstr "<a href=\"%1$s\">Pomoć oko instalacije</a>"
1371
-
1372
- #: wp-cache.php:1189
1373
- msgid "<a href=\"%1$s\">Frequently Asked Questions</a>"
1374
- msgstr "<a href=\"%1$s\">Često postavljana pitanja (FAQ)</a>"
1375
-
1376
- #: wp-cache.php:1190
1377
- msgid "<a href=\"%1$s\">Support Forum</a>"
1378
- msgstr "<a href=\"%1$s\">forum za podršku</a>"
1379
-
1380
- #: wp-cache.php:1191
1381
- msgid "<a href=\"%1$s\">Development Version</a>"
1382
- msgstr "<a href=\"%1$s\">razvojna verzija</a>"
1383
-
1384
- #: wp-cache.php:1193
1385
- msgid "Rate This Plugin!"
1386
- msgstr "Ocenite ovaj dodatak!"
1387
-
1388
- #: wp-cache.php:1194
1389
- msgid ""
1390
- "Please <a href=\"%s\">rate</a> this plugin and tell me if it works for you "
1391
- "or not. It really helps development."
1392
- msgstr ""
1393
- "Molim vas, <a href=\"%s\">ocenite</a> ovaj dodatak i recite mi da li, u "
1394
- "vašem slučaju, funkcioniše, ili ne. Ovo stvarno pomaže razvoju."
1395
-
1396
- #: wp-cache.php:1203
1397
- msgid "Cached pages since %1$s : <strong>%2$s</strong>"
1398
- msgstr "Keširano strana, od %1$s : <strong>%2$s</strong>"
1399
-
1400
- #: wp-cache.php:1204
1401
- msgid "Newest Cached Pages:"
1402
- msgstr "Najnovije keširane strane:"
1403
-
1404
- #: wp-cache.php:1208
1405
- msgid "Cached %s seconds ago"
1406
- msgstr "Keširano pre %s sekundi"
1407
-
1408
- #: wp-cache.php:1211
1409
- msgid "(may not always be accurate on busy sites)"
1410
- msgstr "(može biti neprecizno kod opterećenih sajtova)"
1411
-
1412
- #: wp-cache.php:1227
1413
- msgid ""
1414
- "Cache plugins are PHP scripts that live in a plugins folder inside the wp-"
1415
- "super-cache folder. They are loaded when Supercache loads, much sooner than "
1416
- "regular WordPress plugins."
1417
- msgstr ""
1418
- "Keš dodaci su PHP skripte koje se nalaze u folderu sa dodacima (plugins), "
1419
- "unutar wp-super-cache foldera. One se učitavaju kada se učitava Supercache, "
1420
- "mnogo pre nego obični WordPress dodaci."
1421
-
1422
- #: wp-cache.php:1228
1423
- msgid ""
1424
- "This is strictly an advanced feature only and knowledge of both PHP and "
1425
- "WordPress actions is required to create them."
1426
- msgstr ""
1427
- "Ovo je, striktno, samo jedno napredno svojstvo, i potrebno je poznavanje i "
1428
- "PHP i WordPress akcija, da bi se ona kreirala."
1429
-
1430
- #: wp-cache.php:1229
1431
- msgid ""
1432
- "<strong>Warning</strong>! Due to the way WordPress upgrades plugins the "
1433
- "plugins you upload to wp-super-cache/plugins/ will be deleted when you "
1434
- "upgrade WP Super Cache. You can avoid this by loading the plugins from "
1435
- "elsewhere. Set <strong>$wp_cache_plugins_dir</strong> to the new location in "
1436
- "wp-config.php and WP Super Cache will look there instead.<br />More info "
1437
- "available in the <a href=\"http://ocaoimh.ie/wp-super-cache-developers/"
1438
- "\">developer documentation</a>."
1439
- msgstr ""
1440
- "<strong>Upozorenje!</strong> Zbog načina na koji WordPress unapređuje "
1441
- "dodatke, dodaci koje prenesete u wp-super-cache/plugins/ će biti obrisani "
1442
- "kada unapredite WP Super Cache. Ovo možete izbeći učitavanjem dodataka sa "
1443
- "neke druge lokacije. U fajlu wp-config.php podesite <strong>"
1444
- "$wp_cache_plugins_dir</strong> na novu lokaciju, i WP Super Cache će tražiti "
1445
- "tu, umesto na staroj lokaciji.<br />Više informacija je dostupno u <a href="
1446
- "\"http://ocaoimh.ie/wp-super-cache-developers/\">dokumentaciji za "
1447
- "programere</a>."
1448
-
1449
- #: wp-cache.php:1239
1450
- msgid "Available Plugins"
1451
- msgstr "Raspoloživi dodaci"
1452
-
1453
- #: wp-cache.php:1256
1454
- msgid "Easy"
1455
- msgstr "Jednostavno"
1456
-
1457
- #: wp-cache.php:1256
1458
- msgid "CDN"
1459
- msgstr "CDN"
1460
-
1461
- #: wp-cache.php:1256
1462
- msgid "Contents"
1463
- msgstr "Sadržaji"
1464
-
1465
- #: wp-cache.php:1256
1466
- msgid "Preload"
1467
- msgstr "Učitavanje unapred"
1468
-
1469
- #: wp-cache.php:1256
1470
- msgid "Plugins"
1471
- msgstr "Dodaci"
1472
-
1473
- #: wp-cache.php:1256
1474
- msgid "Debug"
1475
- msgstr "Otklanjanje programskih grešaka"
1476
-
1477
- #: wp-cache.php:1291
1478
- msgid ""
1479
- "Notice: WP Super Cache mod_rewrite rule checks disabled unless running on <a "
1480
- "href=\"%s\">the main site</a> of this network."
1481
- msgstr ""
1482
- "Obratite pažnju: Provere WP Super Cache mod_rewrite pravila su iksljučene, "
1483
- "osim ako vam <a href=\"%s\">glavni sajt</a> radi na ovoj mreži."
1484
-
1485
- #: wp-cache.php:1300
1486
- msgid "Mod Rewrite Rules"
1487
- msgstr "Mod Rewrite pravila"
1488
-
1489
- #: wp-cache.php:1306
1490
- msgid "WordPress MU Detected"
1491
- msgstr "Pronađen je WordPress MU"
1492
-
1493
- #: wp-cache.php:1306
1494
- msgid ""
1495
- "Unfortunately the rewrite rules cannot be updated automatically when running "
1496
- "WordPress MU. Please open your .htaccess and add the following mod_rewrite "
1497
- "rules above any other rules in that file."
1498
- msgstr ""
1499
- "Na žalost, pravila za ponovni upis ne mogu da se ažuriraju automatski, kada "
1500
- "se koristi WordPress MU. Molim vas, otvorite .htaccess i dodajte sledeća "
1501
- "mod_rewrite pravila, iznad svih drugih pravila u tom fajlu."
1502
-
1503
- #: wp-cache.php:1308
1504
- msgid "Mod Rewrite rules cannot be updated!"
1505
- msgstr "Mod Rewrite pravila ne mogu da se ažuriraju!"
1506
-
1507
- #: wp-cache.php:1309
1508
- msgid ""
1509
- "You must have <strong>BEGIN</strong> and <strong>END</strong> markers in %s."
1510
- "htaccess for the auto update to work. They look like this and surround the "
1511
- "main WordPress mod_rewrite rules:"
1512
- msgstr ""
1513
- "Da bi automatsko ažuriranje funkcionisalo, morate imati <strong>BEGIN</"
1514
- "strong> i <strong>END</strong> markere u %s.htaccess fajlu. Oni izgledaju "
1515
- "ovako, i okružuju glavna WordPress mod_rewrite pravila:"
1516
-
1517
- #: wp-cache.php:1311
1518
- msgid "Refresh this page when you have updated your .htaccess file."
1519
- msgstr "Kada ažurirate vaš .htaccess fajl, osvežite ovu stranu."
1520
-
1521
- #: wp-cache.php:1315
1522
- msgid "Thank you for upgrading."
1523
- msgstr "Hvala vam za unapređivanje."
1524
-
1525
- #: wp-cache.php:1315
1526
- msgid ""
1527
- "The mod_rewrite rules changed since you last installed this plugin. "
1528
- "Unfortunately you must remove the old supercache rules before the new ones "
1529
- "are updated. Refresh this page when you have edited your .htaccess file. If "
1530
- "you wish to manually upgrade, change the following line: %1$s so it looks "
1531
- "like this: %2$s The only changes are \"HTTP_COOKIE\" becomes \"HTTP:Cookie\" "
1532
- "and \"wordpressuser\" becomes \"wordpress\". This is a WordPress 2.5 change "
1533
- "but it&#8217;s backwards compatible with older versions if you&#8217;re "
1534
- "brave enough to use them."
1535
- msgstr ""
1536
- "Mod_rewrite pravila su se promenila od kada ste poslednji put instalirali "
1537
- "ovaj dodatak. Na žalost, morate ukloniti stara superkeš pravila pre nego se "
1538
- "nova ažuriraju. Kada završite uređivanje vašeg .htaccess fajla, osvežite ovu "
1539
- "stranu. Ako želite da uradite manuelno unapređivanje, izmenite sledeću "
1540
- "liniju: %1$s, da izgleda ovako: %2$s Jedine izmene su to što \"HTTP_COOKIE\" "
1541
- "postaje \"HTTP:Cookie\" i \"wordpressuser\" postaje \"wordpress\". Ovo je "
1542
- "WordPress 2.5 izmena, ali ona je komaptibilna unazad sa starijim verzijama, "
1543
- "ako ste dovoljno hrabri da ih koristite."
1544
-
1545
- #: wp-cache.php:1319
1546
- msgid "Trailing slash check required."
1547
- msgstr "Potrebna je provera prateće kose crte."
1548
-
1549
- #: wp-cache.php:1319
1550
- msgid ""
1551
- "It looks like your blog has URLs that end with a \"/\". Unfortunately since "
1552
- "you installed this plugin a duplicate content bug has been found where URLs "
1553
- "not ending in a \"/\" end serve the same content as those with the \"/\" and "
1554
- "do not redirect to the proper URL. To fix, you must edit your .htaccess file "
1555
- "and add these two rules to the two groups of Super Cache rules:"
1556
- msgstr ""
1557
- "Izgleda da vaš blog ima URL-ove koji završavaju sa \"/\". Na žalost, pošto "
1558
- "ste instalirali ovaj dodatak, programska greška sa dupliranim sadržajem se "
1559
- "pojavljuje tamo gde URL-ovi ne završavaju sa \"/\", i servira se isti "
1560
- "sadržaj kao za one sa \"/\", a ne vrši se usmeravanje na odgovarajući URL. "
1561
- "Da popravite ovo, morate urediti vaš .htaccess fajl, i dodati ova pravila "
1562
- "dvema grupama Super Cache pravila:"
1563
-
1564
- #: wp-cache.php:1321
1565
- msgid ""
1566
- "You can see where the rules go and examine the complete rules by clicking "
1567
- "the \"View mod_rewrite rules\" link below."
1568
- msgstr ""
1569
- "Možete videti gde pravila idu, i ispitati kompletna pravila, klikom na donji "
1570
- "link \"Pregledati mod_rewrite pravila (View mod_rewrite rules)\"."
1571
-
1572
- #: wp-cache.php:1335
1573
- msgid "Mod Rewrite rules updated!"
1574
- msgstr "Mod Rewrite pravila su ažurirana!"
1575
-
1576
- #: wp-cache.php:1336
1577
- msgid ""
1578
- "%s.htaccess has been updated with the necessary mod_rewrite rules. Please "
1579
- "verify they are correct. They should look like this:"
1580
- msgstr ""
1581
- "%s.htaccess je dopunjen sa neophodnim mod_rewrite pravilima. Molim vas, "
1582
- "potvrdite da su ona ispravna. Trebalo bi da ovako izgledaju:"
1583
-
1584
- #: wp-cache.php:1338
1585
- msgid "Mod Rewrite rules must be updated!"
1586
- msgstr "Mod Rewrite pravila moraju da budu ažurirana!"
1587
-
1588
- #: wp-cache.php:1339
1589
- msgid ""
1590
- "Your %s.htaccess is not writable by the webserver and must be updated with "
1591
- "the necessary mod_rewrite rules. The new rules go above the regular "
1592
- "WordPress rules as shown in the code below:"
1593
- msgstr ""
1594
- "U vaš %s.htaccess fajl nije omogućen upis podataka od strane web servera, a "
1595
- "on se mora ažurirati sa neophodnim mod_rewrite pravilima. Nova pravila "
1596
- "dolaze iznad uobičajenih WordPress pravila, kao što je prikazano u donjem "
1597
- "kodu:"
1598
-
1599
- #: wp-cache.php:1344
1600
- msgid ""
1601
- "WP Super Cache mod rewrite rules were detected in your %s.htaccess file.<br /"
1602
- "> Click the following link to see the lines added to that file. If you have "
1603
- "upgraded the plugin make sure these rules match."
1604
- msgstr ""
1605
- "U vašem %s.htaccess fajlu su pronađena WP Super Cache mod rewrite pravila."
1606
- "<br/> Kliknite na sledeći link da vidite linije koje su dodate u taj fajl. "
1607
- "Ako ste unapredili dodatak, postarajte se da se ova pravila poklapaju."
1608
-
1609
- #: wp-cache.php:1347
1610
- msgid ""
1611
- "A difference between the rules in your .htaccess file and the plugin rewrite "
1612
- "rules has been found. This could be simple whitespace differences but you "
1613
- "should compare the rules in the file with those below as soon as possible. "
1614
- "Click the &#8217;Update Mod_Rewrite Rules&#8217; button to update the rules."
1615
- msgstr ""
1616
- "Pronađena je razlika između pravila u vašem .htaccess fajlu i pravila "
1617
- "dodatka, za ponovni upis. Ovo može biti jednostavno razlika u praznom "
1618
- "prostoru, ali bi što pre trebalo da uporedite pravila u fajlu sa ovim "
1619
- "donjim. Da ažurirate pravila, kliknite na dugme &#8217;Ažurirati Mod_Rewrite "
1620
- "pravila (Update Mod_Rewrite Rules)&#8217;."
1621
-
1622
- #: wp-cache.php:1349
1623
- msgid "View Mod_Rewrite Rules"
1624
- msgstr "Pregledati Mod_Rewrite pravila"
1625
-
1626
- #: wp-cache.php:1355 wp-cache.php:2722
1627
- msgid "Rules must be added to %s too:"
1628
- msgstr "Pravila se takođe moraju dodati u %s:"
1629
-
1630
- #: wp-cache.php:1362
1631
- msgid "Gzip encoding rules in %s.htaccess created."
1632
- msgstr "U %s.htaccess fajlu su kreirana pravila za Gzip kodiranje."
1633
-
1634
- #: wp-cache.php:1369
1635
- msgid "Fix Configuration"
1636
- msgstr "Popraviti konfiguraciju"
1637
-
1638
- #: wp-cache.php:1372
1639
- msgid "Restore Default Configuration"
1640
- msgstr "Vratiti podrazumevanu konfiguraciju"
1641
-
1642
- #: wp-cache.php:1380
1643
- msgid ""
1644
- "Comment moderation is enabled. Your comment may take some time to appear."
1645
- msgstr ""
1646
- "Uključena je moderacija komentara. Vašem komentaru može biti potrebno "
1647
- "određeno vreme da se pojavi."
1648
-
1649
- #: wp-cache.php:1405
1650
- msgid "Lock Down:"
1651
- msgstr "Zaključati:"
1652
-
1653
- #: wp-cache.php:1406
1654
- msgid ""
1655
- "Prepare your server for an expected spike in traffic by enabling the lock "
1656
- "down. When this is enabled, new comments on a post will not refresh the "
1657
- "cached static files."
1658
- msgstr ""
1659
- "Pripremite vaš server za neočekivani saobraćajni špic, omogućivši "
1660
- "zaključavanje. Kada je ono uključeno, novi komentari na objave neće "
1661
- "osvežavati keširane statičke fajlove."
1662
-
1663
- #: wp-cache.php:1407
1664
- msgid ""
1665
- "Developers: Make your plugin lock down compatible by checking the "
1666
- "\"WPLOCKDOWN\" constant. The following code will make sure your plugin "
1667
- "respects the WPLOCKDOWN setting."
1668
- msgstr ""
1669
- "Programeri: Učinite vaš dodatak kompatibilnim sa zaključavanjem, čekiravši "
1670
- "\"WPLOCKDOWN\" konstantu. Sledeći kod će se postarati da vaš dodatak poštuje "
1671
- "WPLOCKDOWN podešenje."
1672
-
1673
- #: wp-cache.php:1409
1674
- msgid "Sorry. My blog is locked down. Updates will appear shortly"
1675
- msgstr ""
1676
- "Žao mi je. Moj blog je zaključan. Ispravke/dopune će se pojaviti uskoro"
1677
-
1678
- #: wp-cache.php:1413
1679
- msgid ""
1680
- "WordPress is locked down. Super Cache static files will not be deleted when "
1681
- "new comments are made."
1682
- msgstr ""
1683
- "WordPress je zaključan. Super Cache statički fajlovi se neće brisati kada se "
1684
- "postave novi komentari."
1685
-
1686
- #: wp-cache.php:1415
1687
- msgid ""
1688
- "WordPress is not locked down. New comments will refresh Super Cache static "
1689
- "files as normal."
1690
- msgstr ""
1691
- "WordPress nije zaključan. Novi komentari će osvežavati Super Cache statičke "
1692
- "fajlove, kao i obično."
1693
-
1694
- #: wp-cache.php:1421
1695
- msgid "Lock Down"
1696
- msgstr "Zaključati"
1697
-
1698
- #: wp-cache.php:1429
1699
- msgid "Directly Cached Files"
1700
- msgstr "Direktno keširani fajlovi"
1701
-
1702
- #: wp-cache.php:1487
1703
- msgid "%s removed!"
1704
- msgstr "%s uklonjeno!"
1705
-
1706
- #: wp-cache.php:1495
1707
- msgid ""
1708
- "You must make %s writable to enable this feature. As this is a security risk "
1709
- "please make it readonly after your page is generated."
1710
- msgstr ""
1711
- "Morate omogućiti upis podataka u %s, da biste omogućili ovo svojstvo. Pošto "
1712
- "je to sigurnosni rizik, molim vas da ponovo onemogućite upis podataka u "
1713
- "fajl, nakon što se vaša strana generiše."
1714
-
1715
- #: wp-cache.php:1500
1716
- msgid ""
1717
- "%s is writable. Please make it readonly after your page is generated as this "
1718
- "is a security risk."
1719
- msgstr ""
1720
- "U %s je moguć upis podataka. Molim vas, onemogućite upis podataka u ovaj "
1721
- "fajl, nakon što se generiše vaša strana, jer je to sigurnosni rizik."
1722
-
1723
- #: wp-cache.php:1515
1724
- msgid "Existing direct page"
1725
- msgstr "Postojeća direktna strana"
1726
-
1727
- #: wp-cache.php:1515
1728
- msgid "Delete cached file"
1729
- msgstr "Obrisati keširani fajl"
1730
-
1731
- #: wp-cache.php:1520
1732
- msgid "Add direct page:"
1733
- msgstr "Dodati direktnu stranu:"
1734
-
1735
- #: wp-cache.php:1522
1736
- msgid ""
1737
- "Directly cached files are files created directly off %s where your blog "
1738
- "lives. This feature is only useful if you are expecting a major Digg or "
1739
- "Slashdot level of traffic to one post or page."
1740
- msgstr ""
1741
- "Direktno keširani fajlovi se kreiraju direktno iz %s, gde se nalazi vaš "
1742
- "blog. Ovo svojstvo je korisno samo ako očekujete značajan nivo Digg ili "
1743
- "Slashdot saobraćaja ka jednoj objavi, ili strani."
1744
-
1745
- #: wp-cache.php:1524
1746
- msgid ""
1747
- "For example: to cache <em>%1$sabout/</em>, you would enter %1$sabout/ or /"
1748
- "about/. The cached file will be generated the next time an anonymous user "
1749
- "visits that page."
1750
- msgstr ""
1751
- "Na primer: da keširate <em>%1$sabout/</em>, unećete %1$sabout/ ili /about/. "
1752
- "Keširani fajl će se generisati sledeći put kada anonimni posetilac poseti tu "
1753
- "stranu."
1754
-
1755
- #: wp-cache.php:1525
1756
- msgid ""
1757
- "Make the textbox blank to remove it from the list of direct pages and delete "
1758
- "the cached file."
1759
- msgstr ""
1760
- "Ispraznite tekstualno polje, da ga uklonite sa liste direktnih strana, i "
1761
- "obrišete keširani fajl."
1762
-
1763
- #: wp-cache.php:1530
1764
- msgid "Update Direct Pages"
1765
- msgstr "Ažurirati direktne strane"
1766
-
1767
- #: wp-cache.php:1558
1768
- msgctxt "timezone date format"
1769
- msgid "Y-m-d G:i:s"
1770
- msgstr "Y-m-d (G-m-d) G:i:s"
1771
-
1772
- #: wp-cache.php:1620
1773
- msgid "Expiry Time &amp; Garbage Collection"
1774
- msgstr "Vreme isteka i sakupljanje smeća"
1775
-
1776
- #: wp-cache.php:1622
1777
- msgid ""
1778
- "<abbr title=\"Coordinated Universal Time\">UTC</abbr> time is <code>%s</code>"
1779
- msgstr ""
1780
- "<abbr title=\"Coordinated Universal Time\">UTC (usklađeno univerzalno vreme)"
1781
- "</abbr> vreme je <code>%s</code>"
1782
-
1783
- #: wp-cache.php:1625
1784
- msgid "Local time is <code>%1$s</code>"
1785
- msgstr "Lokalno vreme je <code>%1$s</code>"
1786
-
1787
- #: wp-cache.php:1629
1788
- msgid "Next scheduled garbage collection will be at <strong>%s UTC</strong>"
1789
- msgstr "Sledeće zakazano sakupljanje smeća će biti u <strong>%s UTC</strong>"
1790
-
1791
- #: wp-cache.php:1633
1792
- msgid ""
1793
- "Warning! <strong>PRELOAD MODE</strong> activated. Supercache files will not "
1794
- "be deleted regardless of age."
1795
- msgstr ""
1796
- "Upozorenje! <strong>PRELOAD MODE (mod za učitavanje unapred)</strong> je "
1797
- "aktiviran. Superkeš fajlovi se neće brisati, nevezano za starost."
1798
-
1799
- #: wp-cache.php:1650
1800
- msgid "Cache Timeout"
1801
- msgstr "Vreme isteka keša"
1802
-
1803
- #: wp-cache.php:1651 wp-cache.php:1654
1804
- msgid "seconds"
1805
- msgstr "sekundi"
1806
-
1807
- #: wp-cache.php:1652
1808
- msgid ""
1809
- "How long should cached pages remain fresh? Set to 0 to disable garbage "
1810
- "collection. A good starting point is 3600 seconds."
1811
- msgstr ""
1812
- "Koliko dugo keširane strane treba da ostanu sveže? Da isključite sakupljanje "
1813
- "smeća, postavite vrednost 0. Dobra polazna tačka je 3600 sekundi."
1814
-
1815
- #: wp-cache.php:1653
1816
- msgid "Scheduler"
1817
- msgstr "Planer"
1818
-
1819
- #: wp-cache.php:1653
1820
- msgid "Timer:"
1821
- msgstr "Tajmer:"
1822
-
1823
- #: wp-cache.php:1654
1824
- msgid "Check for stale cached files every <em>interval</em> seconds."
1825
- msgstr ""
1826
- "Tražiti keširane fajlove koji se ne koriste, svakih <em>interval</em> "
1827
- "sekundi."
1828
-
1829
- #: wp-cache.php:1655
1830
- msgid "Clock:"
1831
- msgstr "Sat:"
1832
-
1833
- #: wp-cache.php:1656
1834
- msgid "HH:MM"
1835
- msgstr "HH:MM"
1836
-
1837
- #: wp-cache.php:1656
1838
- msgid ""
1839
- "Check for stale cached files at this time <strong>(UTC)</strong> or starting "
1840
- "at this time every <em>interval</em> below."
1841
- msgstr ""
1842
- "Tražiti keširane fajlove koji se ne koriste u ovo vreme <strong>(UTC)</"
1843
- "strong>, ili, počevši od ovog vremena, svakih <em>interval</em> nadalje."
1844
-
1845
- #: wp-cache.php:1658
1846
- msgid "Interval:"
1847
- msgstr "Interval:"
1848
-
1849
- #: wp-cache.php:1664
1850
- msgid "Notification Emails"
1851
- msgstr "E-mailovi sa obaveštenjima"
1852
-
1853
- #: wp-cache.php:1665
1854
- msgid "Email me when the garbage collection runs."
1855
- msgstr "Obavestiti me e-mailom kada se pokrene sakupljanje smeća."
1856
-
1857
- #: wp-cache.php:1667
1858
- msgid "Garbage Collection"
1859
- msgstr "Sakupljanje smeća"
1860
-
1861
- #: wp-cache.php:1668
1862
- msgid ""
1863
- "<em>Garbage collection</em> is the simple act of throwing out your garbage. "
1864
- "For this plugin that would be old or <em>stale</em> cached files that may be "
1865
- "out of date. New cached files are described as <em>fresh</em>."
1866
- msgstr ""
1867
- "<em>Sakupljanje smeća</em> je jednostavno čin izbacivanja vašeg smeća. Za "
1868
- "ovaj dodatak, to bi bili stari, ili <em>nekorišćeni</em> keširani fajlovi "
1869
- "koji bi mogli biti zastareli. Novi keširani fajlovi se nazivaju <em>svežim</"
1870
- "em>."
1871
-
1872
- #: wp-cache.php:1669
1873
- msgid ""
1874
- "Cached files are fresh for a limited length of time. You can set that time "
1875
- "in the <em>Cache Timeout</em> text box on this page."
1876
- msgstr ""
1877
- "Keširani fajlovi ostaju sveži ograničeno vreme. To vreme možete podesiti u "
1878
- "tekstualnom polju <em>Vreme isteka keša (Cache Timeout)</em>, na ovoj strani."
1879
-
1880
- #: wp-cache.php:1670
1881
- msgid ""
1882
- "Stale cached files are not removed as soon as they become stale. They have "
1883
- "to be removed by the garbage collecter. That is why you have to tell the "
1884
- "plugin when the garbage collector should run."
1885
- msgstr ""
1886
- "Keširani fajlovi koji se ne koriste, ne uklanjaju se čim postanu \"ustajali"
1887
- "\". Njih mora da ukloni sakupljač smeća. Zato morate reći dodatku kada "
1888
- "sakupljač smeća treba da se pokrene."
1889
-
1890
- #: wp-cache.php:1671
1891
- msgid ""
1892
- "Use the <em>Timer</em> or <em>Clock</em> schedulers to define when the "
1893
- "garbage collector should run."
1894
- msgstr ""
1895
- "Koristite planere <em>Tajmer (Timer)</em> ili <em>Sat (Clock)</em>, da "
1896
- "definišete kada sakupljač smeća treba da se pokrene."
1897
-
1898
- #: wp-cache.php:1672
1899
- msgid ""
1900
- "The <em>Timer</em> scheduler tells the plugin to run the garbage collector "
1901
- "at regular intervals. When one garbage collection is done, the next run is "
1902
- "scheduled."
1903
- msgstr ""
1904
- "<em>Tajmer (Timer)</em> planer govori dodatku da pokreće sakupljač smeća u "
1905
- "pravilnim intervalima. Kada jedan sakupljač smeća završi sa radom, zakazuje "
1906
- "se sledeće pokretanje."
1907
-
1908
- #: wp-cache.php:1673
1909
- msgid ""
1910
- "Or, the <em>Clock</em> scheduler allows the garbage collection to run at "
1911
- "specific times. If set to run hourly or twicedaily the garbage collector "
1912
- "will be first scheduled for the time you enter here. It will then run again "
1913
- "at the indicated interval. If set to run daily it will run once a day at the "
1914
- "time specified."
1915
- msgstr ""
1916
- "Ili, <em>Sat (Clock)</em> planer, koji omogućava da se sakupljač smeća "
1917
- "pokreće u određeno vreme. Ako je podešen da radi na svaki sat, ili dva puta "
1918
- "na dan, pokretanje sakupljača smeća će prvo biti zakazano u vreme koje "
1919
- "unesete ovde. Nakon toga će biti pokretan u navedenim intervalima. Ako je "
1920
- "podešen da se pokreće jednom dnevno, on će se pokretati jednom dnevno - u "
1921
- "navedeno vreme."
1922
-
1923
- #: wp-cache.php:1675
1924
- msgid ""
1925
- "There are no best garbage collection settings but here are a few scenarios. "
1926
- "Garbage collection is separate to other actions that clear our cached files "
1927
- "like leaving a comment or publishing a post."
1928
- msgstr ""
1929
- "Ne postoje najbolja podešenja za sakupljanje smeća, ali evo nekoliko "
1930
- "scenarija. Sakupljanje smeća je odvojeno od drugih akcija koje brišu "
1931
- "keširane fajlove, kao što je ostavljanje komentara, ili objavljivanje objave."
1932
-
1933
- #: wp-cache.php:1677
1934
- msgid ""
1935
- "Sites that want to serve lots of newly generated data should set the "
1936
- "<em>Cache Timeout</em> to 60 and use the <em>Timer</em> scheduler set to 90 "
1937
- "seconds."
1938
- msgstr ""
1939
- "Sajtovi koji žele da pruže dosta novo generisanih podataka, treba da podese "
1940
- "<em>Vreme isteka keša (Cache Timeout)</em> na 60, i da koriste <em>Tajmer "
1941
- "(Timer)</em>, podešen na 90 sekundi."
1942
-
1943
- #: wp-cache.php:1678
1944
- msgid ""
1945
- "Sites with widgets and rss feeds in their sidebar should probably use a "
1946
- "timeout of 3600 seconds and set the timer to 600 seconds. Stale files will "
1947
- "be caught within 10 minutes of going stale."
1948
- msgstr ""
1949
- "Sajtovi sa vidžetima i sa rss tokovima u svojoj bočnoj traci, verovatno "
1950
- "treba da koriste vreme isteka od 3600 sekundi, i da podese tajmer na 600 "
1951
- "sekundi. Fajlovi koji se ne koriste će se uhvatiti u roku od 10 minuta, od "
1952
- "kako postanu \"ustajali\"."
1953
-
1954
- #: wp-cache.php:1679
1955
- msgid ""
1956
- "Sites with lots of static content, no widgets or rss feeds in their sidebar "
1957
- "can use a timeout of 86400 seconds or even more and set the timer to "
1958
- "something equally long."
1959
- msgstr ""
1960
- "Sajtovi sa dosta statičkog sadržaja, bez vidžeta i rss tokova u svojoj "
1961
- "bočnoj traci, mogu da koriste vreme isteka od 86400 sekundi, pa čak i više, "
1962
- "i da podese tajmer na neko podjednako dugo vreme."
1963
-
1964
- #: wp-cache.php:1680
1965
- msgid ""
1966
- "Sites where an external data source updates at a particular time every day "
1967
- "should set the timeout to 86400 seconds and use the Clock scheduler set "
1968
- "appropriately."
1969
- msgstr ""
1970
- "Sajtovi čiji se neki spoljni izvor podataka ažurira svakog dana u isto "
1971
- "vreme, treba da podese vreme isteka na 86400 sekundi, i da koriste Sat "
1972
- "(Clock) planer u skladu sa tim."
1973
-
1974
- #: wp-cache.php:1682
1975
- msgid ""
1976
- "Checking for and deleting expired files is expensive, but it&#8217;s "
1977
- "expensive leaving them there too. On a very busy site you should set the "
1978
- "expiry time to <em>600 seconds</em>. Experiment with different values and "
1979
- "visit this page to see how many expired files remain at different times "
1980
- "during the day. If you are using legacy caching aim to have less than 500 "
1981
- "cached files if possible. You can have many times more cached files when "
1982
- "using mod_rewrite or PHP caching."
1983
- msgstr ""
1984
- "Traženje i brisanje isteklih fajlova je skupo, ali je takođe skupo "
1985
- "ostavljati ih gde jesu. Na veoma posećenom sajtu, trebalo bi da podesite "
1986
- "vreme isteka na <em>600 sekundi</em>. Eksperimentišite sa različitim "
1987
- "vrednostima i posećujte ovu stranu, da vidite koliko isteklih fajlova ostaje "
1988
- "u različito vreme, tokom dana. Ako koristite staro keširanje (legacy "
1989
- "caching), ciljajte na to da imate manje od 500 keširanih fajlova, ako je to "
1990
- "moguće. Kada koristite mod_rewrite ili PHP keširanje, možete imati mnogo "
1991
- "više keširanih fajlova."
1992
-
1993
- #: wp-cache.php:1683
1994
- msgid "Set the expiry time to 0 seconds to disable garbage collection."
1995
- msgstr "Da isključite sakupljanje smeća, podesite vreme isteka na 0 sekundi."
1996
-
1997
- #: wp-cache.php:1684
1998
- msgid "Change Expiration"
1999
- msgstr "Izmeniti isticanje"
2000
-
2001
- #: wp-cache.php:1728
2002
- msgid "Rejected User Agents"
2003
- msgstr "Odbačeni korisnički agenti"
2004
-
2005
- #: wp-cache.php:1729
2006
- msgid ""
2007
- "Strings in the HTTP &#8217;User Agent&#8217; header that prevent WP-Cache "
2008
- "from caching bot, spiders, and crawlers&#8217; requests. Note that super "
2009
- "cached files are still sent to these agents if they already exists."
2010
- msgstr ""
2011
- "Stringovi u HTTP &#8217;User Agent&#8217; zaglavlju, koji sprečavaju WP-"
2012
- "Cache da kešira zahteve botova, tragača (spiders) i pretraživača (crawlers). "
2013
- "Imajte na umu da se superkeširani fajlovi i dalje šalju ovim agentima, ako "
2014
- "već postoje."
2015
-
2016
- #: wp-cache.php:1736
2017
- msgid "Save UA Strings"
2018
- msgstr "Sačuvati UA stringove"
2019
-
2020
- #: wp-cache.php:1759
2021
- msgid ""
2022
- "Do not cache the following page types. See the <a href=\"http://codex."
2023
- "wordpress.org/Conditional_Tags\">Conditional Tags</a> documentation for a "
2024
- "complete discussion on each type."
2025
- msgstr ""
2026
- "Ne keširati sledeće tipove strana. Pogledajte dokumentaciju o <a href="
2027
- "\"http://codex.wordpress.org/Conditional_Tags\">Uslovnim tagovima "
2028
- "(Conditional Tags)</a>, za kompletnu diskusiju o svakom tipu."
2029
-
2030
- #: wp-cache.php:1762
2031
- msgid "Single Posts"
2032
- msgstr "Pojedinačne objave"
2033
-
2034
- #: wp-cache.php:1763
2035
- msgid "Pages"
2036
- msgstr "Strane"
2037
-
2038
- #: wp-cache.php:1764
2039
- msgid "Front Page"
2040
- msgstr "Prva strana"
2041
-
2042
- #: wp-cache.php:1765
2043
- msgid "Home"
2044
- msgstr "Početna strana"
2045
-
2046
- #: wp-cache.php:1766
2047
- msgid "Archives"
2048
- msgstr "Arhive"
2049
-
2050
- #: wp-cache.php:1767
2051
- msgid "Tags"
2052
- msgstr "Oznake (tags)"
2053
-
2054
- #: wp-cache.php:1768
2055
- msgid "Category"
2056
- msgstr "Kategorija"
2057
-
2058
- #: wp-cache.php:1769
2059
- msgid "Feeds"
2060
- msgstr "Izvori podataka (feeds)"
2061
-
2062
- #: wp-cache.php:1770
2063
- msgid "Search Pages"
2064
- msgstr "Strane za pretragu"
2065
-
2066
- #: wp-cache.php:1771
2067
- msgid "Author Pages"
2068
- msgstr "Strane o autorima"
2069
-
2070
- #: wp-cache.php:1773 wp-cache.php:1885
2071
- msgid "Save"
2072
- msgstr "Sačuvati"
2073
-
2074
- #: wp-cache.php:1790
2075
- msgid ""
2076
- "Add here strings (not a filename) that forces a page not to be cached. For "
2077
- "example, if your URLs include year and you dont want to cache last year "
2078
- "posts, it&#8217;s enough to specify the year, i.e. &#8217;/2004/&#8217;. WP-"
2079
- "Cache will search if that string is part of the URI and if so, it will not "
2080
- "cache that page."
2081
- msgstr ""
2082
- "Ovde dodajte stringove (ne ime fajla), koji forsiraju da strana ne bude "
2083
- "keširana. Na primer, ako vaši URL-ovi uključuju godinu, a ne želite da "
2084
- "keširate prošlogodišnje objave, dovoljno je navesti godinu, npr. "
2085
- "&#8217;/2004/&#8217;. WP-Cache će tražiti da li je taj string deo URI-ja, i "
2086
- "ako jeste, neće keširati tu stranu."
2087
-
2088
- #: wp-cache.php:1796
2089
- msgid "Save Strings"
2090
- msgstr "Sačuvati stringove"
2091
-
2092
- #: wp-cache.php:1812
2093
- msgid ""
2094
- "Add here those filenames that can be cached, even if they match one of the "
2095
- "rejected substring specified above."
2096
- msgstr ""
2097
- "Ovde dodajte imena fajlova koji mogu da se keširaju, čak i ako sadrže neki "
2098
- "od gornjih stringova za odbacivanje."
2099
-
2100
- #: wp-cache.php:1818
2101
- msgid "Save Files"
2102
- msgstr "Sačuvati fajlove"
2103
-
2104
- #: wp-cache.php:1859
2105
- msgid "Currently logging to: %s"
2106
- msgstr "Trenutno se prijavljuje na: %s"
2107
-
2108
- #: wp-cache.php:1862
2109
- msgid ""
2110
- "Fix problems with the plugin by debugging it here. It can log them to a file "
2111
- "in your cache directory."
2112
- msgstr ""
2113
- "Rešava probleme sa dodatkom, otklanjajući ovde programske greške. Može "
2114
- "napraviti dnevnički zapis o njima u vašem keš direktorijumu."
2115
-
2116
- #: wp-cache.php:1866
2117
- msgid "Debugging"
2118
- msgstr "Otklanjanje programskih grešaka"
2119
-
2120
- #: wp-cache.php:1867
2121
- msgid "IP Address"
2122
- msgstr "IP adrese"
2123
-
2124
- #: wp-cache.php:1867
2125
- msgid "(only log requests from this IP address. Your IP is %s)"
2126
- msgstr "(zahtevi za logove samo sa ove IP adrese. Vaša IP adresa je %s)"
2127
-
2128
- #: wp-cache.php:1868
2129
- msgid "Cache Status Messages"
2130
- msgstr "Poruke o statusu keša"
2131
-
2132
- #: wp-cache.php:1869
2133
- msgid "Display comments at the end of every page like this:"
2134
- msgstr "Prikazivati komentare na kraju svake strane, ovako:"
2135
-
2136
- #: wp-cache.php:1875
2137
- msgid ""
2138
- "In very rare cases two problems may arise on some blogs:<ol><li> The front "
2139
- "page may start downloading as a zip file.</li><li> The wrong page is "
2140
- "occasionally cached as the front page if your blog uses a static front page "
2141
- "and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>"
2142
- msgstr ""
2143
- "U veoma retkim slučajevima, na nekim blogovima se mogu pojaviti dva problema:"
2144
- "<ol><li> Prva strana može da počne da se preuzima kao zip fajl.</li><li> "
2145
- "Povremeno se kao prva strana kešira pogrešna strana, ako vaš blog koristi "
2146
- "statičnu prvu stranu, a permalink struktura teme je <em>/%category%/%postname"
2147
- "%/</em>.</li></ol>"
2148
-
2149
- #: wp-cache.php:1876
2150
- msgid ""
2151
- "I&#8217;m 99% certain that they aren&#8217;t bugs in WP Super Cache and they "
2152
- "only happen in very rare cases but you can run a simple check once every 5 "
2153
- "minutes to verify that your site is ok if you&#8217;re worried. You will be "
2154
- "emailed if there is a problem."
2155
- msgstr ""
2156
- "99% sam siguran da to nisu programske greške u WP Super Cache-u, i do njih "
2157
- "dolazi samo u veoma retkim slučajevima, ali možete pokrenuti jednostavnu "
2158
- "proveru svakih 5 minuta, da potvrdite da je vaš sajt u redu, ako ste "
2159
- "zabrinuti. Biće vam poslat e-mail ako bude problema."
2160
-
2161
- #: wp-cache.php:1878
2162
- msgid "Check front page every 5 minutes."
2163
- msgstr "Proveravati prvu stranu svakih 5 minuta."
2164
-
2165
- #: wp-cache.php:1879
2166
- msgid "Front page text"
2167
- msgstr "Tekst prve strane"
2168
-
2169
- #: wp-cache.php:1879
2170
- msgid ""
2171
- "Text to search for on your front page. If this text is missing the cache "
2172
- "will be cleared. Leave blank to disable."
2173
- msgstr ""
2174
- "Tekst za traženje na prvoj strani. Ako ovaj tekst nedostaje, keš će biti "
2175
- "obrisa. Da isključite, ostavite prazno."
2176
-
2177
- #: wp-cache.php:1880
2178
- msgid "Clear cache on error."
2179
- msgstr "Obrisati keš u slučaju greške."
2180
-
2181
- #: wp-cache.php:1881
2182
- msgid "Email the blog admin when checks are made. (useful for testing)"
2183
- msgstr ""
2184
- "Poslati e-amil administratoru bloga, kada se urade provere. (korisno za "
2185
- "proveru)"
2186
-
2187
- #: wp-cache.php:1895
2188
- msgid ""
2189
- "Error: GZIP compression is enabled, disable it if you want to enable wp-"
2190
- "cache."
2191
- msgstr ""
2192
- "Greška: GZIP kompresija je uključena, isključite je ako hoćete da uključite "
2193
- "wp-cache."
2194
-
2195
- #: wp-cache.php:1945 wp-cache.php:2086 wp-cache.php:2122
2196
- msgid "Warning"
2197
- msgstr "Upozorenje"
2198
-
2199
- #: wp-cache.php:1945
2200
- msgid ""
2201
- "GZIP compression is enabled in WordPress, wp-cache will be bypassed until "
2202
- "you disable gzip compression."
2203
- msgstr ""
2204
- "GZIP kompresija je uključena u WordPress-u, wp-cache će biti zaobilažen dok "
2205
- "ne isključite gzip kompresiju."
2206
-
2207
- #: wp-cache.php:2007 wp-cache.php:2012 wp-cache.php:2045 wp-cache.php:2050
2208
- #: wp-cache.php:2056
2209
- msgid "Error"
2210
- msgstr "Greška"
2211
-
2212
- #: wp-cache.php:2007
2213
- msgid ""
2214
- "Your cache directory (<strong>%1$s</strong>) did not exist and couldn&#8217;"
2215
- "t be created by the web server. Check %1$s permissions."
2216
- msgstr ""
2217
- "Vaš keš direktorijum (<strong>%1$s</strong>) ne postoji, i nije mogao da "
2218
- "bude kreiran od strane web servera. Proverite %1$-ove dozvole."
2219
-
2220
- #: wp-cache.php:2012
2221
- msgid ""
2222
- "Your cache directory (<strong>%1$s</strong>) or <strong>%2$s</strong> need "
2223
- "to be writable for this plugin to work. Double-check it."
2224
- msgstr ""
2225
- "Upis u vaš keš direktorijum (<strong>%1$s</strong>), ili <strong>%2$s</"
2226
- "strong>, mora da bude omogućen da bi ovaj dodatak funkcionisao. Proverite ga "
2227
- "dva puta."
2228
-
2229
- #: wp-cache.php:2045
2230
- msgid ""
2231
- "Your WP-Cache config file (<strong>%s</strong>) is out of date and not "
2232
- "writable by the Web server.Please delete it and refresh this page."
2233
- msgstr ""
2234
- "Vaš WP-Cache konfiguracioni fajl (<strong>%s</strong>) je star i web server "
2235
- "ne može da vrši upis u njega. Molim vas, obrišite ga i osvežite ovu stranu."
2236
-
2237
- #: wp-cache.php:2050
2238
- msgid ""
2239
- "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is "
2240
- "not writable by the Web server.Check its permissions."
2241
- msgstr ""
2242
- "Konfiguracioni fajl nedostaje, a u %1$-ov direktorijum (<strong>%2$s</"
2243
- "strong>) nije moguć upis podataka od strane web servera. Proverite njegove "
2244
- "dozvole."
2245
-
2246
- #: wp-cache.php:2056
2247
- msgid ""
2248
- "Sample WP-Cache config file (<strong>%s</strong>) does not exist.Verify you "
2249
- "installation."
2250
- msgstr ""
2251
- "WP-Cache konfiguracioni fajl - primer (<strong>%s</strong>) ne postoji. "
2252
- "Proverite vašu instalaciju."
2253
-
2254
- #: wp-cache.php:2086
2255
- msgid "Could not update %s!</em> WPCACHEHOME must be set in config file."
2256
- msgstr ""
2257
- "%s nije mogao da se ažurira!</em> WPCACHEHOME mora da se podesi u "
2258
- "konfiguracionom fajlu."
2259
-
2260
- #: wp-cache.php:2122
2261
- msgid "%s/advanced-cache.php</em> does not exist or cannot be updated."
2262
- msgstr "%s/advanced-cache.php</em> ne postoji i ne može da se ažurira."
2263
-
2264
- #: wp-cache.php:2123
2265
- msgid "1. If it already exists please delete the file first."
2266
- msgstr "1. Ako već postoji, molim vas da ga prvo obrišete."
2267
-
2268
- #: wp-cache.php:2124
2269
- msgid ""
2270
- "2. Make %1$s writable using the chmod command through your ftp or server "
2271
- "software. (<em>chmod 777 %1$s</em>) and refresh this page. This is only a "
2272
- "temporary measure and you&#8217;ll have to make it read only afterwards "
2273
- "again. (Change 777 to 755 in the previous command)"
2274
- msgstr ""
2275
- "2. Omogućite upis podataka u %s-e, koristeći naredbu chmod, preko vašeg ftp, "
2276
- "ili serverskog softvera. (<em>chmod 777 %1$s</em>) i osvežite ovu stranu. "
2277
- "Ovo je samo privremena mera, i moraćete posle da opet onemogućite upis u "
2278
- "njega. (U prethodnoj naredbi promenite 777 u 755)"
2279
-
2280
- #: wp-cache.php:2125
2281
- msgid "3. Refresh this page to update <em>%s/advanced-cache.php</em>"
2282
- msgstr "3. Osvežite ovu stranu da ažurirate <em>%s/advanced-cache.php</em>"
2283
-
2284
- #: wp-cache.php:2126
2285
- msgid ""
2286
- "If that doesn&#8217;t work, make sure the file <em>%s/advanced-cache.php</"
2287
- "em> doesn&#8217;t exist:"
2288
- msgstr ""
2289
- "Ako to ne funkcioniše, proverite da li fajl <em>%s/advanced-cache.php</em> "
2290
- "postoji:"
2291
-
2292
- #: wp-cache.php:2127
2293
- msgid ""
2294
- "<li>1. Open <em>%1$s$wp_cache_file</em> in a text editor.</li><li>2. Change "
2295
- "the text <em>CACHEHOME</em> to <em>%2$s</em></li><li>3. Save the file and "
2296
- "copy it to <em>%3$s</em> and refresh this page.</li>"
2297
- msgstr ""
2298
- "<li>1. Otvorite fajl <em>%1$s$wp_cache_file</em> u nekom uređivaču teksta.</"
2299
- "li><li>2. Izmenite tekst <em>CACHEHOME</em> u <em>%2$s</em></li><li>3. "
2300
- "Sačuvajte fajl i kopirajte ga u <em>%3$s</em>, a zatim osvežite ovu stranu.</"
2301
- "li>"
2302
-
2303
- #: wp-cache.php:2150
2304
- msgid ""
2305
- "<h3>WP_CACHE constant set to false</h3><p>The WP_CACHE constant is used by "
2306
- "WordPress to load the code that serves cached pages. Unfortunately it is set "
2307
- "to false. Please edit your wp-config.php and add or edit the following line "
2308
- "above the final require_once command:<br /><br /><code>define('WP_CACHE', "
2309
- "true);</code></p>"
2310
- msgstr ""
2311
- "<h3>WP_CACHE konstanta je podešena na vrednost false</h3><p>WP_CACHE "
2312
- "konstantu WordPress koristi da učita kod koji servira keširane strane. Na "
2313
- "žalost, ona je podešena na vrednost false. Molim vas, uredite vaš wp-config."
2314
- "php fajl i dodajte ili uredite sledeće linije, iznad završne naredbe "
2315
- "require_once:<br /><br /><code>define('WP_CACHE', true);</code></p>"
2316
-
2317
- #: wp-cache.php:2152
2318
- msgid ""
2319
- "<strong>Error: WP_CACHE is not enabled</strong> in your <code>wp-config.php</"
2320
- "code> file and I couldn&#8217;t modify it."
2321
- msgstr ""
2322
- "<strong>Greška: WP_CACHE nije uključen</strong> u vašem <code>wp-config.php</"
2323
- "code> fajlu, i ne mogu da ga izmenim."
2324
-
2325
- #: wp-cache.php:2153
2326
- msgid ""
2327
- "Edit <code>%s</code> and add the following line:<br /> <code>define"
2328
- "('WP_CACHE', true);</code><br />Otherwise, <strong>WP-Cache will not be "
2329
- "executed</strong> by WordPress core. "
2330
- msgstr ""
2331
- "Uredite <code>%s</code> i dodajte sledeću liniju:<br /> <code>define"
2332
- "('WP_CACHE', true);</code><br />U suprotnom, <strong>WP-Cache se neće "
2333
- "izvršiti</strong> od strane WordPress jezgra. "
2334
-
2335
- #: wp-cache.php:2157
2336
- msgid ""
2337
- "<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see "
2338
- "this warning message please see point 5 of the <a href=\"http://wordpress."
2339
- "org/extend/plugins/wp-super-cache/faq/\">Troubleshooting Guide</a>. The "
2340
- "WP_CACHE line must be moved up."
2341
- msgstr ""
2342
- "<h3>WP_CACHE konstanta je dodata u wp-config.php</h3><p>Ako i dalje budete "
2343
- "videli ovu poruku sa upozorenjem, molim vas, pogledajte tačku 5 <a href="
2344
- "\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">Vodiča za "
2345
- "otklanjanje problema (Troubleshooting Guide)</a>. WP_CACHE linija se mora "
2346
- "pomeriti na gore."
2347
-
2348
- #: wp-cache.php:2185
2349
- msgid "Cache Contents"
2350
- msgstr "Sadržaj keša"
2351
-
2352
- #: wp-cache.php:2188
2353
- msgid "Object cache in use. No cache listing available."
2354
- msgstr "U upotrebi je objektni keš. Nije dostupan listing keša."
2355
-
2356
- #: wp-cache.php:2212
2357
- msgid "Deleting supercache file: <strong>%s</strong><br />"
2358
- msgstr "Brisanje superkeš fajla: <strong>%s</strong><br />"
2359
-
2360
- #: wp-cache.php:2229
2361
- msgid "Deleting wp-cache file: <strong>%s</strong><br />"
2362
- msgstr "Brisanje wp-cache fajla: <strong>%s</strong><br />"
2363
-
2364
- #: wp-cache.php:2294
2365
- msgid ""
2366
- "Cache stats are not automatically generated. You must click the link below "
2367
- "to regenerate the stats on this page."
2368
- msgstr ""
2369
- "Statistike keša se ne generišu automatski. Morate kliknuti na donji link da "
2370
- "na ovoj strani generišete statistike."
2371
-
2372
- #: wp-cache.php:2295
2373
- msgid "Regenerate cache stats"
2374
- msgstr "Ponovo generisati statistike keša"
2375
-
2376
- #: wp-cache.php:2297
2377
- msgid "Cache stats last generated: %s minutes ago."
2378
- msgstr "Poslednje generisanje statistika keša: pre %s minuta."
2379
-
2380
- #: wp-cache.php:2303
2381
- msgid "WP-Cache"
2382
- msgstr "WP-Cache"
2383
-
2384
- #: wp-cache.php:2304 wp-cache.php:2319
2385
- msgid "%s Cached Pages"
2386
- msgstr "%s keširanih strana"
2387
-
2388
- #: wp-cache.php:2305 wp-cache.php:2324
2389
- msgid "%s Expired Pages"
2390
- msgstr "%s isteklih strana"
2391
-
2392
- #: wp-cache.php:2318
2393
- msgid "WP-Super-Cache"
2394
- msgstr "WP-Super-Cache"
2395
-
2396
- #: wp-cache.php:2328
2397
- msgid "Fresh WP-Cached Files"
2398
- msgstr "Sveži WP-Cache fajlovi"
2399
-
2400
- #: wp-cache.php:2329 wp-cache.php:2345 wp-cache.php:2361 wp-cache.php:2377
2401
- msgid "URI"
2402
- msgstr "URI"
2403
-
2404
- #: wp-cache.php:2329 wp-cache.php:2345
2405
- msgid "Key"
2406
- msgstr "Ključ"
2407
-
2408
- #: wp-cache.php:2329 wp-cache.php:2345 wp-cache.php:2361 wp-cache.php:2377
2409
- msgid "Age"
2410
- msgstr "Starost"
2411
-
2412
- #: wp-cache.php:2329 wp-cache.php:2345 wp-cache.php:2361 wp-cache.php:2377
2413
- msgid "Delete"
2414
- msgstr "Obrisati"
2415
-
2416
- #: wp-cache.php:2344
2417
- msgid "Stale WP-Cached Files"
2418
- msgstr "WP-keširani fajlovi koji se ne koriste"
2419
-
2420
- #: wp-cache.php:2360
2421
- msgid "Fresh Super Cached Files"
2422
- msgstr "Sveži superkeširani fajlovi"
2423
-
2424
- #: wp-cache.php:2376
2425
- msgid "Stale Super Cached Files"
2426
- msgstr "Superkeširani fajlovi koji se ne koriste"
2427
-
2428
- #: wp-cache.php:2392
2429
- msgid "Hide file list"
2430
- msgstr "Sakriti listu fajlova"
2431
-
2432
- #: wp-cache.php:2394
2433
- msgid "Too many cached files, no listing possible."
2434
- msgstr "Previše keširanih fajlova, nije moguć prikaz liste"
2435
-
2436
- #: wp-cache.php:2396
2437
- msgid "List all cached files"
2438
- msgstr "Prikazati listu svih keširanih fajlova"
2439
-
2440
- #: wp-cache.php:2399
2441
- msgid ""
2442
- "Expired files are files older than %s seconds. They are still used by the "
2443
- "plugin and are deleted periodically."
2444
- msgstr ""
2445
- "Istekli fajlovi su stariji od %s sekundi. Oni se i dalje koriste od strane "
2446
- "dodatka, i brišu se periodično."
2447
-
2448
- #: wp-cache.php:2410
2449
- msgid "Delete Expired"
2450
- msgstr "Obrisati isteklo"
2451
-
2452
- #: wp-cache.php:2435
2453
- msgid "Delete Super Cache cached files (opens in new window)"
2454
- msgstr "Obrisati Super Cache keširane fajlove (otvara se u novom prozoru)"
2455
-
2456
- #: wp-cache.php:2582
2457
- msgid "%1$s is Stephen Fry proof thanks to caching by %2$s"
2458
- msgstr ""
2459
- "%1$s je Stephen Fry proveren (Stephen Fry proof), zahvaljujući keširanju od "
2460
- "strane %2$s"
2461
-
2462
- #: wp-cache.php:2615
2463
- msgid ""
2464
- "WP Super Cache must be configured. Go to <a href=\"%s\">the admin page</a> "
2465
- "to enable and configure the plugin."
2466
- msgstr ""
2467
- "WP Super Cache mora biti konfigurisan. Idite na <a href=\"%s\">stranu za "
2468
- "administraciju</a>, da uključite i konfigurišete ovaj dodatak."
2469
-
2470
- #: wp-cache.php:2621
2471
- msgid "Settings"
2472
- msgstr "Podešavanja"
2473
-
2474
- #: wp-cache.php:2631
2475
- msgid ""
2476
- "WP Super Cache is disabled. Please go to the <a href=\"%s\">plugin admin "
2477
- "page</a> to enable caching."
2478
- msgstr ""
2479
- "WP Super Cache je isključen. Molim vas, idite na <a href=\"%s\">stranu za "
2480
- "administraciju dodataka</a>, da omogućite keširanje."
2481
-
2482
- #: wp-cache.php:2634
2483
- msgid ""
2484
- "Warning! WP Super Cache caching broken! The script advanced-cache.php could "
2485
- "not load wp-cache-phase1.php.<br /><br />Please edit %1$s/advanced-cache.php "
2486
- "and make sure the path to %2$swp-cache-phase1.php is correct."
2487
- msgstr ""
2488
- "Upozorenje! WP Super Cache keširanje je neispravno! Skriptin fajl advanced-"
2489
- "cache.php nije mogao da učita wp-cache-phase1.php.<br /><br />Molim vas, "
2490
- "uredite %1$s/advanced-cache.php fajl i postarajte se da putanja ka %2$swp-"
2491
- "cache-phase1.php fajlu bude ispravna."
2492
-
2493
- #: wp-cache.php:2653
2494
- msgid "[%s] Front page is gzipped! Please clear cache!"
2495
- msgstr "[%s] Prva strana je gzip-ovana! Molim vas, obrišite keš!"
2496
-
2497
- #: wp-cache.php:2653
2498
- msgid ""
2499
- "Please visit %s to clear the cache as the front page of your site is now "
2500
- "downloading!"
2501
- msgstr ""
2502
- "Molim vas, posetite %s da obrišete keš, pošto se prva strana vašeg sajta "
2503
- "sada preuzima."
2504
-
2505
- #: wp-cache.php:2656
2506
- msgid "[%s] Front page is gzipped! Cache Cleared!"
2507
- msgstr "[%s] Prva strana je gzip-ovana! Keš je obrisan!"
2508
-
2509
- #: wp-cache.php:2656
2510
- msgid ""
2511
- "The cache on your blog has been cleared because the front page of your site "
2512
- "is now downloading. Please visit %s to verify the cache has been cleared."
2513
- msgstr ""
2514
- "Keš na vašem blogu je obrisan, pošto se prva strana vašeg sajta sada "
2515
- "preuzima. Molim vas, posetite %s, da potvrdite da je keš obrisan."
2516
-
2517
- #: wp-cache.php:2663
2518
- msgid "[%s] Front page is not correct! Please clear cache!"
2519
- msgstr "[%s] Prva strana nije ispravna! Molim vas, obrišite keš!"
2520
-
2521
- #: wp-cache.php:2663
2522
- msgid ""
2523
- "Please visit %1$s to clear the cache as the front page of your site is not "
2524
- "correct and missing the text, \"%2$s\"!"
2525
- msgstr ""
2526
- "Molim vas, posetite %1$s da obrišete keš, pošto prva strana vašeg sajta nije "
2527
- "ispravna, i nedostaje joj tekst, \"%2$s\"!"
2528
-
2529
- #: wp-cache.php:2666
2530
- msgid "[%s] Front page is not correct! Cache Cleared!"
2531
- msgstr "[%s] Prva strana nije ispravna! Keš je obrisan!"
2532
-
2533
- #: wp-cache.php:2666
2534
- msgid ""
2535
- "The cache on your blog has been cleared because the front page of your site "
2536
- "is missing the text \"%2$s\". Please visit %1$s to verify the cache has been "
2537
- "cleared."
2538
- msgstr ""
2539
- "Keš na vašem blogu je obrisan, pošto na prvoj strani vašeg sajta nedostaje "
2540
- "tekst \"%2$s\". Molim vas, posetite %1$s, da potvrdite da je keš obrisan."
2541
-
2542
- #: wp-cache.php:2671
2543
- msgid "[%s] Front page check!"
2544
- msgstr "[%s] Provera prve strane!"
2545
-
2546
- #: wp-cache.php:2671
2547
- msgid ""
2548
- "WP Super Cache has checked the front page of your blog. Please visit %s if "
2549
- "you would like to disable this."
2550
- msgstr ""
2551
- "WP Super Cache je proverio prvu stranu vašeg bloga. Molim vas, posetite %s, "
2552
- "ako želite da ovo isključite."
2553
-
2554
- #: wp-cache.php:2714
2555
- msgid "Cannot update .htaccess"
2556
- msgstr "Fajl .htaccess ne može da se ažurira"
2557
-
2558
- #: wp-cache.php:2714
2559
- msgid ""
2560
- "The file <code>%s.htaccess</code> cannot be modified by the web server. "
2561
- "Please correct this using the chmod command or your ftp client."
2562
- msgstr ""
2563
- "Fajl <code>%s.htaccess</code> nije mogao da bude izmenjen od strane web "
2564
- "servera. Molim vas, ispravite ovo, koristeći naredbu chmod, ili vaš ftp "
2565
- "klijent."
2566
-
2567
- #: wp-cache.php:2714
2568
- msgid "Refresh this page when the file permissions have been modified."
2569
- msgstr "Osvežiti ovu stranu kada se dozvole fajla izmene."
2570
-
2571
- #: wp-cache.php:2714
2572
- msgid ""
2573
- "Alternatively, you can edit your <code>%s.htaccess</code> file manually and "
2574
- "add the following code (before any WordPress rules):"
2575
- msgstr ""
2576
- "Alternativno, možete manuelno urediti vaš fajl <code>%s.htaccess</code>, i "
2577
- "dodati sledeći kod (pre bilo kakvih WordPress pravila):"
2578
-
2579
- #: wp-cache.php:2718
2580
- msgid ""
2581
- "To serve static html files your server must have the correct mod_rewrite "
2582
- "rules added to a file called <code>%s.htaccess</code>"
2583
- msgstr ""
2584
- "Da bi servirao statičke html fajlove, vaš server mora imati ispravna "
2585
- "mod_rewrite pravila, dodata u fajl pod nazivom <code>%s.htaccess</code>"
2586
-
2587
- #: wp-cache.php:2719
2588
- msgid "You can edit the file yourself add the following rules."
2589
- msgstr "Možete sami urediti fajl, dodajte sledeća pravila."
2590
-
2591
- #: wp-cache.php:2720
2592
- msgid " Make sure they appear before any existing WordPress rules. "
2593
- msgstr ""
2594
- "Postarajte se da se ona pojave pre bilo kakvih postojećih WordPress pravila."
2595
-
2596
- #: wp-cache.php:2728
2597
- msgid "Update Mod_Rewrite Rules"
2598
- msgstr "Ažurirati Mod_Rewrite pravila"
2599
-
2600
- #: wp-cache.php:2891
2601
- msgid "[%1$s] Cache Preload Started"
2602
- msgstr "[%1$s] Učitavanje keša unapred je počelo"
2603
-
2604
- #: wp-cache.php:2921
2605
- msgid "[%1$s] Refreshing %2$s taxonomy from %3$d to %4$d"
2606
- msgstr "[%1$s] Osvežavanje %2$s taksonomije od %3$d do %4$d"
2607
-
2608
- #: wp-cache.php:2967
2609
- msgid "[%1$s] Refreshing posts from %2$d to %3$d"
2610
- msgstr "[%1$s] Osvežavanje objava od %2$d do %3$d"
2611
-
2612
- #: wp-cache.php:2988
2613
- msgid "[%1$s] Cache Preload Stopped"
2614
- msgstr "[%1$s] Učitavanje keša unapred je zaustavljeno"
2615
-
2616
- #: wp-cache.php:2998
2617
- msgid "[%1$s] %2$d posts refreshed"
2618
- msgstr "[%1$s] %2$d objava je osveženo"
2619
-
2620
- #: wp-cache.php:2998
2621
- msgid "Refreshed the following posts:"
2622
- msgstr "Osvežene su sledeće objave:"
2623
-
2624
- #: wp-cache.php:3008
2625
- msgid "Scheduling next preload refresh in %d minutes."
2626
- msgstr "Sledeće osvežavanje učitavanja unapred se zakazuje za %d minuta"
2627
-
2628
- #: wp-cache.php:3019
2629
- msgid "[%s] Cache Preload Completed"
2630
- msgstr "[%s] Učitavanje keša unapred je završeno"
2631
-
2632
- #: wp-cache.php:3019
2633
- msgid "Cleaning up old supercache files."
2634
- msgstr "Brisanje starih superkeš fajlova."
2635
-
2636
- #: wp-cache.php:3062
2637
- msgid "[%s] Preload may have stalled."
2638
- msgstr "[%s] Učitavanje unapred je možda zastalo."
2639
-
2640
- #: wp-cache.php:3062
2641
- msgid ""
2642
- "Preload has been restarted.\n"
2643
- "%s"
2644
- msgstr ""
2645
- "Učitavanje unapred je ponovo započeto.\n"
2646
- "%s"
2647
-
2648
- #: wp-cache.php:3105
2649
- msgid "Supercache Uninstall Problems"
2650
- msgstr "Problemi sa de-instaliranjem Supercache-a"
2651
-
2652
- #: wp-cache.php:3105
2653
- msgid ""
2654
- "Dear User,\n"
2655
- "\n"
2656
- "WP Super Cache was removed from your blog but the mod_rewrite rules\n"
2657
- "in your .htaccess were not.\n"
2658
- "\n"
2659
- "Please edit the following file and remove the code\n"
2660
- "between 'BEGIN WPSuperCache' and 'END WPSuperCache'. Please backup the file "
2661
- "first!\n"
2662
- "\n"
2663
- "%s\n"
2664
- "\n"
2665
- "Regards,\n"
2666
- "WP Super Cache Plugin\n"
2667
- "http://wordpress.org/extend/plugins/wp-super-cache/"
2668
- msgstr ""
2669
- "Dragi korisniče,\n"
2670
- "\n"
2671
- "WP Super Cache je uklonjen sa vašeg bloga, ali mod_rewrite pravila\n"
2672
- "u vašem .htaccess nisu.\n"
2673
- "\n"
2674
- "Molim vas, uredite sledeći fajl i uklonite kod\n"
2675
- "između 'BEGIN WPSuperCache' i 'END WPSuperCache'. Molim vas, prvo napravite "
2676
- "backup kopiju fajla!\n"
2677
- "\n"
2678
- "%s\n"
2679
- "\n"
2680
- "Sa poštovanjem,\n"
2681
- "WP Super Cache dodatak\n"
2682
- "http://wordpress.org/extend/plugins/wp-super-cache/"
2683
-
2684
- #: wp-cache.php:3142
2685
- msgid "Delete cache of the current page"
2686
- msgstr "Obrisati keš aktuelne strane"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wp-super-cache-zh_CN.mo CHANGED
Binary file
languages/wp-super-cache-zh_CN.po CHANGED
@@ -1,1753 +1,1116 @@
1
- # Copyright (C) 2012
2
- # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-super-cache\n"
7
- "POT-Creation-Date: 2012-06-21 09:44:46+00:00\n"
8
- "PO-Revision-Date: 2012-07-16 18:14+0800\n"
9
- "Last-Translator: \n"
10
- "Language-Team: Christopher Meng <cickumqt@gmail.com>\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Poedit-Language: Chinese\n"
15
  "X-Poedit-Country: CHINA\n"
 
16
 
17
- #: ossdl-cdn.php:151
18
- msgid "Your website probably uses lots of static files. Image, Javascript and CSS files are usually static files that could just as easily be served from another site or CDN. Therefore this plugin replaces any links in the <code>wp-content</code> and <code>wp-includes</code> directories (except for PHP files) on your site with the URL you provide below. That way you can either copy all the static content to a dedicated host or mirror the files to a CDN by <a href=\"http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a>."
19
- msgstr "您的网站可能使用了大量的静态文件。图像,Javascript CSS 文件通常都是可供其他站点或者 CDN 方便调用的静态文件。因此,本插件使用下方您提供的地址替换了站点的所有 <code>wp-content</code> 和 <code>wp-includes</code> 目录地址(PHP 文件除外) 。这样即可以使您复制所有静态内容到独立主机,又可以通过 <a href=\"http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull+work%3F\" target=\"_blank\">文件自动传输到 CDN 功能</a> 为文件做镜像到 CDN。"
20
-
21
- #: ossdl-cdn.php:152
22
- #: wp-cache.php:1071
23
- msgid "The <a href=\"%1$s\">CDN Sync Tool</a> plugin will help upload files to Amazon S3/Cloudfront if you would rather not depend on origin pull. See the <a href=\"%2$s\">plugin support forum</a> if you have any queries about this plugin."
24
- msgstr "如果您不需要文件自动传输到 CDN 功能(origin pull),<a href=\"%1$s\">CDN Sync Tool</a> 插件将会帮助有关文件上传至 Amazon S3/Cloudfront 。如果您有意见或者需求,请访问<a href=\"%2$s\">插件支持论坛</a>。"
25
-
26
- #: ossdl-cdn.php:153
27
- msgid "<strong style=\"color: red\">WARNING:</strong> Test some static urls e.g., %s to ensure your CDN service is fully working before saving changes."
28
- msgstr "<strong style=\"color: red\">警告:</strong> 请测试一些静态地址比如 %s 以便确保您的 CDN 服务在保存设置前正在工作。"
29
-
30
- #: ossdl-cdn.php:154
31
- msgid "You can define different CDN URLs for each site on a multsite network."
32
- msgstr "您可以对多站点中的每个站点定义不同的 CDN 服务地址。"
33
-
34
- #: ossdl-cdn.php:162
35
- msgid "Enable CDN Support"
36
- msgstr "开启 CDN 支持"
37
-
38
- #: ossdl-cdn.php:165
39
- msgid "Off-site URL"
40
- msgstr "Off-site URL"
41
-
42
- #: ossdl-cdn.php:168
43
- msgid "The new URL to be used in place of %1$s for rewriting. No trailing <code>/</code> please.<br />Example: <code>%2$s</code>."
44
- msgstr ""
45
-
46
- #: ossdl-cdn.php:172
47
- msgid "Include directories"
48
- msgstr "包含目录"
49
-
50
- #: ossdl-cdn.php:175
51
- msgid "Directories to include in static file matching. Use a comma as the delimiter. Default is <code>wp-content, wp-includes</code>, which will be enforced if this field is left empty."
52
- msgstr "Directories to include in static file matching. Use a comma as the delimiter. Default is <code>wp-content, wp-includes</code>, which will be enforced if this field is left empty."
53
-
54
- #: ossdl-cdn.php:179
55
- msgid "Exclude if substring"
56
- msgstr "如果是之前有则排除"
57
-
58
- #: ossdl-cdn.php:182
59
- msgid "Excludes something from being rewritten if one of the above strings is found in the match. Use a comma as the delimiter like this, <code>.php, .flv, .do</code>, and always include <code>.php</code> (default)."
60
- msgstr "如果以上的字符串中有任何一个符合,那么将不会被写入至重写规则中。请使用半角逗号隔开,例如 <code>.php, .flv, .do</code>,,并且无论如何不要删去 <code>.php</code> (默认)。"
61
-
62
- #: ossdl-cdn.php:186
63
- msgid "Additional CNAMES"
64
- msgstr "附加 CNAME 记录"
65
-
66
- #: ossdl-cdn.php:189
67
- msgid "These <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">CNAMES</a> will be used in place of %1$s for rewriting (in addition to the off-site URL above). Use a comma as the delimiter. For pages with a large number of static files, this can improve browser performance. CNAMEs may also need to be configured on your CDN.<br />Example: %2$s"
68
- msgstr ""
69
-
70
- #: ossdl-cdn.php:193
71
- msgid "Skip https URLs to avoid \"mixed content\" errors"
72
- msgstr "忽略 https 地址以避免 \"mixed content\" 错误"
73
-
74
- #: ossdl-cdn.php:197
75
- msgid "Save Changes"
76
- msgstr "保存修改"
77
-
78
- #: ossdl-cdn.php:199
79
- msgid "CDN functionality provided by <a href=\"http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a> by <a href=\"http://mark.ossdl.de/\">Mark Kubacki</a>"
80
- msgstr "CDN 功能由 <a href=\"http://mark.ossdl.de/\">Mark Kubacki</a> 编写的 <a href=\"http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a> 插件提供。"
81
-
82
- #: plugins/awaitingmoderation.php:4
83
- msgid "Your comment is awaiting moderation."
84
- msgstr "您的评论正在等待审核。"
85
-
86
- #: plugins/awaitingmoderation.php:32
87
- msgid "Awaiting Moderation"
88
- msgstr "Awaiting Moderation"
89
 
90
- #: plugins/awaitingmoderation.php:34
91
  #: plugins/badbehaviour.php:65
92
- #: plugins/domain-mapping.php:75
93
- #: plugins/searchengine.php:69
94
- #: plugins/wptouch.php:22
95
- #: wp-cache.php:1311
96
- msgid "Enabled"
97
- msgstr "已启用"
98
-
99
- #: plugins/awaitingmoderation.php:35
100
- #: plugins/badbehaviour.php:66
101
- #: plugins/domain-mapping.php:76
102
- #: plugins/searchengine.php:70
103
- #: plugins/wptouch.php:23
104
- #: wp-cache.php:1311
105
- msgid "Disabled"
106
- msgstr "已禁用"
107
 
108
- #: plugins/awaitingmoderation.php:36
109
- msgid "Enables or disables plugin to Remove the text \"Your comment is awaiting moderation.\" when someone leaves a moderated comment."
110
- msgstr "启用或禁用该插件以便移除当新的待审核评论产生时的 \"您的评论正在等待审核。\" 提示。"
 
111
 
112
- #: plugins/awaitingmoderation.php:40
113
- #: plugins/badbehaviour.php:71
114
- #: plugins/domain-mapping.php:81
115
- #: plugins/searchengine.php:75
116
- #: plugins/wptouch.php:28
117
- #: wp-cache.php:1769
118
- #: wp-cache.php:1771
119
  msgid "enabled"
120
  msgstr "已启用"
121
 
122
- #: plugins/awaitingmoderation.php:42
123
- #: plugins/badbehaviour.php:73
124
- #: plugins/domain-mapping.php:83
125
- #: plugins/searchengine.php:77
126
- #: plugins/wptouch.php:30
127
- msgid "disabled"
128
- msgstr "已禁用"
129
-
130
- #: plugins/awaitingmoderation.php:43
131
- msgid "Awaiting Moderation is now %s"
132
- msgstr "Awaiting Moderation %s"
133
-
134
- #: plugins/awaitingmoderation.php:45
135
- #: plugins/badbehaviour.php:76
136
- #: plugins/domain-mapping.php:86
137
- #: plugins/searchengine.php:80
138
- #: plugins/wptouch.php:33
139
- msgid "Update"
140
- msgstr "更新"
141
 
142
- #: plugins/badbehaviour.php:47
143
- msgid "Bad Behaviour not found. Please check your install."
144
- msgstr "没有找到 Bad Behavior 插件。请检查您的安装。"
 
145
 
146
  #: plugins/badbehaviour.php:63
147
- msgid "Bad Behavior"
148
- msgstr "Bad Behavior"
149
-
150
- #: plugins/badbehaviour.php:68
151
- msgid "(Only legacy caching supported, disabled compression and requires <a href=\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> in \"%s/plugins/bad-behavior/\") "
152
- msgstr "(仅支持传统模式,并且需要禁用压缩以及确保 <a href=\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> 插件在 \"%s/plugins/bad-behavior/\" 目录中) "
153
-
154
- #: plugins/badbehaviour.php:74
155
- msgid "Bad Behavior support is now %s"
156
- msgstr "Bad Behavior 兼容%s"
157
-
158
- #: plugins/badbehaviour.php:83
159
- #: wp-cache.php:1401
160
- #: wp-cache.php:1406
161
- msgid "Warning!"
162
- msgstr "警告!"
163
-
164
- #: plugins/domain-mapping.php:73
165
- msgid "Domain Mapping"
166
- msgstr "Domain Mapping"
167
-
168
- #: plugins/domain-mapping.php:78
169
- msgid "Provides support for <a href=\"http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/\">Domain Mapping</a> plugin to map multiple domains to a blog."
170
- msgstr "<a href=\"http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/\">点击查看 Domain Mapping 插件对同主机多站点的支持</a>。"
171
-
172
- #: plugins/domain-mapping.php:84
173
- msgid "Domain Mapping support is now %s"
174
- msgstr "Domain Mapping 兼容%s"
175
-
176
- #: plugins/domain-mapping.php:98
177
- msgid "Domain Mapping plugin detected! Please go to the Supercache plugins page and enable the domain mapping helper plugin."
178
- msgstr "已检测到 Domain Mapping 插件!请前往本插件的设置首页启用 Domain Mapping 插件支持。"
179
-
180
- #: plugins/multisite.php:13
181
- msgid "Cached"
182
- msgstr "已缓存"
183
-
184
- #: plugins/multisite.php:31
185
- #: wp-cache.php:1324
186
  msgid "Enable"
187
  msgstr "启用"
188
 
189
- #: plugins/multisite.php:33
190
- #: plugins/searchengine.php:61
191
- #: wp-cache.php:1324
192
- msgid "Disable"
193
- msgstr "禁用"
194
-
195
- #: plugins/multisite.php:39
196
- msgid "Caching has been disabled on this blog on the Network Admin Sites page."
197
- msgstr "在该博客的站点网络管理页面上缓存功能已被禁用。"
198
 
199
- #: plugins/searchengine.php:67
200
- msgid "No Adverts for Friends"
201
- msgstr "No Adverts for Friends"
 
202
 
203
  #: plugins/searchengine.php:72
204
- msgid "Provides support for <a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">No Adverts for Friends</a>."
205
- msgstr "<a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">点击查看 No Adverts for Friends 插件的支持</a>。"
206
-
207
- #: plugins/searchengine.php:78
208
- msgid "No Adverts for Friends support is now %s"
209
- msgstr "No Adverts for Friends 兼容%s"
210
-
211
- #: plugins/wptouch.php:20
212
- msgid "WPTouch"
213
- msgstr "WPTouch"
214
-
215
- #: plugins/wptouch.php:25
216
- msgid "Provides support for <a href=\"http://wordpress.org/extend/plugins/wptouch/\">WPTouch</a> mobile theme and plugin."
217
- msgstr "<a href=\"http://wordpress.org/extend/plugins/wptouch/\">点击查看 WPTouch 的手机主题和插件本身的支持</a>。"
218
-
219
- #: plugins/wptouch.php:31
220
- msgid "WPTouch support is now %s"
221
- msgstr "WPTouch 兼容%s"
222
-
223
- #: plugins/wptouch.php:45
224
- msgid "WPTouch plugin detected! Please go to the Supercache plugins page and enable the WPTouch helper plugin."
225
- msgstr "已检测到 WPTouch 插件!请前往插件设置首页启用 WPTouch 插件支持。"
226
-
227
- #: wp-cache-phase2.php:1209
228
- msgid "Cache expiry cron job failed. Job will run again in 10 seconds."
229
- msgstr "清理到期缓存计划任务执行失败,将会在10秒后重试。"
230
-
231
- #: wp-cache-phase2.php:1213
232
- msgid "Cache expiry cron job took more than 30 seconds. You should probably run the garbage collector more often."
233
- msgstr "缓存到期检查任务已经执行了不少于30秒。您可能需要更经常地运行垃圾回收期。"
234
-
235
- #: wp-cache-phase2.php:1222
236
- msgid "[%1$s] WP Super Cache GC Report"
237
- msgstr "[%1$s] [%1$s] WP Super Cache 垃圾回收器报告"
238
 
239
- #: wp-cache.php:99
 
240
  msgid "Please create %s /wp-cache-config.php from wp-super-cache/wp-cache-config-sample.php"
241
- msgstr "请把 wp-super-cache/wp-cache-config-sample.php 改为 %s /wp-cache-config.php"
242
 
243
- #: wp-cache.php:162
 
 
 
 
244
  msgid "Warning! PHP Safe Mode Enabled!"
245
  msgstr "警告!PHP 安全模式已启用!"
246
 
247
- #: wp-cache.php:163
248
  msgid "You may experience problems running this plugin because SAFE MODE is enabled."
249
- msgstr "由于启用了安全模式,在插件运行时您可能会遇到问题。"
250
 
251
- #: wp-cache.php:167
252
  msgid "Your server is set up to check the owner of PHP scripts before allowing them to read and write files."
253
- msgstr " PHP 代码读取或者写入文件之前,您的服务器程序将会检查其属主。"
254
 
255
- #: wp-cache.php:168
 
256
  msgid "You or an administrator may be able to make it work by changing the group owner of the plugin scripts to match that of the web server user. The group owner of the %s/cache/ directory must also be changed. See the <a href=\"http://php.net/features.safe-mode\">safe mode manual page</a> for further details."
257
- msgstr "您或者管理员也许能通过修改插件的用户组属主为服务器软件用户来使得插件正常工作。%s/cache/ 目录的用户组属主同样需要修改。更多信息请访问 <a href=\"http://php.net/features.safe-mode\">PHP 安全模式手册</a> 页面。"
258
 
259
- #: wp-cache.php:170
260
  msgid "You or an administrator must disable this. See the <a href=\"http://php.net/features.safe-mode\">safe mode manual page</a> for further details. This cannot be disabled in a .htaccess file unfortunately. It must be done in the php.ini config file."
261
- msgstr "您或者管理员必须禁用该功能。更多信息请访问 <a href=\"http://php.net/features.safe-mode\">PHP 安全模式手册</a> 。很遗憾这个操作不能在 .htaccess 文件中修改,您必须修改 php.ini 文件。"
262
 
263
- #: wp-cache.php:176
264
  msgid "Permlink Structure Error"
265
- msgstr "固定链接结构出错"
266
 
267
- #: wp-cache.php:177
268
  msgid "A custom url or permalink structure is required for this plugin to work correctly. Please go to the <a href=\"options-permalink.php\">Permalinks Options Page</a> to configure your permalinks."
269
- msgstr "本插件需要正确的自定义链接或者固定链接结构才能正常工作。请前往 <a href=\"options-permalink.php\">固定链接设置</a> 页面进行配置。"
 
 
 
 
 
 
 
 
270
 
271
- #: wp-cache.php:189
 
272
  msgid "Warning! Your hostname \"%s\" resolves to %s"
273
- msgstr "警告!您的主机 \"%s\" 被解析至 %s"
274
 
275
- #: wp-cache.php:190
 
276
  msgid "Your server thinks your hostname resolves to %s. Some services such as garbage collection by this plugin, and WordPress scheduled posts may not operate correctly."
277
- msgstr "您的服务器认为您的主机解析至 %s。有些服务比如垃圾回收器和定时发布功能将无法正常工作。"
278
 
279
- #: wp-cache.php:191
280
- #: wp-cache.php:205
 
281
  msgid "Please see entry 16 in the <a href=\"%s\">Troubleshooting section</a> of the readme.txt"
282
- msgstr "请查看 readme.txt 中 <a href=\"%s\">疑难问题解决部分</a> 的第16号问题"
283
 
284
- #: wp-cache.php:204
285
  msgid "Unfortunately WordPress cannot find the file wp-cron.php. This script is required for the the correct operation of garbage collection by this plugin, WordPress scheduled posts as well as other critical activities."
286
- msgstr "很遗憾,找不到 wp-cron.php。该文件是垃圾回收器正常工作,WordPress 定时发布任务以及其他活动的关键。"
287
 
288
- #: wp-cache.php:218
289
- msgid "Cannot continue... fix previous problems and retry."
290
- msgstr "无法继续... 清修复之前遇到的问题然后重试。"
291
-
292
- #: wp-cache.php:227
293
  msgid "Zlib Output Compression Enabled!"
294
- msgstr "Zlib 输出压缩已启用!"
295
 
296
- #: wp-cache.php:228
297
  msgid "PHP is compressing the data sent to the visitors of your site. Disabling this is recommended as the plugin caches the compressed output once instead of compressing the same page over and over again. Also see #21 in the Troubleshooting section. See <a href=\"http://php.net/manual/en/zlib.configuration.php\">this page</a> for instructions on modifying your php.ini."
298
- msgstr "PHP 正在压缩发送到来访者的数据。建议禁用该功能,因为本插件已经缓存了压缩后的输出数据而不是重复压缩多次它们。同时请查看 readme 文件的疑难问题解决部分的第21号问题。查看 <a href=\"http://php.net/manual/en/zlib.configuration.php\">这个页面</a> 以了解配置 php.ini 的介绍。"
299
 
300
- #: wp-cache.php:232
301
  msgid "Mod rewrite may not be installed!"
302
- msgstr "Mod rewrite 模块可能未安装!"
303
 
304
- #: wp-cache.php:233
305
- msgid "It appears that mod_rewrite is not installed. Sometimes this check isn&#8217;t 100% reliable, especially if you are not using Apache. Please verify that the mod_rewrite module is loaded. It is required for serving Super Cache static files. You will still be able to use legacy or PHP modes."
306
- msgstr "貌似 mod_rewrite 模块尚未安装。也许情况并不是这样,尤其是当您不使用 Apache 作为服务器程序的时候。请检查 mod_rewrite 模块是否被加载。这对于 Super Cache 的静态文件的调用是必需的。不过您可以使用 PHP 缓存模式或者传统模式运行本插件。"
307
 
308
- #: wp-cache.php:239
309
  msgid "Read Only Mode. Configuration cannot be changed."
310
  msgstr "只读模式。设置无法更改。"
311
 
312
- #: wp-cache.php:240
 
 
 
 
 
 
 
 
 
313
  msgid "The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> and cannot be modified. That file must be writeable by the webserver to make any changes."
314
- msgstr "WP Super Cache 的设置文件 <code>%s/wp-cache-config.php</code> 无法被变更。这个文件必须被设置为可被写入权限才能正常工作。"
315
 
316
- #: wp-cache.php:241
317
  msgid "A simple way of doing that is by changing the permissions temporarily using the CHMOD command or through your ftp client. Make sure it&#8217;s globally writeable and it should be fine."
318
- msgstr "最简单的方法就是通过 ftp 客户端使用 CHMOD 命令临时修改文件权限。请确保文件全局可被写入,然后就可以了。"
319
 
320
- #: wp-cache.php:242
321
  #: wp-cache.php:258
322
- msgid "<a href=\"http://codex.wordpress.org/Changing_File_Permissions\">This page</a> explains how to change file permissions."
323
- msgstr "<a href=\"http://codex.wordpress.org/Changing_File_Permissions\">这个页面</a> 讲述了如何修改文件权限。"
324
-
325
- #: wp-cache.php:243
326
  msgid "Writeable:"
327
- msgstr "可写的:"
328
 
329
- #: wp-cache.php:244
330
  msgid "Readonly:"
331
  msgstr "只读:"
332
 
333
- #: wp-cache.php:256
 
334
  msgid "Warning! %s is writeable!"
335
- msgstr "警告! %s 可被写入!"
336
 
337
- #: wp-cache.php:257
 
338
  msgid "You should change the permissions on %s and make it more restrictive. Use your ftp client, or the following command to fix things:"
339
- msgstr "您应该通过 ftp 客户端或者以下命令更改 %s 的权限并确保它被严格限制:"
340
-
341
- #: wp-cache.php:267
342
- msgid "Mobile rewrite rules detected"
343
- msgstr "检测到针对手机的重写规则"
344
-
345
- #: wp-cache.php:268
346
- msgid "For best performance you should enable \"Mobile device support\" or delete the mobile rewrite rules in your .htaccess. Look for the 2 lines with the text \"2.0\\ MMP|240x320\" and delete those."
347
- msgstr "为了更好的访问体验,您应该启用 \"手机设备支持\" 或者删除 .htaccess. 文件中的手机重写规则。请查找 \"2.0\\ MMP|240x320\" 文本并删除它们。"
348
-
349
- #: wp-cache.php:268
350
- msgid "This will have no affect on ordinary users but mobile users will see uncached pages."
351
- msgstr "这将不会影响电脑用户,但是手机用户将会访问未缓存的页面。"
352
-
353
- #: wp-cache.php:274
354
- #: wp-cache.php:285
355
- msgid "Rewrite rules must be updated"
356
- msgstr "重写规则必须被更新"
357
 
358
- #: wp-cache.php:275
359
- #: wp-cache.php:286
360
- msgid "The rewrite rules required by this plugin have changed or are missing. "
361
- msgstr "插件需要的重写规则已被更改或者缺失。"
362
-
363
- #: wp-cache.php:276
364
- msgid "Mobile support requires extra rules in your .htaccess file, or you can set the plugin to legacy mode. Here are your options (in order of difficulty):"
365
- msgstr "若要对手机用户进行配置,需要额外添加规则到 .htaccess 文件中,或者您启用传统模式。这是您的选择(有些困难):"
366
-
367
- #: wp-cache.php:277
368
- msgid "Set the plugin to legacy mode and enable mobile support."
369
- msgstr "设置插件为传统模式并且启用手机支持。"
370
-
371
- #: wp-cache.php:278
372
- #: wp-cache.php:287
373
- msgid "Scroll down the Advanced Settings page and click the <strong>Update Mod_Rewrite Rules</strong> button."
374
- msgstr "滚动查看高级选项卡,找到并点击 <strong>更新 Mod_Rewrite 规则</strong> 按钮。"
375
-
376
- #: wp-cache.php:279
377
- msgid "Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin regenerate them by reloading this page."
378
- msgstr "删除插件的 mod_rewrite 规则,它们是 %s.htaccess 文件中从 <code># BEGIN WPSuperCache</code> 开始到 <code># END WPSuperCache</code> 结束的代码块,随后请刷新本页来重建规则。"
379
-
380
- #: wp-cache.php:280
381
- msgid "Add the rules yourself. Edit %s.htaccess and find the block of code enclosed by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code>. There are two sections that look very similar. Just below the line <code>%%{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$</code> add these lines: (do it twice, once for each section)"
382
- msgstr "请自行添加规则。编辑 %s.htaccess 并找到从 <code># BEGIN WPSuperCache</code> 开始到 <code># END WPSuperCache</code> 结束的这部分代码。请注意有两部分很相似,请在 <code>%%{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$</code> 下方添加这些规则: (请执行该操作两次,每一部分一次)"
383
-
384
- #: wp-cache.php:293
385
- msgid "Required to serve compressed supercache files properly."
386
- msgstr "这是必需的以便能够正确调用缓存文件。"
387
-
388
- #: wp-cache.php:293
389
- msgid "Required to set caching information on supercache pages. IE7 users will see old pages without this module."
390
- msgstr "该模块的作用是设定 supercache 页面的缓存信息。没有该模块,IE7用户将只会看见旧页面。"
391
-
392
- #: wp-cache.php:293
393
- msgid "Set the expiry date on supercached pages. Visitors may not see new pages when they refresh or leave comments without this module."
394
- msgstr "设定缓存文件的到期时间。没有该模块时,当来访者刷新或者留下评论时可能不会看到新页面。"
395
-
396
- #: wp-cache.php:300
397
- msgid "Missing Apache Modules"
398
- msgstr "找不到 Apache 模块"
399
-
400
- #: wp-cache.php:301
401
- msgid "The following Apache modules are missing. The plugin will work in legacy mode without them. In full Supercache mode, your visitors may see corrupted pages or out of date content however."
402
- msgstr "由于下列 Apache 模块的缺失,本插件只能运行于传统模式。如果强制在完整的运行模式下运行,来访者可能会浏览异常的页面。"
403
-
404
- #: wp-cache.php:502
405
  msgid "<strong>Warning!</strong> You attempted to enable compression but <code>zlib.output_compression</code> is enabled. See #21 in the Troubleshooting section of the readme file."
406
- msgstr "<strong>警告!</strong>您尝试启用压缩但是 <code>zlib.output_compression</code> 参数已被启用。请查看 readme 文件的疑难问题解决部分的第21号解答。"
407
-
408
- #: wp-cache.php:598
409
- msgid "WP Super Cache Settings"
410
- msgstr "WP Super Cache 设置"
411
-
412
- #: wp-cache.php:612
413
- msgid "Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced Settings Page by default."
414
- msgstr "注意:由于 <em>Mod_rewrite 模式或者传统模式已启用</em>,默认将显示高级设置选项卡。"
415
-
416
- #: wp-cache.php:623
417
- msgid "Configuration file changed, some values might be wrong. Load the page again from the \"Settings\" menu to reset them."
418
- msgstr "设置文件已变更,有些数值可能是错误的。请通过 \"设置\" 菜单重新加载。"
419
-
420
- #: wp-cache.php:655
421
- msgid "Caching must be enabled to use this feature"
422
- msgstr "这项功能必须在启用缓存功能后方可使用。"
423
-
424
- #: wp-cache.php:673
425
- #: wp-cache.php:813
426
- msgid "Cancel Cache Preload"
427
- msgstr "取消预加载缓存"
428
-
429
- #: wp-cache.php:681
430
- msgid "Scheduled preloading of cache almost cancelled. It may take up to a minute for it to cancel completely."
431
- msgstr "预缓存计划任务马上就会被取消,这可能需要花费一点时间。"
432
-
433
- #: wp-cache.php:692
434
- msgid "Scheduled preloading of cache cancelled."
435
- msgstr "预缓存计划任务已取消"
436
-
437
- #: wp-cache.php:724
438
- #: wp-cache.php:811
439
- msgid "Preload Cache Now"
440
- msgstr "立即预加载缓存"
441
-
442
- #: wp-cache.php:728
443
- msgid "Scheduled preloading of cache in 10 seconds."
444
- msgstr "预缓存任务在10秒后启动。"
445
-
446
- #: wp-cache.php:733
447
- msgid "Scheduled preloading of cache in %d minutes"
448
- msgstr "预缓存任务在%d秒后启动。"
449
-
450
- #: wp-cache.php:737
451
- msgid "This will cache every published post and page on your site. It will create supercache static files so unknown visitors (including bots) will hit a cached page. This will probably help your Google ranking as they are using speed as a metric when judging websites now."
452
- msgstr "预缓存的功能是缓存所有已发布的页面和文章。它会创建 supercache 静态文件,这样的话,未知用户(包括搜索引擎蜘蛛)将会获得缓存后的页面。这将帮助您的站点的 Google PR 提升,因为 Google 会把网站的响应速度作为评判网站的标准。"
453
-
454
- #: wp-cache.php:738
455
- msgid "Preloading creates lots of files however. Caching is done from the newest post to the oldest so please consider only caching the newest if you have lots (10,000+) of posts. This is especially important on shared hosting."
456
- msgstr "预缓存将会创建大量新文件,并且会将所有文章进行缓存。如果您有10000篇以上文章,不建议您使用该功能,尤其是在共享主机上。"
457
-
458
- #: wp-cache.php:739
459
- msgid "In &#8217;Preload Mode&#8217; regular garbage collection will only clean out old legacy files for known users, not the preloaded supercache files. This is a recommended setting when the cache is preloaded."
460
- msgstr "在预缓存模式下,垃圾回收器将只会对已知用户清理传统模式产生的旧文件,而不是预缓存的 supercache 文件。当缓存被预缓存时,本功能建议启用。"
461
-
462
- #: wp-cache.php:743
463
- msgid "Refresh preloaded cache files every %s minutes. (0 to disable, minimum %d minutes.)"
464
- msgstr "每%s分钟刷新预缓存文件(设置为0则禁用,至少%d分钟。)"
465
-
466
- #: wp-cache.php:756
467
- msgid "all"
468
- msgstr "全部"
469
-
470
- #: wp-cache.php:769
471
- msgid "Preload %s posts."
472
- msgstr "预缓存 %s 篇文章。"
473
-
474
- #: wp-cache.php:776
475
- msgid "Preload mode (garbage collection only on legacy cache files. Recommended.)"
476
- msgstr "预缓存模式(垃圾回收器只会在传统模式上生效。推荐。)"
477
-
478
- #: wp-cache.php:779
479
- msgid "Preload tags, categories and other taxonomies."
480
- msgstr "预缓存标签,分类以及其他。"
481
-
482
- #: wp-cache.php:782
483
- msgid "Send me status emails when files are refreshed."
484
- msgstr "当缓存文件刷新完毕后发送邮件通知。"
485
-
486
- #: wp-cache.php:787
487
- msgid "Many emails, 2 emails per 100 posts."
488
- msgstr "大量邮件,每100篇文章发送2封邮件。"
489
-
490
- #: wp-cache.php:790
491
- msgid "Medium, 1 email per 100 posts."
492
- msgstr "适量邮件,每100篇文章发送1封邮件。"
493
-
494
- #: wp-cache.php:793
495
- msgid "Less emails, 1 at the start and 1 at the end of preloading all posts."
496
- msgstr "少量邮件,缓存第一篇发送1封邮件,缓存结束时发送再1封邮件。"
497
-
498
- #: wp-cache.php:797
499
- msgid "Refresh of cache in %d hours %d minutes and %d seconds."
500
- msgstr "缓存将会在 %d小时%d分%d秒后刷新。"
501
-
502
- #: wp-cache.php:798
503
- msgid "Full refresh of cache in %d hours %d minutes and %d seconds."
504
- msgstr "缓存全部刷新将会在%d小时%d分%d秒后开始。"
505
-
506
- #: wp-cache.php:804
507
- msgid "Currently caching from post %d to %d."
508
- msgstr "正在缓存文章 %d 到文章 %d。"
509
 
510
- #: wp-cache.php:808
511
- msgid "<strong>Page last cached:</strong> %s"
512
- msgstr "<strong>页面最后缓存:</strong> %s"
513
 
514
- #: wp-cache.php:811
515
- msgid "Update Settings"
516
- msgstr "更新设置"
517
-
518
- #: wp-cache.php:819
519
- msgid "Preloading of cache disabled. Please disable legacy page caching or talk to your host administrator."
520
- msgstr "预缓存功能已禁用。请禁用传统模式或者与您的主机管理员联系。"
521
 
522
- #: wp-cache.php:836
523
- #: wp-cache.php:947
524
- msgid "Caching"
525
- msgstr "缓存功能"
526
 
527
- #: wp-cache.php:840
528
- msgid "Cache hits to this website for quick access."
529
- msgstr "启用缓存以便加快访问。"
530
-
531
- #: wp-cache.php:840
532
- #: wp-cache.php:841
533
- #: wp-cache.php:858
534
- #: wp-cache.php:867
535
- #: wp-cache.php:874
536
- #: wp-cache.php:877
537
- #: wp-cache.php:894
538
- #: wp-cache.php:950
539
- msgid "Recommended"
540
- msgstr "推荐"
541
 
542
- #: wp-cache.php:841
543
- msgid "Use mod_rewrite to serve cache files."
544
- msgstr "mod_rewrite 缓存模式。"
545
 
546
- #: wp-cache.php:842
547
- msgid "Use PHP to serve cache files."
548
- msgstr "PHP 缓存模式。"
549
-
550
- #: wp-cache.php:843
551
- msgid "Legacy page caching."
552
- msgstr "传统缓存模式。"
553
-
554
- #: wp-cache.php:844
555
- msgid "Mod_rewrite is fastest, PHP is almost as fast and easier to get working, while legacy caching is slower again, but more flexible and also easy to get working. New users should use PHP caching."
556
- msgstr "Mod_rewrite 方式最快;PHP 方式几乎与前者一样快并且容易部署;传统模式比它们稍慢,但是更灵活且部署简单。建议新用户使用 PHP 缓存模式。"
557
-
558
- #: wp-cache.php:850
559
- msgid "Miscellaneous"
560
- msgstr "杂项"
561
 
562
- #: wp-cache.php:856
563
- msgid "Warning! Compression is disabled as gzencode() function not found."
564
- msgstr "警告!由于未找到 gzencode() 函数,压缩已被禁用。"
565
 
566
- #: wp-cache.php:858
567
- msgid "Compress pages so they&#8217;re served more quickly to visitors."
568
- msgstr "压缩页面以便让来访者更快浏览。"
569
 
570
- #: wp-cache.php:859
571
- msgid "Compression is disabled by default because some hosts have problems with compressed files. Switching it on and off clears the cache."
572
- msgstr "压缩默认已禁用,因为有些主机对压缩过的文件处理有问题。勾选或取消勾选该功能会清除缓存。"
573
 
574
- #: wp-cache.php:867
575
- msgid "304 Not Modified browser caching. Indicate when a page has not been modified since last requested."
576
- msgstr "304 Not Modified 浏览器缓存。声明一个页面自从上一次被请求后还未被变更。"
577
 
578
- #: wp-cache.php:870
579
- msgid "Warning! 304 browser caching is only supported when not using mod_rewrite caching."
580
- msgstr "警告!304浏览器缓存功能只有不使用 mod_rewrite 缓存模式时生效。"
581
 
582
- #: wp-cache.php:872
583
- msgid "304 support is disabled by default because in the past GoDaddy had problems with some of the headers used."
584
- msgstr "304支持默认已禁用,因为 GoDaddy 对有些网页头部处理有问题。"
585
-
586
- #: wp-cache.php:874
587
- msgid "Don&#8217;t cache pages for <acronym title=\"Logged in users and those that comment\">known users</acronym>."
588
- msgstr "不要为<acronym title=\"已登录用户和评论者\">已知用户</acronym>缓存。"
589
 
590
- #: wp-cache.php:875
591
- msgid "Don&#8217;t cache pages with GET parameters. (?x=y at the end of a url)"
592
- msgstr "不要为 GET 请求缓存。(地址结尾为?x=y)"
593
 
594
- #: wp-cache.php:876
595
- msgid "Make known users anonymous so they&#8217;re served supercached static files."
596
- msgstr "让已知用户匿名使他们浏览的内容是缓存文件。"
 
597
 
598
- #: wp-cache.php:877
599
- msgid "Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated."
600
- msgstr "缓存重建。当新缓存生成时调用缓存文件给匿名用户。"
601
 
602
- #: wp-cache.php:878
603
- msgid "Proudly tell the world your server is <a href=\"%s\">Stephen Fry proof</a>! (places a message in your blog&#8217;s footer)"
604
- msgstr "自豪地告诉世界<a href=\"%s\">Stephen Fry proof</a>!(在您的博客底部显示一行感谢作者信息)"
605
 
606
- #: wp-cache.php:884
607
- #: wp-cache.php:1162
608
- #: wp-cache.php:1778
609
- msgid "Advanced"
610
- msgstr "高级"
611
 
612
- #: wp-cache.php:888
613
- msgid "Mobile device support. (External plugin or theme required. See the <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for further details.)"
614
- msgstr "移动设备支持。(需要第三方插件或主题,请访问 <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> 页面以了解更多信息。)"
615
 
616
- #: wp-cache.php:890
617
- msgid "Mobile Browsers"
618
- msgstr "手机浏览器"
619
 
620
- #: wp-cache.php:890
621
- msgid "Mobile Prefixes"
622
- msgstr "手机号段"
623
 
624
- #: wp-cache.php:892
625
- msgid "Remove UTF8/blog charset support from .htaccess file. Only necessary if you see odd characters or punctuation looks incorrect. Requires rewrite rules update."
626
- msgstr "移除 .htaccess 文件中的 UTF8/blog 字符集。这个功能只适用于当您发现文件中字符不正确时。本功能需要更新重写规则。"
627
 
628
- #: wp-cache.php:893
629
- msgid "Clear all cache files when a post or page is published or updated."
630
- msgstr "当有新文章或页面的发布或更新时清除之前的缓存文件。"
631
-
632
- #: wp-cache.php:894
633
- msgid "Extra homepage checks. (Very occasionally stops homepage caching)"
634
- msgstr "首页额外检查。 (极少数情况下会停止对首页的缓存)"
635
 
636
- #: wp-cache.php:895
637
- msgid "Only refresh current page when comments made."
638
- msgstr "当某页面有新评论时,只刷新该页面的缓存。"
639
 
640
- #: wp-cache.php:896
641
- msgid "List the newest cached pages on this page."
642
- msgstr "在该页列出所有最新的缓存页面。"
643
 
644
- #: wp-cache.php:898
645
- msgid "Coarse file locking. You probably don&#8217;t need this but it may help if your server is underpowered. Warning! <em>May cause your server to lock up in very rare cases!</em>"
646
- msgstr "粗略文件锁定。您可能不需要该功能,但是它对小型站点很有帮助。警告!<em>某些情况下您的服务器会被锁住!</em>"
 
647
 
648
- #: wp-cache.php:900
649
- msgid "Late init. Display cached files after WordPress has loaded. Most useful in legacy mode."
650
- msgstr "延迟初始化。该功能是指在 WordPress 加载后显示已缓存的文件。在传统模式下很有用。"
 
651
 
652
- #: wp-cache.php:902
653
  msgid "Use object cache to store cached files."
654
- msgstr "使用对象缓存系统来存储缓存文件。"
655
 
656
- #: wp-cache.php:902
657
  msgid "(Experimental)"
658
- msgstr "(实验室功能)"
659
-
660
- #: wp-cache.php:904
661
- msgid "<strong>DO NOT CACHE PAGE</strong> secret key: <a href=\"%s\">%s</a>"
662
- msgstr "<strong>访问这个链接将不会显示缓存内容</strong>: <a href=\"%s\">%s</a>"
663
-
664
- #: wp-cache.php:910
665
- msgid "Note:"
666
- msgstr "提示:"
667
 
668
- #: wp-cache.php:912
669
- msgid "Uninstall this plugin on the plugins page. It will automatically clean up after itself. If manual intervention is required then simple instructions are provided."
670
- msgstr "请前往插件管理页面卸载本插件,插件会自动清除。如果需要您的手动操作,稍后会有提示。"
671
-
672
- #: wp-cache.php:913
673
- msgid "If uninstalling this plugin, make sure the directory <em>%s</em> is writeable by the webserver so the files <em>advanced-cache.php</em> and <em>cache-config.php</em> can be deleted automatically. (Making sure those files are writeable too is probably a good idea!)"
674
- msgstr "如果要卸载该插件,请确保 <em>%s</em> 目录可被服务器程序写入,这样的话 <em>advanced-cache.php</em> 和 <em>cache-config.php</em> 可被自动删除。(当然也请确保这两个文件可被写入!)"
675
-
676
- #: wp-cache.php:914
677
- msgid "Please see the <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> for instructions on uninstalling this script. Look for the heading, \"How to uninstall WP Super Cache\"."
678
- msgstr "请查看 <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> 以了解卸载流程。请在文件中搜索 \"How to uninstall WP Super Cache\"以便快速浏览。"
679
-
680
- #: wp-cache.php:915
681
  msgid "Need help? Check the <a href=\"%1$s\">Super Cache readme file</a>. It includes installation documentation, a FAQ and Troubleshooting tips. The <a href=\"%2$s\">support forum</a> is also available. Your question may already have been answered."
682
- msgstr "需要帮助?请查看 <a href=\"%1$s\">Super Cache readme 文件</a>。它包含了安装文档,常见问题解答以及某些故障排除提示。还有建议您查看<a href=\"%2$s\">论坛支持</a>,您的问题也许已经被解答过了。"
683
 
684
- #: wp-cache.php:918
685
- #: wp-cache.php:965
686
  msgid "Update Status"
687
- msgstr "更新"
688
-
689
- #: wp-cache.php:925
690
- msgid "Accepted Filenames &amp; Rejected URIs"
691
- msgstr "已被接受的文件名和拒绝的 URI"
692
-
693
- #: wp-cache.php:950
694
- msgid "Caching On"
695
- msgstr "启用缓存功能"
696
-
697
- #: wp-cache.php:951
698
- msgid "Caching Off"
699
- msgstr "禁用缓存功能"
700
-
701
- #: wp-cache.php:952
702
- msgid "Note: enables PHP caching, cache rebuild, and mobile support"
703
- msgstr "提示:将会启用 PHP 缓存模式,缓存重建和手机支持"
704
-
705
- #: wp-cache.php:962
706
- msgid "Notice: PHP caching enabled but Supercache mod_rewrite rules detected. Cached files will be served using those rules. If your site is working ok please ignore this message or you can edit the .htaccess file in the root of your install and remove the SuperCache rules."
707
- msgstr "注意:PHP 缓存模式已启用,但是检测到遗留的 mod_rewrite 规则。已缓存的文件将会被这些规则调用。如果您的站点运行正常,请忽略本提示,否则请自行编辑 .htaccess 文件。"
708
-
709
- #: wp-cache.php:967
710
- msgid "Cache Tester"
711
- msgstr "缓存测试"
712
-
713
- #: wp-cache.php:968
714
- msgid "Test your cached website by clicking the test button below."
715
- msgstr "点击下面的测试按钮测试缓存效果。"
716
 
717
- #: wp-cache.php:974
718
- msgid "Fetching %s to prime cache: "
719
- msgstr "正在抓取 %s 的初始缓存:"
720
 
721
- #: wp-cache.php:976
722
- #: wp-cache.php:985
723
- #: wp-cache.php:997
724
- msgid "OK"
725
- msgstr "OK"
726
 
727
- #: wp-cache.php:979
728
- msgid "Fetching first copy of %s: "
729
- msgstr "抓取 %s 的第一份缓存拷贝:"
730
-
731
- #: wp-cache.php:988
732
- #: wp-cache.php:999
733
- msgid "FAILED"
734
- msgstr "失败"
735
-
736
- #: wp-cache.php:991
737
- msgid "Fetching second copy of %s: "
738
- msgstr "抓取 %s 的第二份缓存拷贝:"
739
-
740
- #: wp-cache.php:1003
741
- msgid "One or more page requests failed:"
742
- msgstr "1个或多个页面的请求失败:"
743
-
744
- #: wp-cache.php:1022
745
- #: wp-cache.php:1023
746
- msgid "Page %d: %d (%s)"
747
- msgstr "页面 %d: %d (%s)"
748
-
749
- #: wp-cache.php:1029
750
- msgid "Page 1: %s"
751
- msgstr "第一页: %s"
752
-
753
- #: wp-cache.php:1030
754
- msgid "Page 2: %s"
755
- msgstr "第二页: %s"
756
-
757
- #: wp-cache.php:1031
758
- msgid "The timestamps on both pages match!"
759
- msgstr "两个页面的时间戳相符!"
760
-
761
- #: wp-cache.php:1033
762
- msgid "The pages do not match! Timestamps differ or were not found!"
763
- msgstr "页面不相符!时间戳有差异或者不存在!"
764
-
765
- #: wp-cache.php:1034
766
- msgid "Things you can do:"
767
- msgstr "您可以做的:"
768
-
769
- #: wp-cache.php:1035
770
- msgid "Load your homepage in a logged out browser, check the timestamp at the end of the html source. Load the page again and compare the timestamp. Caching is working if the timestamps match."
771
- msgstr "它会在一个已经登出的浏览器环境中加载首页并检查 html 文件结尾的时间戳,然后再次加载页面并对比时间戳。如果时间戳相符则缓存正在工作。"
772
-
773
- #: wp-cache.php:1036
774
- msgid "Enable logging on the Debug page here. That should help you track down the problem."
775
- msgstr "在这里启用调试页面的日志记录。这会帮助您跟踪问题。"
776
-
777
- #: wp-cache.php:1037
778
- msgid "You should check Page 1 and Page 2 above for errors. Your local server configuration may not allow your website to access itself."
779
- msgstr "您应该在出错前检查页面1和页面2。您的本地服务器设置可能不允许您的网站读取。"
780
-
781
- #: wp-cache.php:1045
782
- msgid "Send non-secure (non https) request for homepage"
783
- msgstr "发送不安全的(非 https) 首页请求"
784
-
785
- #: wp-cache.php:1046
786
- msgid "Test Cache"
787
- msgstr "测试缓存"
788
-
789
- #: wp-cache.php:1050
790
- msgid "Delete Cached Pages"
791
- msgstr "删除已缓存页面"
792
-
793
- #: wp-cache.php:1051
794
- msgid "Cached pages are stored on your server as html and PHP files. If you need to delete them use the button below."
795
- msgstr "已缓存的页面以 html 页面或者 PHP 文件的形式存储在您的服务器上。如果您需要删除它们,请使用下方按钮来完成。"
796
-
797
- #: wp-cache.php:1054
798
- #: wp-cache.php:2316
799
- #: wp-cache.php:2335
800
- #: wp-cache.php:2506
801
- #: wp-cache.php:3030
802
- msgid "Delete Cache"
803
- msgstr "删除缓存"
804
 
805
- #: wp-cache.php:1061
806
- #: wp-cache.php:2322
807
- msgid "Delete Cache On All Blogs"
808
- msgstr "删除所有博客上的缓存"
809
 
810
- #: wp-cache.php:1066
811
- msgid "Recommended Links and Plugins"
812
- msgstr "有用的链接和插件"
813
 
814
- #: wp-cache.php:1067
815
- msgid "Caching is only one part of making a website faster. Here are some other plugins that will help:"
816
- msgstr "缓存只是让站点运行更快的一种方法,这里有一些其它插件提供类似功能:"
817
 
818
- #: wp-cache.php:1068
819
- msgid "<a href=\"%s\">WPSCMin</a>, a Supercache plugin that minifies cached pages by removing whitespaces and extra characters "
820
- msgstr "<a href=\"%s\">WPSCMin</a>,一个可以通过移除空白部分和不必要的字符来缩小缓存页面大小的 Supercache 插件"
 
821
 
822
- #: wp-cache.php:1069
823
- msgid "<a href=\"%s\">Yahoo! Yslow</a> is an extension for the Firefox add-on Firebug. It analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. Also try the performance tools online at <a href=\"%s\">GTMetrix</a>."
824
- msgstr "<a href=\"%s\">Yahoo! Yslow</a> 是一款火狐浏览器扩展 Firebug 的插件。它会通过一组高性能网页来分析网页的表现并给您改善网页的建议。您也可以在线使用表现检查工具 <a href=\"%s\">GTMetrix</a>。"
 
825
 
826
- #: wp-cache.php:1070
827
- msgid "<a href=\"%s\">Use Google Libraries</a> allows you to load some commonly used Javascript libraries from Google webservers. Ironically it may reduce your Yslow score."
828
- msgstr "<a href=\"%s\">使用 Google Libraries</a> 允许您从 Google 的服务器加载某些流行 Javascript 库。不过这很荒谬,会降低您的 Yslow 评估分数。"
829
 
830
- #: wp-cache.php:1072
831
- msgid "<strong>Advanced users only:</strong> <a href=\"%s\">Speed up your site with Caching and cache-control</a> explains how to make your site more cacheable with .htaccess rules."
832
- msgstr "<strong>只允许高级用户:</strong> <a href=\"%s\">Speed up your site with Caching and cache-control</a> 讲述了如何使您的网站通过 .htaccess 规则更容易被缓存。"
833
 
834
- #: wp-cache.php:1073
835
- msgid "<strong>Advanced users only:</strong> Install an object cache. Choose from <a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a href=\"%s\">eAcccelerator</a> and others."
836
- msgstr "<strong>只允许高级用户:</strong> 安装对象缓存系统。您可以选择 <a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a href=\"%s\">eAcccelerator</a> 或更多。"
837
 
838
- #: wp-cache.php:1074
839
- msgid "<a href=\"%s\">Cron View</a> is a useful plugin to use when trying to debug garbage collection and preload problems."
840
- msgstr "<a href=\"%s\">Cron View</a> 是一款调试垃圾回收器和预缓存问题的利器。"
841
 
842
- #: wp-cache.php:1085
843
- msgid "Make WordPress Faster"
844
- msgstr "让 WordPress 更快"
845
-
846
- #: wp-cache.php:1086
847
  msgid "%1$s is maintained and developed by %2$s with contributions from many others."
848
- msgstr "%1$s %2$s 与众多贡献人员一同开发并维护。"
849
 
850
- #: wp-cache.php:1087
851
- msgid "He blogs at %1$s and posts photos at %2$s."
852
- msgstr "他有一个博客 %1$s 并会把自己的照片放在 %2$s"
 
853
 
854
- #: wp-cache.php:1088
 
855
  msgid "Please say hi to him on %s too!"
856
- msgstr "欢迎您在 %s 上与他交流!"
857
-
858
- #: wp-cache.php:1089
859
- msgid "Need Help?"
860
- msgstr "需要帮助?"
861
-
862
- #: wp-cache.php:1091
863
- msgid "Use the debug system in the Debug tab above. It will tell you what the plugin is doing."
864
- msgstr "在调试选项卡中使用调试工具。这将会告诉您插件正在如何工作。"
865
-
866
- #: wp-cache.php:1092
867
- msgid "<a href=\"%1$s\">Installation Help</a>"
868
- msgstr "<a href=\"%1$s\">安装帮助</a>"
869
-
870
- #: wp-cache.php:1093
871
- msgid "<a href=\"%1$s\">Frequently Asked Questions</a>"
872
- msgstr "<a href=\"%1$s\">常见问题解答</a>"
873
-
874
- #: wp-cache.php:1094
875
- msgid "<a href=\"%1$s\">Support Forum</a>"
876
- msgstr "<a href=\"%1$s\">论坛支持</a>"
877
-
878
- #: wp-cache.php:1096
879
- msgid "Rate This Plugin!"
880
- msgstr "给插件评个分吧!"
881
 
882
- #: wp-cache.php:1097
883
- msgid "Please <a href=\"%s\">rate</a> this plugin and tell me if it works for you or not. It really helps development."
884
- msgstr "请 <a href=\"%s\">对这个插件评分</a> 并告诉我您的需求。这对我们的开发真的十分有用。"
885
-
886
- #: wp-cache.php:1106
887
  msgid "Cached pages since %1$s : <strong>%2$s</strong>"
888
- msgstr " %1$s 已缓存的页面:<strong>%2$s</strong>"
889
 
890
- #: wp-cache.php:1107
891
  msgid "Newest Cached Pages:"
892
- msgstr "最新的已缓存页面:"
893
 
894
- #: wp-cache.php:1111
 
895
  msgid "Cached %s seconds ago"
896
- msgstr "%s秒前已缓存"
897
 
898
- #: wp-cache.php:1114
899
  msgid "(may not always be accurate on busy sites)"
900
- msgstr "(在某些繁忙的大型站点上可能会不准确)"
901
-
902
- #: wp-cache.php:1133
903
- msgid "Cache plugins are PHP scripts that live in a plugins folder inside the wp-super-cache folder. They are loaded when Supercache loads, much sooner than regular WordPress plugins."
904
- msgstr "这些对第三方插件的兼容本质都是位于 wp-super-cache 目录内 plugins 子目录内的 PHP 文件,它们在 Supercache 运行时即被加载,比这些第三方插件本身被加载稍微提前。"
905
 
906
- #: wp-cache.php:1134
907
- msgid "This is strictly an advanced feature only and knowledge of both PHP and WordPress actions is required to create them."
908
- msgstr "严格意义上讲这是一个高级功能,您必须十分了解 PHP 和 WordPress 才能正确使用。"
909
 
910
- #: wp-cache.php:1135
911
- msgid "<strong>Warning</strong>! Due to the way WordPress upgrades plugins the plugins you upload to wp-super-cache/plugins/ will be deleted when you upgrade WP Super Cache. You can avoid this by loading the plugins from elsewhere. Set <strong>$wp_cache_plugins_dir</strong> to the new location in wp-config.php and WP Super Cache will look there instead.<br />More info available in the <a href=\"http://ocaoimh.ie/wp-super-cache-developers/\">developer documentation</a>."
912
- msgstr "<strong>警告</strong>!由于 WordPress 升级插件的方法,您之前上传至 wp-super-cache/plugins/ 的插件将会在更新时被删除。您可以通过在其他地方加载的方式避免,即设置 wp-config.php 中的 <strong>$wp_cache_plugins_dir</strong> 路径,这样 WP Super Cache 就会从这里加载。<br />更多信息请查阅 <a href=\"http://ocaoimh.ie/wp-super-cache-developers/\">开发者文档</a>。"
913
 
914
- #: wp-cache.php:1145
915
- msgid "Available Plugins"
916
- msgstr "可用插件"
 
917
 
918
- #: wp-cache.php:1162
919
- msgid "Easy"
920
- msgstr "通用"
921
 
922
- #: wp-cache.php:1162
923
- msgid "CDN"
924
- msgstr "CDN"
 
925
 
926
- #: wp-cache.php:1162
927
- msgid "Contents"
928
- msgstr "内容"
 
929
 
930
- #: wp-cache.php:1162
931
- msgid "Preload"
932
- msgstr "预缓存"
933
 
934
- #: wp-cache.php:1162
935
- msgid "Plugins"
936
- msgstr "插件兼容"
937
 
938
- #: wp-cache.php:1162
939
- msgid "Debug"
940
- msgstr "调试"
941
 
942
- #: wp-cache.php:1197
943
- msgid "Notice: WP Super Cache mod_rewrite rule checks disabled unless running on <a href=\"%s\">the main site</a> of this network."
944
- msgstr "注意:除非运行在 <a href=\"%s\">主站点</a>,WP Super Cache 的 mod_rewrite 规则检查功能将被禁用 。"
945
 
946
- #: wp-cache.php:1206
947
  msgid "Mod Rewrite Rules"
948
  msgstr "Mod Rewrite 规则"
949
 
950
- #: wp-cache.php:1212
951
  msgid "WordPress MU Detected"
952
- msgstr "已检测到 WordPress 多站点模式"
953
 
954
- #: wp-cache.php:1212
955
  msgid "Unfortunately the rewrite rules cannot be updated automatically when running WordPress MU. Please open your .htaccess and add the following mod_rewrite rules above any other rules in that file."
956
- msgstr "很遗憾,在 WordPress 多站点模式下无法自动更新重写规则。请打开您的 .htaccess 文件并在其最上方手动添加下列 mod_rewrite 规则。"
957
 
958
- #: wp-cache.php:1214
959
  msgid "Mod Rewrite rules cannot be updated!"
960
- msgstr "无法更新 Mod Rewrite 规则!"
961
 
962
- #: wp-cache.php:1215
 
963
  msgid "You must have <strong>BEGIN</strong> and <strong>END</strong> markers in %s.htaccess for the auto update to work. They look like this and surround the main WordPress mod_rewrite rules:"
964
- msgstr "您必须确定在 %s.htaccess 文件中,有<strong>BEGIN</strong> 和 <strong>END</strong> 标记以便程序能够自动更新规则。比如:"
965
 
966
- #: wp-cache.php:1217
967
  msgid "Refresh this page when you have updated your .htaccess file."
968
- msgstr "当您更新完您的 .htaccess 文件时,请刷新本页。"
969
 
970
- #: wp-cache.php:1221
971
  msgid "Thank you for upgrading."
972
- msgstr "感谢您的升级。"
973
 
974
- #: wp-cache.php:1221
 
975
  msgid "The mod_rewrite rules changed since you last installed this plugin. Unfortunately you must remove the old supercache rules before the new ones are updated. Refresh this page when you have edited your .htaccess file. If you wish to manually upgrade, change the following line: %1$s so it looks like this: %2$s The only changes are \"HTTP_COOKIE\" becomes \"HTTP:Cookie\" and \"wordpressuser\" becomes \"wordpress\". This is a WordPress 2.5 change but it&#8217;s backwards compatible with older versions if you&#8217;re brave enough to use them."
976
- msgstr "自从您上次安装本插件后,mod_rewrite 规则已变更。非常抱歉,您必须在新规则更新前移除旧版本 supercache 的规则。在您编辑完成 .htaccess 文件后请刷新本页。如果您想要手动升级,修改一下几行: %1$s 比方说是这样: %2$s 其实所有修改都是将 \"HTTP_COOKIE\" 变为 \"HTTP:Cookie\" 以及将 \"wordpressuser\" 变为 \"wordpress\"。这是 WordPress 2.5 的变化,但是它理论上和旧版本兼容。(如果您愿意尝试的话)"
977
 
978
- #: wp-cache.php:1225
979
  msgid "Trailing slash check required."
980
- msgstr "需要结尾的斜杠检查。"
981
 
982
- #: wp-cache.php:1225
983
  msgid "It looks like your blog has URLs that end with a \"/\". Unfortunately since you installed this plugin a duplicate content bug has been found where URLs not ending in a \"/\" end serve the same content as those with the \"/\" and do not redirect to the proper URL. To fix, you must edit your .htaccess file and add these two rules to the two groups of Super Cache rules:"
984
- msgstr "貌似您博客的地址结尾有 \"/\"。很遗憾,自从您安装本插件时,一个内容重复故障就已经被发现。地址结尾包含 \"/\" 和不包含 \"/\" 的页面都显示相同的内容,但没有跳转到正确的地址。要想修复该问题,您需要自行编辑您的 .htaccess 文件并把下面两条规则添加至两组 Super Cache 规则中:"
985
 
986
- #: wp-cache.php:1227
987
  msgid "You can see where the rules go and examine the complete rules by clicking the \"View mod_rewrite rules\" link below."
988
- msgstr "您可以查看规则时如何生效的并且点击 \"View mod_rewrite rules\" 链接来测试下方的所有规则。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
989
 
990
- #: wp-cache.php:1241
 
 
 
 
 
 
 
 
 
 
991
  msgid "Mod Rewrite rules updated!"
992
  msgstr "Mod Rewrite 规则已更新!"
993
 
994
- #: wp-cache.php:1242
 
995
  msgid "%s.htaccess has been updated with the necessary mod_rewrite rules. Please verify they are correct. They should look like this:"
996
- msgstr "%s.htaccess 已经被必需的 mod_rewrite 规则更新。请检查它们是否正确。它们应该看上去这样:"
997
 
998
- #: wp-cache.php:1244
999
  msgid "Mod Rewrite rules must be updated!"
1000
- msgstr "Mod Rewrite 规则必须被更新!"
1001
 
1002
- #: wp-cache.php:1245
 
1003
  msgid "Your %s.htaccess is not writable by the webserver and must be updated with the necessary mod_rewrite rules. The new rules go above the regular WordPress rules as shown in the code below:"
1004
- msgstr "您的服务器的 %s.htaccess 文件不可被服务器程序写入,但是它需要正确的 mod_rewrite 规则:"
1005
 
1006
- #: wp-cache.php:1250
 
1007
  msgid "WP Super Cache mod rewrite rules were detected in your %s.htaccess file.<br /> Click the following link to see the lines added to that file. If you have upgraded the plugin make sure these rules match."
1008
- msgstr "WP Super Cache 的 mod rewrite 规则已存在于您的 %s.htaccess 文件中。<br /> 点击下面链接查看新添加进去的内容。如果您已经升级了本插件,确保这些规则符合。"
1009
-
1010
- #: wp-cache.php:1253
1011
- msgid "A difference between the rules in your .htaccess file and the plugin rewrite rules has been found. This could be simple whitespace differences but you should compare the rules in the file with those below as soon as possible. Click the &#8217;Update Mod_Rewrite Rules&#8217; button to update the rules."
1012
- msgstr "您服务器上的 .htaccess 文件和插件存在不同的重写规则。也许这不重要,但是您应该尽快对比一下。点击&#8217;更新 Mod_Rewrite 规则&#8217; 按钮更新这些规则。"
1013
 
1014
- #: wp-cache.php:1255
1015
  msgid "View Mod_Rewrite Rules"
1016
  msgstr "查看 Mod_Rewrite 规则"
1017
 
1018
- #: wp-cache.php:1261
1019
- #: wp-cache.php:2622
1020
- msgid "Rules must be added to %s too:"
1021
- msgstr "规则必须也被添加至 %s :"
1022
-
1023
- #: wp-cache.php:1268
1024
  msgid "Gzip encoding rules in %s.htaccess created."
1025
- msgstr "Gzip 编码规则已经添加至 %s.htaccess 文件。"
1026
 
1027
- #: wp-cache.php:1275
1028
  msgid "Fix Configuration"
1029
  msgstr "修复设置"
1030
 
1031
- #: wp-cache.php:1278
1032
  msgid "Restore Default Configuration"
1033
- msgstr "恢复默认设置"
1034
 
1035
- #: wp-cache.php:1286
1036
  msgid "Comment moderation is enabled. Your comment may take some time to appear."
1037
- msgstr "评论审核已启用。您的评论可能需要一段时间后才能被显示。"
1038
 
1039
- #: wp-cache.php:1311
1040
  msgid "Lock Down:"
1041
  msgstr "锁定:"
1042
 
1043
- #: wp-cache.php:1312
1044
  msgid "Prepare your server for an expected spike in traffic by enabling the lock down. When this is enabled, new comments on a post will not refresh the cached static files."
1045
- msgstr "如果您启用锁定,那么它将会为站点运行高峰时期做好准备。当这项功能启用时,新评论或文章将不会立即刷新至已缓存的静态文件。"
1046
 
1047
- #: wp-cache.php:1313
1048
  msgid "Developers: Make your plugin lock down compatible by checking the \"WPLOCKDOWN\" constant. The following code will make sure your plugin respects the WPLOCKDOWN setting."
1049
- msgstr "对开发者:为了使您自己的插件与锁定功能兼容,请检查 \"WPLOCKDOWN\" 常量。以下代码将会确保您的插件遵守 WPLOCKDOWN 设置。"
1050
 
1051
- #: wp-cache.php:1315
1052
  msgid "Sorry. My blog is locked down. Updates will appear shortly"
1053
- msgstr "抱歉,本博客目前处于锁定中,稍后会进行更新。"
1054
 
1055
- #: wp-cache.php:1319
1056
  msgid "WordPress is locked down. Super Cache static files will not be deleted when new comments are made."
1057
- msgstr "WordPress 已被锁定。当产生新评论时,Super Cache 的静态文件将不会被检测到。"
1058
 
1059
- #: wp-cache.php:1321
1060
  msgid "WordPress is not locked down. New comments will refresh Super Cache static files as normal."
1061
- msgstr "WordPress 没有被锁定。新的评论将会像往常一样刷新 Super Cache 的静态文件。"
1062
 
1063
- #: wp-cache.php:1327
1064
  msgid "Lock Down"
1065
  msgstr "锁定"
1066
 
1067
- #: wp-cache.php:1335
1068
  msgid "Directly Cached Files"
1069
- msgstr "直接缓存的文件"
1070
 
1071
- #: wp-cache.php:1393
 
1072
  msgid "%s removed!"
1073
  msgstr "%s 已移除!"
1074
 
1075
- #: wp-cache.php:1401
 
1076
  msgid "You must make %s writable to enable this feature. As this is a security risk please make it readonly after your page is generated."
1077
- msgstr "您必须将 %s 设置为可被写入才能使用此功能。由于该功能存在安全风险,请在页面生成后设置为只读权限。"
1078
 
1079
- #: wp-cache.php:1406
 
1080
  msgid "%s is writable. Please make it readonly after your page is generated as this is a security risk."
1081
- msgstr "%s 可被写入。由于存在安全风险,请在页面生成后设置为只读权限。"
1082
 
1083
- #: wp-cache.php:1421
1084
  msgid "Existing direct page"
1085
- msgstr "已存在的跳转页面"
1086
 
1087
- #: wp-cache.php:1421
1088
  msgid "Delete cached file"
1089
- msgstr "删除已缓存文件"
1090
 
1091
- #: wp-cache.php:1426
1092
  msgid "Add direct page:"
1093
- msgstr "添加跳转页面:"
1094
 
1095
- #: wp-cache.php:1428
 
1096
  msgid "Directly cached files are files created directly off %s where your blog lives. This feature is only useful if you are expecting a major Digg or Slashdot level of traffic to one post or page."
1097
- msgstr ""
1098
 
1099
- #: wp-cache.php:1430
 
1100
  msgid "For example: to cache <em>%1$sabout/</em>, you would enter %1$sabout/ or /about/. The cached file will be generated the next time an anonymous user visits that page."
1101
- msgstr "例如:为了缓存 <em>%1$sabout/</em>,您需要访问 %1$sabout/ 或 /about/。缓存文件将会在下次匿名用户来访时再次生成。"
1102
 
1103
- #: wp-cache.php:1431
1104
  msgid "Make the textbox blank to remove it from the list of direct pages and delete the cached file."
1105
- msgstr "如果文本框留空,将会移除直接页面列表中内容的并删除缓存文件。"
1106
 
1107
- #: wp-cache.php:1436
1108
  msgid "Update Direct Pages"
1109
- msgstr "更新直接链接页面"
1110
 
1111
- #: wp-cache.php:1464
1112
- msgctxt "timezone date format"
1113
- msgid "Y-m-d G:i:s"
1114
- msgstr "Y-m-d G:i:s"
1115
-
1116
- #: wp-cache.php:1523
1117
  msgid "Expiry Time &amp; Garbage Collection"
1118
- msgstr "到期时间和垃圾回收器"
1119
-
1120
- #: wp-cache.php:1525
1121
- msgid "<abbr title=\"Coordinated Universal Time\">UTC</abbr> time is <code>%s</code>"
1122
- msgstr "<abbr title=\"Coordinated Universal Time\">UTC</abbr>时间是<code>%s</code>"
1123
-
1124
- #: wp-cache.php:1528
1125
- msgid "Local time is <code>%1$s</code>"
1126
- msgstr "本地时间是 <code>%1$s</code>"
1127
-
1128
- #: wp-cache.php:1532
1129
- msgid "Next scheduled garbage collection will be at <strong>%s UTC</strong>"
1130
- msgstr "下次垃圾收集计划任务将会在 <strong>%s UTC</strong> 开始"
1131
 
1132
- #: wp-cache.php:1536
1133
- msgid "Warning! <strong>PRELOAD MODE</strong> activated. Supercache files will not be deleted regardless of age."
1134
- msgstr "警告!<strong>预缓存模式</strong> 已激活!Supercache 的缓存文件由于缓存的有效时间而不会被删除。"
1135
-
1136
- #: wp-cache.php:1553
1137
- msgid "Cache Timeout"
1138
- msgstr "缓存超时时间"
1139
 
1140
- #: wp-cache.php:1554
1141
- #: wp-cache.php:1557
1142
  msgid "seconds"
1143
  msgstr "秒"
1144
 
1145
- #: wp-cache.php:1555
1146
- msgid "How long should cached pages remain fresh? Set to 0 to disable garbage collection. A good starting point is 3600 seconds."
1147
- msgstr "哪些缓存页面是没有过期的?设置为0可以禁用垃圾回收器。建议数值为3600。"
1148
-
1149
- #: wp-cache.php:1556
1150
- msgid "Scheduler"
1151
- msgstr "计划"
1152
-
1153
- #: wp-cache.php:1556
1154
- msgid "Timer:"
1155
- msgstr "定时器:"
1156
-
1157
- #: wp-cache.php:1557
1158
- msgid "Check for stale cached files every <em>interval</em> seconds."
1159
- msgstr "每隔 <em>interval</em> 秒定期检查过期的缓存文件。"
1160
-
1161
- #: wp-cache.php:1558
1162
- msgid "Clock:"
1163
- msgstr "时间:"
1164
-
1165
- #: wp-cache.php:1559
1166
- msgid "HH:MM"
1167
- msgstr "小时:分钟"
1168
-
1169
- #: wp-cache.php:1559
1170
- msgid "Check for stale cached files at this time <strong>(UTC)</strong> or starting at this time every <em>interval</em> below."
1171
- msgstr "每当到了您设定的 <strong>(UTC)</strong> 时间或者任务间隔检查过期的缓存文件。"
1172
-
1173
- #: wp-cache.php:1561
1174
- msgid "Interval:"
1175
- msgstr "任务间隔:"
1176
-
1177
- #: wp-cache.php:1567
1178
- msgid "Notification Emails"
1179
- msgstr "邮件通知"
1180
-
1181
- #: wp-cache.php:1568
1182
- msgid "Email me when the garbage collection runs."
1183
- msgstr "当垃圾回收器运行时发送邮件通知我。"
1184
-
1185
- #: wp-cache.php:1570
1186
  msgid "Garbage Collection"
1187
- msgstr "垃圾回收器"
1188
-
1189
- #: wp-cache.php:1571
1190
- msgid "<em>Garbage collection</em> is the simple act of throwing out your garbage. For this plugin that would be old or <em>stale</em> cached files that may be out of date. New cached files are described as <em>fresh</em>."
1191
- msgstr "<em>垃圾回收器</em> 是一个减少垃圾的工具。因为插件产生的缓存会随着时间推移而<em>过期</em>,因此新生成的缓存文件因此是<em>新鲜</em>的。"
1192
-
1193
- #: wp-cache.php:1572
1194
- msgid "Cached files are fresh for a limited length of time. You can set that time in the <em>Cache Timeout</em> text box on this page."
1195
- msgstr "缓存都是有一定的新鲜时间的,您可以在本页的 <em>缓存过期时间</em> 文本框进行设置。"
1196
-
1197
- #: wp-cache.php:1573
1198
- msgid "Stale cached files are not removed as soon as they become stale. They have to be removed by the garbage collecter. That is why you have to tell the plugin when the garbage collector should run."
1199
- msgstr "过期的缓存文件并会被立刻删除。它们会被垃圾回收器清除。这就是您需要对垃圾回收器进行配置的原因。"
1200
-
1201
- #: wp-cache.php:1574
1202
- msgid "Use the <em>Timer</em> or <em>Clock</em> schedulers to define when the garbage collector should run."
1203
- msgstr "使用 <em>定时器</em> 或 <em>时钟</em> 选项来设定垃圾回收器何时应该运行。"
1204
-
1205
- #: wp-cache.php:1575
1206
- msgid "The <em>Timer</em> scheduler tells the plugin to run the garbage collector at regular intervals. When one garbage collection is done, the next run is scheduled."
1207
- msgstr "<em>定时器</em> 告诉插件间隔多久运行垃圾回收器。当一次回收完毕时,下次任务将会被设计划。"
1208
 
1209
- #: wp-cache.php:1576
1210
- msgid "Or, the <em>Clock</em> scheduler allows the garbage collection to run at specific times. If set to run hourly or twicedaily the garbage collector will be first scheduled for the time you enter here. It will then run again at the indicated interval. If set to run daily it will run once a day at the time specified."
1211
- msgstr "或者,<em>时钟</em>允许垃圾回收器在特定时间时运行。如果您设置时间间隔为每小时或者一天两次,垃圾回收器将会按照您输入的设定运行。然后它将会按照已指定的时间间隔再次运行。如果设置为每天,它将会在每天特定时间运行,且一天内只有这一次。"
1212
-
1213
- #: wp-cache.php:1578
1214
- msgid "There are no best garbage collection settings but here are a few scenarios. Garbage collection is separate to other actions that clear our cached files like leaving a comment or publishing a post."
1215
- msgstr "没有十分完美的垃圾回收器设置,不过它已被单独分离出来,这样清理缓存文件就像留下一条评论或者发布文章一样简单。"
1216
-
1217
- #: wp-cache.php:1580
1218
- msgid "Sites that want to serve lots of newly generated data should set the <em>Cache Timeout</em> to 60 and use the <em>Timer</em> scheduler set to 90 seconds."
1219
- msgstr "有大量新数据产生的站点应该设置<em>缓存超时时间</em>为60并设置<em>定时器</em>时间为90秒。"
1220
-
1221
- #: wp-cache.php:1581
1222
- msgid "Sites with widgets and rss feeds in their sidebar should probably use a timeout of 3600 seconds and set the timer to 600 seconds. Stale files will be caught within 10 minutes of going stale."
1223
- msgstr "在侧边栏有挂件和 rss 输出的站点应该设置超时时间为3600秒,并设置定时器为600秒。过期缓存将会在10分钟内随时被收集。"
1224
-
1225
- #: wp-cache.php:1582
1226
- msgid "Sites with lots of static content, no widgets or rss feeds in their sidebar can use a timeout of 86400 seconds or even more and set the timer to something equally long."
1227
- msgstr "有大量静态内容且在侧边栏没有挂件和 rss 输出的站点,应该设置超时时间为86400秒或更长并设置定时器为一个很长的时间。"
1228
-
1229
- #: wp-cache.php:1583
1230
- msgid "Sites where an external data source updates at a particular time every day should set the timeout to 86400 seconds and use the Clock scheduler set appropriately."
1231
- msgstr "每天有固定更新产生的站点应该设缓存超时时间为86400秒并正确设置时钟时间。"
1232
-
1233
- #: wp-cache.php:1585
1234
- msgid "Checking for and deleting expired files is expensive, but it&#8217;s expensive leaving them there too. On a very busy site you should set the expiry time to <em>600 seconds</em>. Experiment with different values and visit this page to see how many expired files remain at different times during the day. If you are using legacy caching aim to have less than 500 cached files if possible. You can have many times more cached files when using mod_rewrite or PHP caching."
1235
- msgstr "检查并删除过期文件的确是一件很难做的事情,但是留着这些文件同样也是不必要的。在一个十分繁忙的站点上您应该设置到期时间为<em>600秒</em>。一天内可以在不同的时候设置不同的数值,访问本页来看看剩下多少到期的文件。如果您使用传统模式进行缓存,如果有可能的话,尽量保持500个以下文件。如果想缓存更多文件,请选择 PHP 模式或者 mod_rewrite 模式进行缓存。"
1236
 
1237
- #: wp-cache.php:1586
1238
- msgid "Set the expiry time to 0 seconds to disable garbage collection."
1239
- msgstr "设置到期时间为0秒以便禁用垃圾回收器。"
1240
 
1241
- #: wp-cache.php:1587
1242
  msgid "Change Expiration"
1243
- msgstr "修改过期设置"
1244
 
1245
- #: wp-cache.php:1631
1246
  msgid "Rejected User Agents"
1247
- msgstr "已拒绝的用户代理(User Agent)"
1248
 
1249
- #: wp-cache.php:1632
1250
  msgid "Strings in the HTTP &#8217;User Agent&#8217; header that prevent WP-Cache from caching bot, spiders, and crawlers&#8217; requests. Note that super cached files are still sent to these agents if they already exists."
1251
- msgstr ""
1252
 
1253
- #: wp-cache.php:1639
1254
  msgid "Save UA Strings"
1255
- msgstr "保存用户代理(UA)字段"
1256
 
1257
- #: wp-cache.php:1662
1258
  msgid "Do not cache the following page types. See the <a href=\"http://codex.wordpress.org/Conditional_Tags\">Conditional Tags</a> documentation for a complete discussion on each type."
1259
- msgstr "不要缓存例如下列格式的页面。请见 <a href=\"http://codex.wordpress.org/Conditional_Tags\">Conditional Tags</a> 文档查看所有格式的具体说明。"
1260
 
1261
- #: wp-cache.php:1665
1262
  msgid "Single Posts"
1263
- msgstr "单一文章"
1264
 
1265
- #: wp-cache.php:1666
1266
  msgid "Pages"
1267
  msgstr "页面"
1268
 
1269
- #: wp-cache.php:1667
1270
  msgid "Front Page"
1271
  msgstr "首页"
1272
 
1273
- #: wp-cache.php:1668
1274
  msgid "Home"
1275
  msgstr "主页"
1276
 
1277
- #: wp-cache.php:1669
1278
  msgid "Archives"
1279
  msgstr "存档"
1280
 
1281
- #: wp-cache.php:1670
1282
  msgid "Tags"
1283
  msgstr "标签"
1284
 
1285
- #: wp-cache.php:1671
1286
  msgid "Category"
1287
  msgstr "分类"
1288
 
1289
- #: wp-cache.php:1672
1290
  msgid "Feeds"
1291
- msgstr "Feeds"
1292
 
1293
- #: wp-cache.php:1673
1294
  msgid "Search Pages"
1295
- msgstr "搜索页面"
1296
-
1297
- #: wp-cache.php:1674
1298
- msgid "Author Pages"
1299
- msgstr "作者页面"
1300
 
1301
- #: wp-cache.php:1676
1302
- #: wp-cache.php:1788
1303
  msgid "Save"
1304
  msgstr "保存"
1305
 
1306
- #: wp-cache.php:1693
1307
  msgid "Add here strings (not a filename) that forces a page not to be cached. For example, if your URLs include year and you dont want to cache last year posts, it&#8217;s enough to specify the year, i.e. &#8217;/2004/&#8217;. WP-Cache will search if that string is part of the URI and if so, it will not cache that page."
1308
- msgstr "在这里添加强制禁止缓存的页面的地址关键字。例如,如果您的地址包含年份并且您不想缓存上一年的文章,您可以直接填写 &#8217;/2004/&#8217;。WP-Cache 将会搜索所有符合条件的页面并且不缓存它们。"
1309
 
1310
- #: wp-cache.php:1699
1311
  msgid "Save Strings"
1312
- msgstr "保存"
1313
 
1314
- #: wp-cache.php:1715
1315
  msgid "Add here those filenames that can be cached, even if they match one of the rejected substring specified above."
1316
- msgstr "添加想要被缓存的文件名,即使它们出现在上面的被拒绝列表里面。"
1317
 
1318
- #: wp-cache.php:1721
1319
  msgid "Save Files"
1320
  msgstr "保存文件"
1321
 
1322
- #: wp-cache.php:1762
1323
- msgid "Currently logging to: %s"
1324
- msgstr "当前登录至:%s"
 
 
 
 
1325
 
1326
- #: wp-cache.php:1765
1327
- msgid "Fix problems with the plugin by debugging it here. It can log them to a file in your cache directory."
1328
- msgstr "通过在这里调试来修复故障,调试功能会在缓存文件目录下生成日志。"
1329
 
1330
- #: wp-cache.php:1769
 
 
 
 
1331
  msgid "Debugging"
1332
- msgstr "调试中"
 
 
 
 
1333
 
1334
- #: wp-cache.php:1770
 
 
 
 
 
 
 
 
1335
  msgid "IP Address"
1336
- msgstr "IP 地址"
1337
 
1338
- #: wp-cache.php:1770
 
1339
  msgid "(only log requests from this IP address. Your IP is %s)"
1340
- msgstr "(仅记录来自该 IP 的请求,您的 IP 是 %s)"
1341
 
1342
- #: wp-cache.php:1771
1343
- msgid "Cache Status Messages"
1344
- msgstr "缓存状态消息"
1345
 
1346
- #: wp-cache.php:1772
1347
- msgid "Display comments at the end of every page like this:"
1348
- msgstr "像这样的方式显示每页末尾的评论:"
1349
 
1350
- #: wp-cache.php:1778
 
 
 
 
1351
  msgid "In very rare cases two problems may arise on some blogs:<ol><li> The front page may start downloading as a zip file.</li><li> The wrong page is occasionally cached as the front page if your blog uses a static front page and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>"
1352
- msgstr "在某些情况下,有以下2个问题可能会发生:<ol><li>加载首页时会变成 zip 档案下载。</li><li> 如果您的博客使用静态首页,并且固定链接结构类似于 <em>/%category%/%postname%/</em> ,某些错误的页面会被当做首页进行缓存。</li></ol>"
1353
 
1354
- #: wp-cache.php:1779
1355
  msgid "I&#8217;m 99% certain that they aren&#8217;t bugs in WP Super Cache and they only happen in very rare cases but you can run a simple check once every 5 minutes to verify that your site is ok if you&#8217;re worried. You will be emailed if there is a problem."
1356
- msgstr "我有 99% 的把握:这不是 WP Super Cache 的 Bug,这种情况只会在极其罕见的情况下发生。如果您仍然不放心,我建议您每5分钟做一次对站点的简单检查,以便验证站点是否运行正常。如果产生任何问题,您会收到系统发送的邮件通知。"
1357
 
1358
- #: wp-cache.php:1781
1359
  msgid "Check front page every 5 minutes."
1360
- msgstr "每5分钟检查一次首页。"
1361
 
1362
- #: wp-cache.php:1782
1363
  msgid "Front page text"
1364
  msgstr "首页文字"
1365
 
1366
- #: wp-cache.php:1782
1367
  msgid "Text to search for on your front page. If this text is missing the cache will be cleared. Leave blank to disable."
1368
- msgstr "这是您将要在首页寻找的文字。如果您找不到,缓存将会被清除。留空则禁用该功能。"
1369
 
1370
- #: wp-cache.php:1783
1371
  msgid "Clear cache on error."
1372
- msgstr "即使出错也清除缓存。"
1373
 
1374
- #: wp-cache.php:1784
1375
  msgid "Email the blog admin when checks are made. (useful for testing)"
1376
- msgstr "当有检查时发送邮件提醒站点管理员。(对测试十分有用)"
1377
 
1378
- #: wp-cache.php:1798
1379
  msgid "Error: GZIP compression is enabled, disable it if you want to enable wp-cache."
1380
- msgstr "错误:GZIP 压缩已启用,如果您想启用 wp-cache 请禁用 gzip 压缩。"
1381
 
1382
- #: wp-cache.php:1845
1383
- #: wp-cache.php:1986
1384
- #: wp-cache.php:2022
1385
  msgid "Warning"
1386
  msgstr "警告"
1387
 
1388
- #: wp-cache.php:1845
1389
  msgid "GZIP compression is enabled in WordPress, wp-cache will be bypassed until you disable gzip compression."
1390
- msgstr "WordPress 已启用 GZIP 压缩,wp-cache 将会自动忽略直到您禁用 gzip 压缩。"
1391
 
1392
- #: wp-cache.php:1907
1393
- #: wp-cache.php:1912
1394
- #: wp-cache.php:1945
1395
- #: wp-cache.php:1950
1396
- #: wp-cache.php:1956
1397
  msgid "Error"
1398
  msgstr "错误"
1399
 
1400
- #: wp-cache.php:1907
1401
- msgid "Your cache directory (<strong>%1$s</strong>) did not exist and couldn&#8217;t be created by the web server. Check %1$s permissions."
1402
- msgstr "您的缓存目录 (<strong>%1$s</strong>) 不存在且 Web 服务器无法创建。请检查 %1$s 的权限设置。"
 
1403
 
1404
- #: wp-cache.php:1912
 
1405
  msgid "Your cache directory (<strong>%1$s</strong>) or <strong>%2$s</strong> need to be writable for this plugin to work. Double-check it."
1406
- msgstr "您的缓存目录 (<strong>%1$s</strong>) 或者 <strong>%2$s</strong>需要被设置为可写入权限。请检查有关设置。"
1407
 
1408
- #: wp-cache.php:1945
 
1409
  msgid "Your WP-Cache config file (<strong>%s</strong>) is out of date and not writable by the Web server.Please delete it and refresh this page."
1410
- msgstr "您的 WP-Cache 设置文件(<strong>%s</strong>) 已过期且不可被 Web 服务器读取。请删除该文件并刷新本页。"
1411
 
1412
- #: wp-cache.php:1950
 
1413
  msgid "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is not writable by the Web server.Check its permissions."
1414
- msgstr "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is not writable by the Web server.Check its permissions."
1415
 
1416
- #: wp-cache.php:1956
 
1417
  msgid "Sample WP-Cache config file (<strong>%s</strong>) does not exist.Verify you installation."
1418
- msgstr "Sample WP-Cache 设置文件(<strong>%s</strong>) 不存在。请检查您的安装。"
1419
-
1420
- #: wp-cache.php:1986
1421
- msgid "Could not update %s!</em> WPCACHEHOME must be set in config file."
1422
- msgstr "无法更新 %s!必须设置</em> WPCACHEHOME。"
1423
 
1424
- #: wp-cache.php:2022
 
1425
  msgid "%s/advanced-cache.php</em> does not exist or cannot be updated."
1426
- msgstr "%s/advanced-cache.php</em> 不存在或者不可被更新。"
1427
 
1428
- #: wp-cache.php:2023
1429
  msgid "1. If it already exists please delete the file first."
1430
- msgstr "1. 如果文件已经存在请先删除它们。"
1431
 
1432
- #: wp-cache.php:2024
 
1433
  msgid "2. Make %1$s writable using the chmod command through your ftp or server software. (<em>chmod 777 %1$s</em>) and refresh this page. This is only a temporary measure and you&#8217;ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)"
1434
- msgstr "2. 将 %1$s 通过 chmod 或者 ftp 客户端设置为可被写入(<em>chmod 777 %1$s</em>) 并刷新本页。这只是一个临时的操作,您需要随后恢复该文件之前的只读权限。(将之前括号内的777改为755,并执行修改后的命令)"
1435
 
1436
- #: wp-cache.php:2025
 
1437
  msgid "3. Refresh this page to update <em>%s/advanced-cache.php</em>"
1438
- msgstr "3. 刷新本页以便更新 <em>%s/advanced-cache.php</em>"
1439
 
1440
- #: wp-cache.php:2026
 
1441
  msgid "If that doesn&#8217;t work, make sure the file <em>%s/advanced-cache.php</em> doesn&#8217;t exist:"
1442
- msgstr "如果不能工作,请确保文件 <em>%s/advanced-cache.php</em> 不存在:"
1443
 
1444
- #: wp-cache.php:2027
 
1445
  msgid "<li>1. Open <em>%1$s$wp_cache_file</em> in a text editor.</li><li>2. Change the text <em>CACHEHOME</em> to <em>%2$s</em></li><li>3. Save the file and copy it to <em>%3$s</em> and refresh this page.</li>"
1446
- msgstr "<li>1. 用文本编辑器打开 <em>%1$s$wp_cache_file</em> 。</li><li>2. 修改从 <em>CACHEHOME</em> <em>%2$s</em> 的文字</li><li>3. 保存并把文件复制到 <em>%3$s</em> 然后刷新本页。</li>"
1447
-
1448
- #: wp-cache.php:2050
1449
- msgid "<h3>WP_CACHE constant set to false</h3><p>The WP_CACHE constant is used by WordPress to load the code that serves cached pages. Unfortunately it is set to false. Please edit your wp-config.php and add or edit the following line above the final require_once command:<br /><br /><code>define('WP_CACHE', true);</code></p>"
1450
- msgstr ""
1451
 
1452
- #: wp-cache.php:2052
1453
  msgid "<strong>Error: WP_CACHE is not enabled</strong> in your <code>wp-config.php</code> file and I couldn&#8217;t modify it."
1454
- msgstr "<strong>错误:您的 <code>wp-config.php</code> 文件中 WP_CACHE 未被启用</strong> 并且插件无法变更。"
1455
 
1456
- #: wp-cache.php:2053
 
1457
  msgid "Edit <code>%s</code> and add the following line:<br /> <code>define('WP_CACHE', true);</code><br />Otherwise, <strong>WP-Cache will not be executed</strong> by WordPress core. "
1458
- msgstr "编辑 <code>%s</code> 并添加如下内容:<br /> <code>define('WP_CACHE', true);</code><br /否则,<strong>WP-Cache 将不会被执行</strong>。"
1459
 
1460
- #: wp-cache.php:2057
1461
- msgid "<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see this warning message please see point 5 of the <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">Troubleshooting Guide</a>. The WP_CACHE line must be moved up."
1462
- msgstr ""
1463
 
1464
- #: wp-cache.php:2085
1465
  msgid "Cache Contents"
1466
  msgstr "缓存内容"
1467
 
1468
- #: wp-cache.php:2088
1469
  msgid "Object cache in use. No cache listing available."
1470
- msgstr "对象缓存正处于使用中。没有缓存列表可用。"
1471
 
1472
- #: wp-cache.php:2112
 
1473
  msgid "Deleting supercache file: <strong>%s</strong><br />"
1474
- msgstr "正在删除 supercache 的相关文件: <strong>%s</strong><br />"
1475
 
1476
- #: wp-cache.php:2129
 
1477
  msgid "Deleting wp-cache file: <strong>%s</strong><br />"
1478
- msgstr "正在删除 wp-cache 的相关文件: <strong>%s</strong><br />"
1479
-
1480
- #: wp-cache.php:2194
1481
- msgid "Cache stats are not automatically generated. You must click the link below to regenerate the stats on this page."
1482
- msgstr "缓存统计信息不是自动生成的,您需要点击下面的链接来重新生成。"
1483
 
1484
- #: wp-cache.php:2195
1485
- msgid "Regenerate cache stats"
1486
- msgstr "重新生成缓存统计信息"
1487
-
1488
- #: wp-cache.php:2197
1489
- msgid "Cache stats last generated: %s minutes ago."
1490
- msgstr "缓存统计已于 %s分钟前生成。"
1491
-
1492
- #: wp-cache.php:2203
1493
  msgid "WP-Cache"
1494
  msgstr "WP-Cache"
1495
 
1496
- #: wp-cache.php:2204
1497
- #: wp-cache.php:2219
 
1498
  msgid "%s Cached Pages"
1499
- msgstr "%s 已缓存页面"
1500
 
1501
- #: wp-cache.php:2205
1502
- #: wp-cache.php:2224
 
1503
  msgid "%s Expired Pages"
1504
- msgstr "%s 已过期页面"
1505
 
1506
- #: wp-cache.php:2218
1507
  msgid "WP-Super-Cache"
1508
  msgstr "WP-Super-Cache"
1509
 
1510
- #: wp-cache.php:2228
1511
  msgid "Fresh WP-Cached Files"
1512
- msgstr "最新的 WP-Cached 文件"
1513
 
1514
- #: wp-cache.php:2229
1515
- #: wp-cache.php:2245
1516
- #: wp-cache.php:2261
1517
- #: wp-cache.php:2277
1518
  msgid "URI"
1519
- msgstr "URI"
1520
 
1521
- #: wp-cache.php:2229
1522
- #: wp-cache.php:2245
1523
  msgid "Key"
1524
- msgstr "密钥"
1525
 
1526
- #: wp-cache.php:2229
1527
- #: wp-cache.php:2245
1528
- #: wp-cache.php:2261
1529
- #: wp-cache.php:2277
1530
  msgid "Age"
1531
- msgstr "有效时间"
1532
 
1533
- #: wp-cache.php:2229
1534
- #: wp-cache.php:2245
1535
- #: wp-cache.php:2261
1536
- #: wp-cache.php:2277
1537
  msgid "Delete"
1538
  msgstr "删除"
1539
 
1540
- #: wp-cache.php:2244
1541
  msgid "Stale WP-Cached Files"
1542
- msgstr "过期的 WP-Cached 文件"
1543
 
1544
- #: wp-cache.php:2260
1545
  msgid "Fresh Super Cached Files"
1546
- msgstr "最新的 Super Cached 文件"
1547
 
1548
- #: wp-cache.php:2276
1549
  msgid "Stale Super Cached Files"
1550
- msgstr "过期的 Super Cached 文件"
1551
 
1552
- #: wp-cache.php:2292
1553
  msgid "Hide file list"
1554
- msgstr "隐藏文件列表"
1555
-
1556
- #: wp-cache.php:2294
1557
- msgid "Too many cached files, no listing possible."
1558
- msgstr "缓存文件太多,没有列表可用。"
1559
 
1560
- #: wp-cache.php:2296
1561
  msgid "List all cached files"
1562
- msgstr "列出所有已缓存的文件"
 
 
 
 
 
 
 
 
 
 
1563
 
1564
- #: wp-cache.php:2299
 
1565
  msgid "Expired files are files older than %s seconds. They are still used by the plugin and are deleted periodically."
1566
- msgstr "到期文件是那些存在时间大于%s秒的文件。它们仍在被调用并会定期被删除。"
1567
 
1568
- #: wp-cache.php:2310
1569
  msgid "Delete Expired"
1570
- msgstr "删除已过期文件"
 
 
 
 
 
 
1571
 
1572
- #: wp-cache.php:2335
1573
  msgid "Delete Super Cache cached files (opens in new window)"
1574
- msgstr "删除 Super Cache 插件的缓存文件 (新窗口中打开)"
1575
 
1576
- #: wp-cache.php:2482
1577
- msgid "%1$s is Stephen Fry proof thanks to caching by %2$s"
1578
- msgstr "%1$s is Stephen Fry proof thanks to caching by %2$s"
 
1579
 
1580
- #: wp-cache.php:2515
 
1581
  msgid "WP Super Cache must be configured. Go to <a href=\"%s\">the admin page</a> to enable and configure the plugin."
1582
- msgstr "WP Super Cache 需要设置。请前往 <a href=\"%s\">插件管理页面</a> 设置。"
1583
 
1584
- #: wp-cache.php:2521
1585
  msgid "Settings"
1586
  msgstr "设置"
1587
 
1588
- #: wp-cache.php:2531
 
1589
  msgid "WP Super Cache is disabled. Please go to the <a href=\"%s\">plugin admin page</a> to enable caching."
1590
- msgstr "WP Super Cache 已禁用。请去 <a href=\"%s\">插件管理首页</a> 开启缓存功能。"
1591
-
1592
- #: wp-cache.php:2534
1593
- msgid "Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.<br /><br />Please edit %1$s/advanced-cache.php and make sure the path to %2$swp-cache-phase1.php is correct."
1594
- msgstr "警告!WP Super Cache 缓存功能损坏!advanced-cache.php 无法加载 wp-cache-phase1.php。<br /><br />请编辑 %1$s/advanced-cache.php 并确保 %2$swp-cache-phase1.php的路径是正确的。"
1595
 
1596
- #: wp-cache.php:2553
 
1597
  msgid "[%s] Front page is gzipped! Please clear cache!"
1598
- msgstr "[%s] 首页已经被 gzip 压缩!请清除缓存!"
1599
 
1600
- #: wp-cache.php:2553
 
1601
  msgid "Please visit %s to clear the cache as the front page of your site is now downloading!"
1602
- msgstr "由于您的首页正在被加载,请自行访问 %s 以清除首页的缓存!"
1603
 
1604
- #: wp-cache.php:2556
 
1605
  msgid "[%s] Front page is gzipped! Cache Cleared!"
1606
- msgstr "[%s] 首页已被 gzip 压缩!缓存已清除!"
1607
 
1608
- #: wp-cache.php:2556
 
1609
  msgid "The cache on your blog has been cleared because the front page of your site is now downloading. Please visit %s to verify the cache has been cleared."
1610
- msgstr "由于首页正在被加载,您的博客的所有缓存已被清除。请访问 %s 以检查缓存是否已被清除。"
1611
 
1612
- #: wp-cache.php:2563
 
1613
  msgid "[%s] Front page is not correct! Please clear cache!"
1614
  msgstr "[%s] 首页不正确!请清除缓存!"
1615
 
1616
- #: wp-cache.php:2563
 
1617
  msgid "Please visit %1$s to clear the cache as the front page of your site is not correct and missing the text, \"%2$s\"!"
1618
- msgstr "请访问 %1$s 以清除您的站点的首页缓存,该缓存是错误的或者缺失文字 \"%2$s\"!"
1619
 
1620
- #: wp-cache.php:2566
 
1621
  msgid "[%s] Front page is not correct! Cache Cleared!"
1622
  msgstr "[%s] 首页不正确!缓存已清除!"
1623
 
1624
- #: wp-cache.php:2566
 
1625
  msgid "The cache on your blog has been cleared because the front page of your site is missing the text \"%2$s\". Please visit %1$s to verify the cache has been cleared."
1626
- msgstr "由于首页缺失 \"%2$s\" ,所有缓存已被清除。请访问 %1$s 以检查缓存是否已被清除。"
1627
 
1628
- #: wp-cache.php:2571
 
1629
  msgid "[%s] Front page check!"
1630
  msgstr "[%s] 首页检查!"
1631
 
1632
- #: wp-cache.php:2571
 
1633
  msgid "WP Super Cache has checked the front page of your blog. Please visit %s if you would like to disable this."
1634
- msgstr "WP Super Cache 已经检查您的博客的首页。如果您想禁用,请访问 %s 。"
1635
-
1636
- #: wp-cache.php:2614
1637
- msgid "Cannot update .htaccess"
1638
- msgstr "无法更新 .htaccess 文件"
1639
-
1640
- #: wp-cache.php:2614
1641
- msgid "The file <code>%s.htaccess</code> cannot be modified by the web server. Please correct this using the chmod command or your ftp client."
1642
- msgstr "<code>%s.htaccess</code> 文件无法被服务器变更。请使用 chmod 命令或 ftp 客户端来修正权限。"
1643
-
1644
- #: wp-cache.php:2614
1645
- msgid "Refresh this page when the file permissions have been modified."
1646
- msgstr "当文件权限更改后请刷新本页。"
1647
-
1648
- #: wp-cache.php:2614
1649
- msgid "Alternatively, you can edit your <code>%s.htaccess</code> file manually and add the following code (before any WordPress rules):"
1650
- msgstr "另外,您还可以自行编辑您的 <code>%s.htaccess</code> 文件并添加以下代码 (在任何 WordPress 规则之前):"
1651
-
1652
- #: wp-cache.php:2618
1653
- msgid "To serve static html files your server must have the correct mod_rewrite rules added to a file called <code>%s.htaccess</code>"
1654
- msgstr "如果要使缓存页面生效,您的服务器必须要有包含正确的 mod_rewrite 规则的 <code>%s.htaccess</code> 文件"
1655
-
1656
- #: wp-cache.php:2619
1657
- msgid "You can edit the file yourself add the following rules."
1658
- msgstr "您可以自行编辑该文件并添加下列规则。"
1659
-
1660
- #: wp-cache.php:2620
1661
- msgid " Make sure they appear before any existing WordPress rules. "
1662
- msgstr " 确保它们在已有的 WordPress 规则前。"
1663
-
1664
- #: wp-cache.php:2628
1665
- msgid "Update Mod_Rewrite Rules"
1666
- msgstr "更新 Mod_Rewrite 规则"
1667
-
1668
- #: wp-cache.php:2780
1669
- msgid "[%1$s] Cache Preload Started"
1670
- msgstr "[%1$s] 预缓存已开始"
1671
-
1672
- #: wp-cache.php:2810
1673
- msgid "[%1$s] Refreshing %2$s taxonomy from %3$d to %4$d"
1674
- msgstr "[%1$s] 正在刷新 从 %3$d 到 %4$d 的 %2$s 分类法"
1675
-
1676
- #: wp-cache.php:2856
1677
- msgid "[%1$s] Refreshing posts from %2$d to %3$d"
1678
- msgstr "[%1$s] 正在刷新从 %2$d 到 %3$d 的文章"
1679
-
1680
- #: wp-cache.php:2877
1681
- msgid "[%1$s] Cache Preload Stopped"
1682
- msgstr "[%1$s] 预缓存已停止"
1683
 
1684
- #: wp-cache.php:2887
1685
- msgid "[%1$s] %2$d posts refreshed"
1686
- msgstr "[%1$s] %2$d 篇文章已刷新"
1687
-
1688
- #: wp-cache.php:2887
1689
- msgid "Refreshed the following posts:"
1690
- msgstr "以下文章已被刷新:"
1691
-
1692
- #: wp-cache.php:2897
1693
- msgid "Scheduling next preload refresh in %d minutes."
1694
- msgstr "下次预缓存任务将在%d分后开始。"
1695
-
1696
- #: wp-cache.php:2908
1697
- msgid "[%s] Cache Preload Completed"
1698
- msgstr "[%s] 预缓存完成"
1699
-
1700
- #: wp-cache.php:2908
1701
- msgid "Cleaning up old supercache files."
1702
- msgstr "正在清理过期的 supercache 文件。"
1703
-
1704
- #: wp-cache.php:2951
1705
- msgid "[%s] Preload may have stalled."
1706
- msgstr "[%s] 预缓存可能已失去响应。"
1707
-
1708
- #: wp-cache.php:2951
1709
- msgid ""
1710
- "Preload has been restarted.\n"
1711
- "%s"
1712
- msgstr ""
1713
- "预缓存已经重新启动。\n"
1714
- "%s"
1715
-
1716
- #: wp-cache.php:2994
1717
- msgid "Supercache Uninstall Problems"
1718
- msgstr "Supercache 卸载问题"
1719
-
1720
- #: wp-cache.php:2994
1721
- msgid ""
1722
- "Dear User,\n"
1723
- "\n"
1724
- "WP Super Cache was removed from your blog but the mod_rewrite rules\n"
1725
- "in your .htaccess were not.\n"
1726
- "\n"
1727
- "Please edit the following file and remove the code\n"
1728
- "between 'BEGIN WPSuperCache' and 'END WPSuperCache'. Please backup the file first!\n"
1729
- "\n"
1730
- "%s\n"
1731
- "\n"
1732
- "Regards,\n"
1733
- "WP Super Cache Plugin\n"
1734
- "http://wordpress.org/extend/plugins/wp-super-cache/"
1735
- msgstr ""
1736
- "亲爱的用户,\n"
1737
- "\n"
1738
- "WP Super Cache 已在您的博客上被移除,但是被 mod_rewrite 调用的\n"
1739
- " .htaccess 文件中的重定向规则尚未被移除。\n"
1740
- "\n"
1741
- "请编辑下列文件并且移除\n"
1742
- "位于 'BEGIN WPSuperCache' 和 'END WPSuperCache' 之间的代码。请首先备份该文件以防不测!\n"
1743
- "\n"
1744
- "%s\n"
1745
- "\n"
1746
- "此致,\n"
1747
- "WP Super Cache 插件\n"
1748
- "http://wordpress.org/extend/plugins/wp-super-cache/"
1749
-
1750
- #: wp-cache.php:3031
1751
- msgid "Delete cache of the current page"
1752
- msgstr "删除当前页面的缓存"
1753
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP Super Cache\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-super-cache\n"
5
+ "POT-Creation-Date: 2010-02-08 14:22+0000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: tomchen1989 <tomchen1989@gmail.com>\n"
8
+ "Language-Team: tomchen1989 <tomchen1989@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-Language: Chinese\n"
13
  "X-Poedit-Country: CHINA\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
 
16
+ #: plugins/badbehaviour.php:45
17
+ msgid "Bad Behaviour not found. Please check your install."
18
+ msgstr "找不到 Bad Behaviour. 请检查您的安装。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
+ #: plugins/badbehaviour.php:47
21
  #: plugins/badbehaviour.php:65
22
+ #: plugins/searchengine.php:61
23
+ #: plugins/searchengine.php:76
24
+ #: wp-cache.php:742
25
+ msgid "Disable"
26
+ msgstr "停用"
 
 
 
 
 
 
 
 
 
 
27
 
28
+ #: plugins/badbehaviour.php:55
29
+ #: plugins/searchengine.php:67
30
+ msgid "disabled"
31
+ msgstr "已停用"
32
 
33
+ #: plugins/badbehaviour.php:57
34
+ #: plugins/searchengine.php:69
35
+ #: wp-cache.php:1085
 
 
 
 
36
  msgid "enabled"
37
  msgstr "已启用"
38
 
39
+ #: plugins/badbehaviour.php:60
40
+ #, php-format
41
+ msgid "Bad Behaviour support is %s."
42
+ msgstr "Bad Behaviour 插件支持为 %s"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
+ #: plugins/badbehaviour.php:61
45
+ #, php-format
46
+ msgid "(Only half-on caching supported, disabled compression and requires <a href=\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> in \"%s/plugins/bad-behavior/\") "
47
+ msgstr "(只支持半启用缓存,停用压缩,<a href=\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> 路径必须为 \"%s/plugins/bad-behavior/\")"
48
 
49
  #: plugins/badbehaviour.php:63
50
+ #: plugins/searchengine.php:74
51
+ #: wp-cache.php:742
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  msgid "Enable"
53
  msgstr "启用"
54
 
55
+ #: plugins/badbehaviour.php:69
56
+ #: wp-cache.php:819
57
+ #: wp-cache.php:821
58
+ msgid "Warning!"
59
+ msgstr "警告!"
 
 
 
 
60
 
61
+ #: plugins/searchengine.php:71
62
+ #, php-format
63
+ msgid "<a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">No Adverts for Friends</a> plugin is %s."
64
+ msgstr "<a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">No Adverts for Friends</a> 插件 %s"
65
 
66
  #: plugins/searchengine.php:72
67
+ msgid "(requires <a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">friendsadverts.php</a> too) "
68
+ msgstr "(必须有 <a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">friendsadverts.php</a>)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
 
70
+ #: wp-cache.php:87
71
+ #, php-format
72
  msgid "Please create %s /wp-cache-config.php from wp-super-cache/wp-cache-config-sample.php"
73
+ msgstr "请以 wp-super-cache/wp-cache-config-sample.php 建立 %s /wp-cache-config.php"
74
 
75
+ #: wp-cache.php:170
76
+ msgid "WP Super Cache Manager"
77
+ msgstr "WP Super Cache 管理"
78
+
79
+ #: wp-cache.php:172
80
  msgid "Warning! PHP Safe Mode Enabled!"
81
  msgstr "警告!PHP 安全模式已启用!"
82
 
83
+ #: wp-cache.php:173
84
  msgid "You may experience problems running this plugin because SAFE MODE is enabled."
85
+ msgstr "在安全模式下,您的插件可能会遇到错误。"
86
 
87
+ #: wp-cache.php:175
88
  msgid "Your server is set up to check the owner of PHP scripts before allowing them to read and write files."
89
+ msgstr "您的服务器设置为先检查 PHP 程序拥有者才可以存取文件。"
90
 
91
+ #: wp-cache.php:176
92
+ #, php-format
93
  msgid "You or an administrator may be able to make it work by changing the group owner of the plugin scripts to match that of the web server user. The group owner of the %s/cache/ directory must also be changed. See the <a href=\"http://php.net/features.safe-mode\">safe mode manual page</a> for further details."
94
+ msgstr "您或网站管理员可以通过更改插件程序群组的所有者使其与服务器用户一致,进而让其工作。%s/cache/ 目录的所有者也必须更改。查看<a href=\"http://php.net/features.safe-mode\">安全模式使用手册</a>以取得更多说明。"
95
 
96
+ #: wp-cache.php:178
97
  msgid "You or an administrator must disable this. See the <a href=\"http://php.net/features.safe-mode\">safe mode manual page</a> for further details. This cannot be disabled in a .htaccess file unfortunately. It must be done in the php.ini config file."
98
+ msgstr "您或网站管理员必须先停用此项目。查看<a href=\"http://php.net/features.safe-mode\">安全模式使用手册</a>以取得更多说明。很抱歉,这无法在 .htaccess 文件里停用。它必须在 php.ini 设置文件中完成。"
99
 
100
+ #: wp-cache.php:183
101
  msgid "Permlink Structure Error"
102
+ msgstr "固定链接结构错误"
103
 
104
+ #: wp-cache.php:184
105
  msgid "A custom url or permalink structure is required for this plugin to work correctly. Please go to the <a href=\"options-permalink.php\">Permalinks Options Page</a> to configure your permalinks."
106
+ msgstr "插件需要一个自定义的URL或固定链接结构方可运行正确。请至 <a href=\"options-permalink.php\">固定链接设置页</a> 来设置您的固定链接。"
107
+
108
+ #: wp-cache.php:194
109
+ msgid "Configuration file changed, some values might be wrong. Load the page again from the \"Settings\" menu to reset them."
110
+ msgstr "设置文件已更改。某些数值可能错误。再次从\"设置\"选单读取页面后重设它们。"
111
+
112
+ #: wp-cache.php:200
113
+ msgid "Cannot continue... fix previous problems and retry."
114
+ msgstr "无法继续… 请先解决前面的问题然后重试。"
115
 
116
+ #: wp-cache.php:216
117
+ #, php-format
118
  msgid "Warning! Your hostname \"%s\" resolves to %s"
119
+ msgstr "警告!您的主机名称 \"%s\" 解析到 %s"
120
 
121
+ #: wp-cache.php:218
122
+ #, php-format
123
  msgid "Your server thinks your hostname resolves to %s. Some services such as garbage collection by this plugin, and WordPress scheduled posts may not operate correctly."
124
+ msgstr "您的服务器认为您的主机名称解析到 %s. WP Super Cache 插件的某些服务,例如垃圾回收、WordPress 定时发布文章可能无法正常执行。"
125
 
126
+ #: wp-cache.php:219
127
+ #: wp-cache.php:233
128
+ #, php-format
129
  msgid "Please see entry 16 in the <a href=\"%s\">Troubleshooting section</a> of the readme.txt"
130
+ msgstr "请参阅readme.txt第16项<a href=\"%s\">疑难详解部分</a>"
131
 
132
+ #: wp-cache.php:232
133
  msgid "Unfortunately WordPress cannot find the file wp-cron.php. This script is required for the the correct operation of garbage collection by this plugin, WordPress scheduled posts as well as other critical activities."
134
+ msgstr "很抱歉,WordPress 找不到 wp-cron.php 文件。插件必须要有这个程序才能正确执行垃圾回收、定时发布文章及其他重要活动。"
135
 
136
+ #: wp-cache.php:243
 
 
 
 
137
  msgid "Zlib Output Compression Enabled!"
138
+ msgstr "Zlib 输出压缩功能已启用!"
139
 
140
+ #: wp-cache.php:244
141
  msgid "PHP is compressing the data sent to the visitors of your site. Disabling this is recommended as the plugin caches the compressed output once instead of compressing the same page over and over again. Also see #21 in the Troubleshooting section. See <a href=\"http://php.net/manual/en/zlib.configuration.php\">this page</a> for instructions on modifying your php.ini."
142
+ msgstr "PHP 正在压缩发送给您网站访客的数据。建议停用此功能,因为插件会压缩一遍页面,而不是一遍又一遍压缩相同的页面。同样参见 readme 文件的 #21 疑难详解部分。参见 <a href=\"http://php.net/manual/en/zlib.configuration.php\">此页面</a> 了解如何修改您的 php.ini 文件。"
143
 
144
+ #: wp-cache.php:248
145
  msgid "Mod rewrite may not be installed!"
146
+ msgstr "Mod rewrite 可能没有安装!"
147
 
148
+ #: wp-cache.php:249
149
+ msgid "It appears that mod_rewrite is not installed. Sometimes this check isn&#8217;t 100% reliable, especially if you are not using Apache. Please verify that the mod_rewrite module is loaded. It is required for serving Super Cache static files. You will still be able to use half-on mode."
150
+ msgstr "看来 mod_rewrite 没有安装。有时候这种检查并非 100% 可信,特别是当您不是使用 Apache 时。请重新检查 mod_rewrite 模组已经加载。执行 Super Cache 静态文件时必须要有它。但您仍然可以使用半启用模式。"
151
 
152
+ #: wp-cache.php:254
153
  msgid "Read Only Mode. Configuration cannot be changed."
154
  msgstr "只读模式。设置无法更改。"
155
 
156
+ #: wp-cache.php:254
157
+ msgid "Why your configuration may not be changed"
158
+ msgstr "为什么您的设置可能不会更改"
159
+
160
+ #: wp-cache.php:254
161
+ msgid "Why"
162
+ msgstr "原因"
163
+
164
+ #: wp-cache.php:256
165
+ #, php-format
166
  msgid "The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> and cannot be modified. That file must be writeable by the webserver to make any changes."
167
+ msgstr "WP Super Cache 设置文件 <code>%s/wp-cache-config.php</code> 无法修改。该文件必须可以从服务器端进行写入。"
168
 
169
+ #: wp-cache.php:257
170
  msgid "A simple way of doing that is by changing the permissions temporarily using the CHMOD command or through your ftp client. Make sure it&#8217;s globally writeable and it should be fine."
171
+ msgstr "最简单的方式是使用CHMOD指令或通过FTP程序来更改权限。请确保它们正确并可以写入。"
172
 
 
173
  #: wp-cache.php:258
 
 
 
 
174
  msgid "Writeable:"
175
+ msgstr "可写入:"
176
 
177
+ #: wp-cache.php:259
178
  msgid "Readonly:"
179
  msgstr "只读:"
180
 
181
+ #: wp-cache.php:271
182
+ #, php-format
183
  msgid "Warning! %s is writeable!"
184
+ msgstr "警告!%s 可写入!"
185
 
186
+ #: wp-cache.php:272
187
+ #, php-format
188
  msgid "You should change the permissions on %s and make it more restrictive. Use your ftp client, or the following command to fix things:"
189
+ msgstr "您应该更改 %s 权限使其更加严密。使用您的FTP程序,或是按照以下指令来解决:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
190
 
191
+ #: wp-cache.php:361
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  msgid "<strong>Warning!</strong> You attempted to enable compression but <code>zlib.output_compression</code> is enabled. See #21 in the Troubleshooting section of the readme file."
193
+ msgstr "<strong>警告!</strong> 您尝试启用压缩,但是 <code>zlib.output_compression</code> 已启用。参见 readme 文件的 #21 疑难详解部分。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
 
195
+ #: wp-cache.php:380
196
+ msgid "WP Super Cache Status"
197
+ msgstr "WP Super Cache 状态"
198
 
199
+ #: wp-cache.php:383
200
+ msgid "ON"
201
+ msgstr "启动"
 
 
 
 
202
 
203
+ #: wp-cache.php:383
204
+ msgid "WP Cache and Super Cache enabled"
205
+ msgstr "启用 WP Cache 与 Super Cache"
 
206
 
207
+ #: wp-cache.php:384
208
+ msgid "HALF ON"
209
+ msgstr "半启用"
 
 
 
 
 
 
 
 
 
 
 
210
 
211
+ #: wp-cache.php:384
212
+ msgid "Super Cache Disabled, only legacy WP-Cache caching."
213
+ msgstr "停用 Super Cache,只保留 WP-Cache 缓存。"
214
 
215
+ #: wp-cache.php:385
216
+ msgid "OFF"
217
+ msgstr "关闭"
 
 
 
 
 
 
 
 
 
 
 
 
218
 
219
+ #: wp-cache.php:385
220
+ msgid "WP Cache and Super Cache disabled"
221
+ msgstr "停用 WP Cache 与 Super Cache"
222
 
223
+ #: wp-cache.php:386
224
+ msgid "Don&#8217;t cache pages for logged in users."
225
+ msgstr "不为已登录用户缓存页面。"
226
 
227
+ #: wp-cache.php:387
228
+ msgid "Proudly tell the world your server is Digg proof! (places a message in your blog&#8217;s footer)"
229
+ msgstr "自豪地告诉全世界您的服务器已使用缓存!(在您的博客底部放置一段文字)"
230
 
231
+ #: wp-cache.php:388
232
+ msgid "Clear all cache files when a post or page is published. (This may significantly slow down saving of posts.)"
233
+ msgstr "当有文章或页面发布时清除所有缓存。(可能会加重博客的负担)"
234
 
235
+ #: wp-cache.php:389
236
+ msgid "Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated. Recommended for <em>very</em> busy websites with lots of comments. Makes \"directly cached pages\" and \"Lockdown mode\" obsolete."
237
+ msgstr "缓存重建。当一个新文件正在产生时传送 suprecache 文件给未登录用户。推荐评论<em>非常多</em>或非常繁忙的网站使用。这个选项会让\"直接缓存网页\"和\"锁定模式\"失效。"
238
 
239
+ #: wp-cache.php:391
240
+ msgid "Coarse file locking. You probably don&#8217;t need this but it may help if your server is underpowered. Warning! <em>May cause your server to lock up in very rare cases!</em>"
241
+ msgstr "粗略文件锁定。估计您不会用到这个功能,但如果您的服务器效能较差,开启后可能会有所帮助。警告!<em>可能在少数情况下锁死您的服务器!</em>"
 
 
 
 
242
 
243
+ #: wp-cache.php:393
244
+ msgid "List the newest cached pages (may be expensive to run on busy sites, use with caution.)"
245
+ msgstr "列出最新缓存页面(可能会使忙碌的网站更加繁忙,谨慎使用)"
246
 
247
+ #: wp-cache.php:394
248
+ #, php-format
249
+ msgid "Mobile device support using <a href=\"%s\">WordPress Mobile Edition</a>."
250
+ msgstr "使用 <a href=\"%s\">WordPress Mobile Edition</a> 来支持移动设备。"
251
 
252
+ #: wp-cache.php:399
253
+ msgid "Mobile rewrite rules detected"
254
+ msgstr "移动设备重写规则检测"
255
 
256
+ #: wp-cache.php:400
257
+ msgid "For best performance you should enable \"Mobile device support\" or delete the mobile rewrite rules in your .htaccess. Look for the 2 lines with the text \"2.0\\ MMP|240x320\" and delete those."
258
+ msgstr "为了获得最好的效能,您应该启用\"移动设备支持\",或从您的 .htaccess 删除移动设备重写规则。找到包含 \"2.0\\ MMP|240x320\" 的两行代码并将它们删除。"
259
 
260
+ #: wp-cache.php:400
261
+ msgid "This will have no affect on ordinary users but mobile users will see uncached pages."
262
+ msgstr "不会对一般用户造成任何影响,但移动设备用户将会看到未缓存的页面。"
 
 
263
 
264
+ #: wp-cache.php:403
265
+ msgid "Rewrite rules must be updated"
266
+ msgstr "Rewrite 规则必须更新"
267
 
268
+ #: wp-cache.php:404
269
+ msgid "The rewrite rules required by this plugin have changed or are missing. "
270
+ msgstr "插件需要的 rewrite 规则被改动或已遗失。"
271
 
272
+ #: wp-cache.php:405
273
+ msgid "Mobile support requires extra rules in your .htaccess file, or you can set the plugin to half-on mode. Here are your options (in order of difficulty):"
274
+ msgstr "移动设备支持必须在您的 .htaccess 文件里新增额外规则,或是您可以将插件设置为半启用模式。这是您的选择(根据个人需求):"
275
 
276
+ #: wp-cache.php:406
277
+ msgid "Set the plugin to half on mode and enable mobile support."
278
+ msgstr "将插件设为半启用模式并开启移动设备支持。"
279
 
280
+ #: wp-cache.php:407
281
+ #, php-format
282
+ msgid "Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin regenerate them by reloading this page."
283
+ msgstr "从 %s.htaccess 内删除 <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> 源代码区段的 mod_rewrite 规则,重新加载页面让插件可以再次产生它们。"
 
 
 
284
 
285
+ #: wp-cache.php:408
286
+ msgid "Add the rules yourself. Edit %s.htaccess and find the block of code enclosed by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code>. There are two sections that look very similar. Just below the line <code>%{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$</code> add this line: (do it twice, once for each section)"
287
+ msgstr "自行加入规则。编辑 %s.htaccess 并找到 <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> 源代码区段。这两部分看起来非常相似。只要在 <code>%{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$</code> 下方新增这一行(这动作要做两次,一个区段一次):"
288
 
289
+ #: wp-cache.php:411
290
+ msgid "Note:"
291
+ msgstr "备注:"
292
 
293
+ #: wp-cache.php:411
294
+ #, php-format
295
+ msgid "If uninstalling this plugin, make sure the directory <em>%s</em> is writeable by the webserver so the files <em>advanced-cache.php</em> and <em>cache-config.php</em> can be deleted automatically. (Making sure those files are writeable too is probably a good idea!)"
296
+ msgstr "如果卸载这个插件,请确认目录 <em>%s</em> 可以被服务器写入,<em>advanced-cache.php</em> 和 <em>cache-config.php</em> 文件会自动删除。(确认这些文件也可写入,这样也不错)"
297
 
298
+ #: wp-cache.php:412
299
+ #, php-format
300
+ msgid "Uninstall using the <a href=\"%1$s/wp-super-cache/uninstall.php\">uninstall script</a> to remove files and directories created by the plugin. (Please see <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> for instructions on uninstalling this script.)"
301
+ msgstr "使用<a href=\"%1$s/wp-super-cache/uninstall.php\">卸载程序</a>来移除插件所建立的文件和文件夹。(请参考 <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> 以了解如何卸载此插件。)"
302
 
303
+ #: wp-cache.php:414
304
  msgid "Use object cache to store cached files."
305
+ msgstr "使用缓存对象来储存缓存的文件。"
306
 
307
+ #: wp-cache.php:414
308
  msgid "(Experimental)"
309
+ msgstr "(测试版)"
 
 
 
 
 
 
 
 
310
 
311
+ #: wp-cache.php:417
312
+ #, php-format
 
 
 
 
 
 
 
 
 
 
 
313
  msgid "Need help? Check the <a href=\"%1$s\">Super Cache readme file</a>. It includes installation documentation, a FAQ and Troubleshooting tips. The <a href=\"%2$s\">support forum</a> is also available. Your question may already have been answered."
314
+ msgstr "需要帮助?请查看 <a href=\"%1$s\">Super Cache readme 文件</a>。里面包含有安装文档、FAQ和疑难详解。您也可上 <a href=\"%2$s\">技术支持论坛</a> 求助。我们会解答您的问题。"
315
 
316
+ #: wp-cache.php:419
 
317
  msgid "Update Status"
318
+ msgstr "更新状态"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
319
 
320
+ #: wp-cache.php:426
321
+ msgid "Required to serve compressed supercache files properly."
322
+ msgstr "需要正确的supercache压缩文件。"
323
 
324
+ #: wp-cache.php:426
325
+ msgid "Required to set caching information on supercache pages. IE7 users will see old pages without this module."
326
+ msgstr "需要在supercache页面设置缓存讯息。IE7用户将会看到没有这个模块的旧页面。"
 
 
327
 
328
+ #: wp-cache.php:426
329
+ msgid "Set the expiry date on supercached pages. Visitors may not see new pages when they refresh or leave comments without this module."
330
+ msgstr "设置supercached缓存过期时限。没有这个模块,访客在刷新或留言时可能看不到新页面。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
 
332
+ #: wp-cache.php:433
333
+ msgid "Missing Apache Modules"
334
+ msgstr "Apache 模块遗失"
 
335
 
336
+ #: wp-cache.php:434
337
+ msgid "The following Apache modules are missing. The plugin will work in half-on mode without them. In full Supercache mode, your visitors may see corrupted pages or out of date content however."
338
+ msgstr "下方的Apache模块遗失。没有它们插件将在半启用模式下工作。若在完整的Supercache模式,您的访客可能会看到损坏的网页或是过时的内容。"
339
 
340
+ #: wp-cache.php:446
341
+ msgid "Make WordPress Faster"
342
+ msgstr "让 WordPress 更快速"
343
 
344
+ #: wp-cache.php:448
345
+ #, php-format
346
+ msgid "%1$s really makes your blog go faster. Make it go faster<sup>*</sup> by buying me an <a href=\"%2$s\">Amazon gift card</a>! Make it out to \"%3$s\" for whatever amount you want. Every penny helps!"
347
+ msgstr "%1$s 真的让您的博客更快。<sup>*</sup>通过购买 <a href=\"%2$s\">Amazon Gift Card</a> 并把它捐赠给 \"%3$s\",让您的博客变得更快!那怕只是一分钱的帮助!"
348
 
349
+ #: wp-cache.php:449
350
+ #, php-format
351
+ msgid "If Amazon isn&#8217;t your thing, there&#8217;s also PayPal. Click the \"Donate\" button below or take a quick peek at my <a href=\"%s\">wishlist</a>."
352
+ msgstr "如果您不使用 Amazon,也可以用 PayPal。点击下方的\"捐赠\"按钮或是瞟一眼我的<a href=\"%s\">愿望清单</a>。"
353
 
354
+ #: wp-cache.php:450
355
+ msgid "Thanks in advance!"
356
+ msgstr "由衷感谢您!"
357
 
358
+ #: wp-cache.php:451
359
+ msgid "Ok, it won&#8217;t go any faster but you&#8217;ll make this plugin author very happy!"
360
+ msgstr "好吧,它没有让我的博客变快,但是您让插件的作者感到很高兴!"
361
 
362
+ #: wp-cache.php:459
363
+ msgid "Don&#8217;t show me this again."
364
+ msgstr "不再显示此提示"
365
 
366
+ #: wp-cache.php:459
367
+ msgid "Hide"
368
+ msgstr "隐藏"
369
 
370
+ #: wp-cache.php:462
371
+ #, php-format
 
 
 
372
  msgid "%1$s is maintained and developed by %2$s with contributions from many others."
373
+ msgstr "%1$s 的开发者是 %2$s ,来自各方的捐赠使得插件得以维持和继续开发。"
374
 
375
+ #: wp-cache.php:463
376
+ #, php-format
377
+ msgid "He blogs at %1$s, posts photos at %2$s and <a href=\"%3$s\">wishes</a> he had more time to read and relax."
378
+ msgstr "开发者的博客为%1$s,相册在%2$s,<a href=\"%3$s\">希望</a>他有更多的时间来放松及阅读。"
379
 
380
+ #: wp-cache.php:464
381
+ #, php-format
382
  msgid "Please say hi to him on %s too!"
383
+ msgstr "在%s上向我问好!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
 
385
+ #: wp-cache.php:473
386
+ #, php-format
 
 
 
387
  msgid "Cached pages since %1$s : <strong>%2$s</strong>"
388
+ msgstr "缓存页面自 %1$s :<strong>%2$s</strong>"
389
 
390
+ #: wp-cache.php:474
391
  msgid "Newest Cached Pages:"
392
+ msgstr "最新的缓存页面:"
393
 
394
+ #: wp-cache.php:478
395
+ #, php-format
396
  msgid "Cached %s seconds ago"
397
+ msgstr "%s 秒前缓存"
398
 
399
+ #: wp-cache.php:481
400
  msgid "(may not always be accurate on busy sites)"
401
+ msgstr "(在忙碌的网站上未必准确)"
 
 
 
 
402
 
403
+ #: wp-cache.php:502
404
+ msgid "Accepted Filenames &amp; Rejected URIs"
405
+ msgstr "接受的文件名称 &amp; 拒绝的URI"
406
 
407
+ #: wp-cache.php:527
408
+ msgid "Cache Plugins"
409
+ msgstr "缓存插件"
410
 
411
+ #: wp-cache.php:538
412
+ #: wp-cache.php:549
413
+ msgid "Super Cache Compression"
414
+ msgstr "Super Cache 压缩"
415
 
416
+ #: wp-cache.php:539
417
+ msgid "Compression is enabled by default when in <em>HALF ON</em> mode."
418
+ msgstr "在<em>半启用</em>模式下,压缩默认为启用。"
419
 
420
+ #: wp-cache.php:551
421
+ #: wp-cache.php:729
422
+ msgid "Enabled"
423
+ msgstr "启用"
424
 
425
+ #: wp-cache.php:552
426
+ #: wp-cache.php:729
427
+ msgid "Disabled"
428
+ msgstr "停用"
429
 
430
+ #: wp-cache.php:553
431
+ msgid "Compression is disabled by default because some hosts have problems with compressed files. Switching this on and off clears the cache."
432
+ msgstr "压缩默认为停用,因为某些主机在压缩文件时可能发生问题。启用或停用这项功能会清除缓存。"
433
 
434
+ #: wp-cache.php:556
435
+ msgid "Super Cache compression is now disabled."
436
+ msgstr "Super Cache 压缩目前停用。"
437
 
438
+ #: wp-cache.php:558
439
+ msgid "Super Cache compression is now enabled."
440
+ msgstr "Super Cache 压缩目前已启用。"
441
 
442
+ #: wp-cache.php:560
443
+ msgid "Update Compression"
444
+ msgstr "更新压缩"
445
 
446
+ #: wp-cache.php:567
447
  msgid "Mod Rewrite Rules"
448
  msgstr "Mod Rewrite 规则"
449
 
450
+ #: wp-cache.php:614
451
  msgid "WordPress MU Detected"
452
+ msgstr "WordPress MU 检测"
453
 
454
+ #: wp-cache.php:614
455
  msgid "Unfortunately the rewrite rules cannot be updated automatically when running WordPress MU. Please open your .htaccess and add the following mod_rewrite rules above any other rules in that file."
456
+ msgstr "抱歉,当执行 WordPress MU 时重写规则无法自动更新。请开启您的 .htaccess,并在上述文件中任何位置加入下方的 mod_rewrite 规则。"
457
 
458
+ #: wp-cache.php:616
459
  msgid "Mod Rewrite rules cannot be updated!"
460
+ msgstr "Mod Rewrite 规则无法更新!"
461
 
462
+ #: wp-cache.php:617
463
+ #, php-format
464
  msgid "You must have <strong>BEGIN</strong> and <strong>END</strong> markers in %s.htaccess for the auto update to work. They look like this and surround the main WordPress mod_rewrite rules:"
465
+ msgstr "要让它自动工作,您必须在 %s.htaccess 上有 <strong>BEGIN</strong> 和 <strong>END</strong> 标记,它们看起来像这样,围绕 WordPress 的 mod_rewrite 规则:"
466
 
467
+ #: wp-cache.php:619
468
  msgid "Refresh this page when you have updated your .htaccess file."
469
+ msgstr "当您已更新您的 .htaccess 文件后刷新此页。"
470
 
471
+ #: wp-cache.php:623
472
  msgid "Thank you for upgrading."
473
+ msgstr "感谢升级。"
474
 
475
+ #: wp-cache.php:623
476
+ #, php-format
477
  msgid "The mod_rewrite rules changed since you last installed this plugin. Unfortunately you must remove the old supercache rules before the new ones are updated. Refresh this page when you have edited your .htaccess file. If you wish to manually upgrade, change the following line: %1$s so it looks like this: %2$s The only changes are \"HTTP_COOKIE\" becomes \"HTTP:Cookie\" and \"wordpressuser\" becomes \"wordpress\". This is a WordPress 2.5 change but it&#8217;s backwards compatible with older versions if you&#8217;re brave enough to use them."
478
+ msgstr "从您上次安装此插件,mod_rewrite 规则已经更改。在新的supercache规则更新前,您必须先删除旧的supercache规则。在您修改您的 .htaccess 文件后刷新此页。如果您希望手动更新,更改以下几行:%1$s 使它看起来像这样:%2$s ,唯一改变的地方是 \"HTTP_COOKIE\" 变成 \"HTTP:Cookie\" 以及 \"wordpressuser\" 变成 \"wordpress\"。这是 WordPress 2.5 的改变,但如果您敢使用,它与旧版本相容。"
479
 
480
+ #: wp-cache.php:627
481
  msgid "Trailing slash check required."
482
+ msgstr "尾端斜线的检查是必须的。"
483
 
484
+ #: wp-cache.php:627
485
  msgid "It looks like your blog has URLs that end with a \"/\". Unfortunately since you installed this plugin a duplicate content bug has been found where URLs not ending in a \"/\" end serve the same content as those with the \"/\" and do not redirect to the proper URL. To fix, you must edit your .htaccess file and add these two rules to the two groups of Super Cache rules:"
486
+ msgstr "看起来您的博客URLs以\"/\"结束。不幸地在您安装这个插件后,在URLs不是以\"/\"结束的页面,发现了一个重复内容的bug,也就是相同的内容却不是被指向正确的URL。您必须修改您的 .htaccess 文件以修复这个问题,在两个 Super Cache 规则区段内新增下面两个规则:"
487
 
488
+ #: wp-cache.php:629
489
  msgid "You can see where the rules go and examine the complete rules by clicking the \"View mod_rewrite rules\" link below."
490
+ msgstr "您可以看到规则去向,通过点选下方的\"查看 mod_rewrite 规则\"链接来看到完整的规则"
491
+
492
+ #: wp-cache.php:641
493
+ msgid "Cannot update .htaccess"
494
+ msgstr "无法更新 .htaccess"
495
+
496
+ #: wp-cache.php:641
497
+ #, php-format
498
+ msgid "The file <code>%s.htaccess</code> cannot be modified by the web server. Please correct this using the chmod command or your ftp client."
499
+ msgstr "<code>%s.htaccess</code> 文件无法被网页服务器更新。请使用 chmod 指令或通过 FTP 程序修正。"
500
+
501
+ #: wp-cache.php:641
502
+ msgid "Refresh this page when the file permissions have been modified."
503
+ msgstr "在权限修改后请刷新这个页面。"
504
+
505
+ #: wp-cache.php:641
506
+ #, php-format
507
+ msgid "Alternatively, you can edit your <code>%s.htaccess</code> file manually and add the following code (before any WordPress rules):"
508
+ msgstr "或者,您可以手动编辑 <code>%s.htaccess</code> 文件并加入以下源代码(在任何 WordPress 规则前):"
509
+
510
+ #: wp-cache.php:644
511
+ #, php-format
512
+ msgid "To serve static html files your server must have the correct mod_rewrite rules added to a file called <code>%s.htaccess</code>"
513
+ msgstr "为了使用静态的HTML文件,您的服务器上必须有正确的mod_rewrite规则,新增到一个名为 <code>%s.htaccess</code> 的文件。"
514
+
515
+ #: wp-cache.php:646
516
+ msgid "You must edit the file yourself add the following rules."
517
+ msgstr "您必须自行编辑并新增以下规则。"
518
+
519
+ #: wp-cache.php:648
520
+ msgid "You can edit the file yourself add the following rules."
521
+ msgstr "您可以自行编辑并新增以下规则。"
522
+
523
+ #: wp-cache.php:650
524
+ msgid " Make sure they appear before any existing WordPress rules. "
525
+ msgstr "确认它们出现在任何已存在的 WordPress 规则之前。"
526
 
527
+ #: wp-cache.php:652
528
+ #: wp-cache.php:679
529
+ #, php-format
530
+ msgid "Rules must be added to %s too:"
531
+ msgstr "规则也必须新增到%s:"
532
+
533
+ #: wp-cache.php:657
534
+ msgid "Update Mod_Rewrite Rules"
535
+ msgstr "更新 Mod_Rewrite 规则"
536
+
537
+ #: wp-cache.php:666
538
  msgid "Mod Rewrite rules updated!"
539
  msgstr "Mod Rewrite 规则已更新!"
540
 
541
+ #: wp-cache.php:667
542
+ #, php-format
543
  msgid "%s.htaccess has been updated with the necessary mod_rewrite rules. Please verify they are correct. They should look like this:"
544
+ msgstr "%s.htaccess 已更新必要的 mod_rewrite 规则。请确保它们是正确的。它们应该像这样:"
545
 
546
+ #: wp-cache.php:669
547
  msgid "Mod Rewrite rules must be updated!"
548
+ msgstr "Mod Rewrite 规则必须更新!"
549
 
550
+ #: wp-cache.php:670
551
+ #, php-format
552
  msgid "Your %s.htaccess is not writable by the webserver and must be updated with the necessary mod_rewrite rules. The new rules go above the regular WordPress rules as shown in the code below:"
553
+ msgstr "您的%s.htaccess无法由服务器写入,必须更新 mod_rewrite 规则。新的规则必须在 WordPress 规则之上,如下面的源代码所示:"
554
 
555
+ #: wp-cache.php:675
556
+ #, php-format
557
  msgid "WP Super Cache mod rewrite rules were detected in your %s.htaccess file.<br /> Click the following link to see the lines added to that file. If you have upgraded the plugin make sure these rules match."
558
+ msgstr "在您的%s.htaccess文件中已经检测到WP Super Cache重写规则。<br />点选以下链接,查看新增到该文件的内容。如果您已经升级插件,请确保与这些规则相同。"
 
 
 
 
559
 
560
+ #: wp-cache.php:676
561
  msgid "View Mod_Rewrite Rules"
562
  msgstr "查看 Mod_Rewrite 规则"
563
 
564
+ #: wp-cache.php:687
565
+ #, php-format
 
 
 
 
566
  msgid "Gzip encoding rules in %s.htaccess created."
567
+ msgstr "%s.htaccess上Gzip规则建立。"
568
 
569
+ #: wp-cache.php:694
570
  msgid "Fix Configuration"
571
  msgstr "修复设置"
572
 
573
+ #: wp-cache.php:697
574
  msgid "Restore Default Configuration"
575
+ msgstr "还原到默认选项"
576
 
577
+ #: wp-cache.php:705
578
  msgid "Comment moderation is enabled. Your comment may take some time to appear."
579
+ msgstr "评论审核已启用。您的评论可能需要一些时间才会显示。"
580
 
581
+ #: wp-cache.php:729
582
  msgid "Lock Down:"
583
  msgstr "锁定:"
584
 
585
+ #: wp-cache.php:730
586
  msgid "Prepare your server for an expected spike in traffic by enabling the lock down. When this is enabled, new comments on a post will not refresh the cached static files."
587
+ msgstr "如果您预测会有流量高峰到来时,可以启用锁定功能。当这个功能启用时,在文章里发布新评论将不会更新静态缓存文件。"
588
 
589
+ #: wp-cache.php:731
590
  msgid "Developers: Make your plugin lock down compatible by checking the \"WPLOCKDOWN\" constant. The following code will make sure your plugin respects the WPLOCKDOWN setting."
591
+ msgstr "开发者:通过检查\"WPLOCKDOWN\",让您的插件与锁定功能相容。下面的源代码将确保您的插件遵守WPLOCKDOWN设置。"
592
 
593
+ #: wp-cache.php:733
594
  msgid "Sorry. My blog is locked down. Updates will appear shortly"
595
+ msgstr "抱歉。我的博客已经锁定。将会在短时间后更新。"
596
 
597
+ #: wp-cache.php:737
598
  msgid "WordPress is locked down. Super Cache static files will not be deleted when new comments are made."
599
+ msgstr "WordPress 已锁定。新的评论产生时将不会删除 Super Cache 静态缓存文件。"
600
 
601
+ #: wp-cache.php:739
602
  msgid "WordPress is not locked down. New comments will refresh Super Cache static files as normal."
603
+ msgstr "WordPress 未锁定。新的评论产生时将会正常更新 Super Cache 静态缓存文件。"
604
 
605
+ #: wp-cache.php:745
606
  msgid "Lock Down"
607
  msgstr "锁定"
608
 
609
+ #: wp-cache.php:753
610
  msgid "Directly Cached Files"
611
+ msgstr "直接缓存文件"
612
 
613
+ #: wp-cache.php:811
614
+ #, php-format
615
  msgid "%s removed!"
616
  msgstr "%s 已移除!"
617
 
618
+ #: wp-cache.php:819
619
+ #, php-format
620
  msgid "You must make %s writable to enable this feature. As this is a security risk please make it readonly after your page is generated."
621
+ msgstr "启用这项功能前必须确认 %s 是可写入状态。由于这牵涉到一个安全风险,请在您的网页产生后把它设为只读。"
622
 
623
+ #: wp-cache.php:821
624
+ #, php-format
625
  msgid "%s is writable. Please make it readonly after your page is generated as this is a security risk."
626
+ msgstr "%s 可写入。由于这牵涉到一个安全风险,请在您的网页产生后把它设为只读。"
627
 
628
+ #: wp-cache.php:835
629
  msgid "Existing direct page"
630
+ msgstr "已存在的直接页面"
631
 
632
+ #: wp-cache.php:835
633
  msgid "Delete cached file"
634
+ msgstr "删除缓存文件"
635
 
636
+ #: wp-cache.php:840
637
  msgid "Add direct page:"
638
+ msgstr "新增直接页面:"
639
 
640
+ #: wp-cache.php:842
641
+ #, php-format
642
  msgid "Directly cached files are files created directly off %s where your blog lives. This feature is only useful if you are expecting a major Digg or Slashdot level of traffic to one post or page."
643
+ msgstr "直接缓存文件是从您的博客目录 %s 直接产生的文件。这项功能仅当您预测到将会有从像 Digg 或 Slashdot 等的热门站点给某篇文章或页面带来大量流量时才有用。"
644
 
645
+ #: wp-cache.php:844
646
+ #, php-format
647
  msgid "For example: to cache <em>%1$sabout/</em>, you would enter %1$sabout/ or /about/. The cached file will be generated the next time an anonymous user visits that page."
648
+ msgstr "举例来说:缓存 <em>%1$sabout/</em>,您应输入 %1$sabout/ 或 /about/ 。缓存文件将在下一个未登录用户访问该页面时产生。"
649
 
650
+ #: wp-cache.php:845
651
  msgid "Make the textbox blank to remove it from the list of direct pages and delete the cached file."
652
+ msgstr "清空输入框,就能将它从直接页面清单中移除并删除缓存文件。"
653
 
654
+ #: wp-cache.php:850
655
  msgid "Update Direct Pages"
656
+ msgstr "更新直接页面"
657
 
658
+ #: wp-cache.php:890
 
 
 
 
 
659
  msgid "Expiry Time &amp; Garbage Collection"
660
+ msgstr "过期时限 &amp; 垃圾收集"
 
 
 
 
 
 
 
 
 
 
 
 
661
 
662
+ #: wp-cache.php:892
663
+ msgid "Expire time:"
664
+ msgstr "过期时限:"
 
 
 
 
665
 
666
+ #: wp-cache.php:893
 
667
  msgid "seconds"
668
  msgstr "秒"
669
 
670
+ #: wp-cache.php:894
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
671
  msgid "Garbage Collection"
672
+ msgstr "垃圾收集"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
673
 
674
+ #: wp-cache.php:894
675
+ msgid "If expiry time is more than 1800 seconds (half an hour), garbage collection will be done every 10 minutes, otherwise it will happen 10 seconds after the expiry time above."
676
+ msgstr "如果过期时限大于1800秒(半个小时),垃圾回收会每10分钟进行一次,否则就会在默认到期时间的10秒后进行清理。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
677
 
678
+ #: wp-cache.php:895
679
+ msgid "Checking for and deleting expired files is expensive, but it&#8217;s expensive leaving them there too. On a very busy site you should set the expiry time to <em>300 seconds</em>. Experiment with different values and visit this page to see how many expired files remain at different times during the day. Aim to have less than 500 cached files if possible."
680
+ msgstr "检查和删除过期文件代价高昂,但把这些文件留在那里一样不是个好办法。在非常忙碌的网站,您应该将过期时限设置为 <em>300 秒</em>。尝试使用不同的数值,并注意这些页面一天里在不同时段产生多少过期文件,如果可能的话尽量不让缓存文件数多于500个。"
681
 
682
+ #: wp-cache.php:896
683
  msgid "Change Expiration"
684
+ msgstr "更改过期时限"
685
 
686
+ #: wp-cache.php:935
687
  msgid "Rejected User Agents"
688
+ msgstr "被拒绝的User Agent"
689
 
690
+ #: wp-cache.php:936
691
  msgid "Strings in the HTTP &#8217;User Agent&#8217; header that prevent WP-Cache from caching bot, spiders, and crawlers&#8217; requests. Note that super cached files are still sent to these agents if they already exists."
692
+ msgstr "HTTP User Agent;防止缓存机器人、蜘蛛或抓取器对于 WP-Cache 的请求。请注意,如果缓存文件已经存在,仍然会发送给这些代理。"
693
 
694
+ #: wp-cache.php:943
695
  msgid "Save UA Strings"
696
+ msgstr "保存UA字串"
697
 
698
+ #: wp-cache.php:966
699
  msgid "Do not cache the following page types. See the <a href=\"http://codex.wordpress.org/Conditional_Tags\">Conditional Tags</a> documentation for a complete discussion on each type."
700
+ msgstr "不缓存以下页面类型。查看<a href=\"http://codex.wordpress.org/Conditional_Tags\">附加标签</a>文件对每个类型的完整讨论。"
701
 
702
+ #: wp-cache.php:969
703
  msgid "Single Posts"
704
+ msgstr "单篇文章"
705
 
706
+ #: wp-cache.php:970
707
  msgid "Pages"
708
  msgstr "页面"
709
 
710
+ #: wp-cache.php:971
711
  msgid "Front Page"
712
  msgstr "首页"
713
 
714
+ #: wp-cache.php:972
715
  msgid "Home"
716
  msgstr "主页"
717
 
718
+ #: wp-cache.php:973
719
  msgid "Archives"
720
  msgstr "存档"
721
 
722
+ #: wp-cache.php:974
723
  msgid "Tags"
724
  msgstr "标签"
725
 
726
+ #: wp-cache.php:975
727
  msgid "Category"
728
  msgstr "分类"
729
 
730
+ #: wp-cache.php:976
731
  msgid "Feeds"
732
+ msgstr "Feed"
733
 
734
+ #: wp-cache.php:977
735
  msgid "Search Pages"
736
+ msgstr "搜索页"
 
 
 
 
737
 
738
+ #: wp-cache.php:979
739
+ #: wp-cache.php:1108
740
  msgid "Save"
741
  msgstr "保存"
742
 
743
+ #: wp-cache.php:996
744
  msgid "Add here strings (not a filename) that forces a page not to be cached. For example, if your URLs include year and you dont want to cache last year posts, it&#8217;s enough to specify the year, i.e. &#8217;/2004/&#8217;. WP-Cache will search if that string is part of the URI and if so, it will not cache that page."
745
+ msgstr "在下方输入框内新增字串(不是文件名称),控制页面是否被缓存。例如,如果您的URL中包含年份,且您不想缓存去年的文章,那么就指定年份,例如 &#8217;/2004/&#8217; 。WP-Cache 将会搜索这个字串是否包含在URL之中,如果是的话则不缓存这个页面。"
746
 
747
+ #: wp-cache.php:1002
748
  msgid "Save Strings"
749
+ msgstr "保存字串"
750
 
751
+ #: wp-cache.php:1018
752
  msgid "Add here those filenames that can be cached, even if they match one of the rejected substring specified above."
753
+ msgstr "这里是可以被缓存的文件名,即使它们与上方设置的拒绝字串相符时也仍将被缓存。"
754
 
755
+ #: wp-cache.php:1024
756
  msgid "Save Files"
757
  msgstr "保存文件"
758
 
759
+ #: wp-cache.php:1068
760
+ msgid "Debug Settings"
761
+ msgstr "Debug 设置"
762
+
763
+ #: wp-cache.php:1070
764
+ msgid "Currently logging to: "
765
+ msgstr "当前记录到:"
766
 
767
+ #: wp-cache.php:1080
768
+ msgid "Fix problems with the plugin by debugging it here. It can send you debug emails or log them to a file in your cache directory."
769
+ msgstr "在这里使用插件Debug模式解决问题。它可以发送给您Debug电子邮件或在您的缓存目录内产生的日志文件。"
770
 
771
+ #: wp-cache.php:1081
772
+ msgid "Logging to a file is easier but faces the problem that clearing the cache will clear the log file."
773
+ msgstr "记录日志的话更容易些,但问题是:清除缓存将会同时清除日志文件。"
774
+
775
+ #: wp-cache.php:1085
776
  msgid "Debugging"
777
+ msgstr "正在 Debug"
778
+
779
+ #: wp-cache.php:1086
780
+ msgid "Logging Type"
781
+ msgstr "记录种类"
782
 
783
+ #: wp-cache.php:1086
784
+ msgid "Email"
785
+ msgstr "电子邮件"
786
+
787
+ #: wp-cache.php:1087
788
+ msgid "file"
789
+ msgstr "文件"
790
+
791
+ #: wp-cache.php:1088
792
  msgid "IP Address"
793
+ msgstr "IP地址"
794
 
795
+ #: wp-cache.php:1088
796
+ #, php-format
797
  msgid "(only log requests from this IP address. Your IP is %s)"
798
+ msgstr "(仅记录来自此IP地址的请求。您的 IP 是 %s"
799
 
800
+ #: wp-cache.php:1089
801
+ msgid "Log level"
802
+ msgstr "记录等级"
803
 
804
+ #: wp-cache.php:1095
805
+ msgid "(1 = less, 5 = more, may cause severe server load.)"
806
+ msgstr "(1 = 低,5 = 更多,可能会导致严重的服务器负载)"
807
 
808
+ #: wp-cache.php:1098
809
+ msgid "Advanced"
810
+ msgstr "高级选项"
811
+
812
+ #: wp-cache.php:1098
813
  msgid "In very rare cases two problems may arise on some blogs:<ol><li> The front page may start downloading as a zip file.</li><li> The wrong page is occasionally cached as the front page if your blog uses a static front page and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>"
814
+ msgstr "在极少数的博客上可能会出现两个问题:<ol><li>在首页可能会以一个 zip 文件开始下载。</li><li>如果您的博客使用一个静态的首页,或以 <em>/%category%/%postname%/</em> 作为固定链接架构的话,那么错误的页面有时候会变成首页的缓存画面。</li></ol>"
815
 
816
+ #: wp-cache.php:1099
817
  msgid "I&#8217;m 99% certain that they aren&#8217;t bugs in WP Super Cache and they only happen in very rare cases but you can run a simple check once every 5 minutes to verify that your site is ok if you&#8217;re worried. You will be emailed if there is a problem."
818
+ msgstr "99%地肯定,它们不是 WP Super Cache 的错误。它只会发生在极少数的情况下,但如果您担心的话,您可以每5分钟进行一次简单的检查,以确保您的网站是正常的。如果有问题,您将会收到电子邮件。"
819
 
820
+ #: wp-cache.php:1101
821
  msgid "Check front page every 5 minutes."
822
+ msgstr "每五分钟检查一次首页"
823
 
824
+ #: wp-cache.php:1102
825
  msgid "Front page text"
826
  msgstr "首页文字"
827
 
828
+ #: wp-cache.php:1102
829
  msgid "Text to search for on your front page. If this text is missing the cache will be cleared. Leave blank to disable."
830
+ msgstr "在您的首页里要搜索的文字。如果缺少这些文字,缓存将被清除。留空将停用此功能。"
831
 
832
+ #: wp-cache.php:1103
833
  msgid "Clear cache on error."
834
+ msgstr "清除缓存时发生错误。"
835
 
836
+ #: wp-cache.php:1104
837
  msgid "Email the blog admin when checks are made. (useful for testing)"
838
+ msgstr "当检查时发送电子邮件给网站管理员。(仅供测试)"
839
 
840
+ #: wp-cache.php:1118
841
  msgid "Error: GZIP compression is enabled, disable it if you want to enable wp-cache."
842
+ msgstr "错误:GZIP压缩已启用,如果您想启用wp-cache,请停用它。"
843
 
844
+ #: wp-cache.php:1166
845
+ #: wp-cache.php:1328
 
846
  msgid "Warning"
847
  msgstr "警告"
848
 
849
+ #: wp-cache.php:1166
850
  msgid "GZIP compression is enabled in WordPress, wp-cache will be bypassed until you disable gzip compression."
851
+ msgstr "WordPress GZIP压缩已启用,wp-cache将被绕过,除非您停用gzip压缩。"
852
 
853
+ #: wp-cache.php:1224
854
+ #: wp-cache.php:1229
855
+ #: wp-cache.php:1261
856
+ #: wp-cache.php:1266
857
+ #: wp-cache.php:1272
858
  msgid "Error"
859
  msgstr "错误"
860
 
861
+ #: wp-cache.php:1224
862
+ #, php-format
863
+ msgid "Your cache directory (<strong>$cache_path</strong>) did not exist and couldn&#8217;t be created by the web server. Check %s permissions."
864
+ msgstr "您的缓存目录(<strong>$cache_path</strong>)不存在,且无法从服务器端建立。请检查 %s 权限。"
865
 
866
+ #: wp-cache.php:1229
867
+ #, php-format
868
  msgid "Your cache directory (<strong>%1$s</strong>) or <strong>%2$s</strong> need to be writable for this plugin to work. Double-check it."
869
+ msgstr "您的缓存目录(<strong>%1$s</strong>)或 <strong>%2$s</strong> 必须使插件可写入才能正常工作。请重新检查。"
870
 
871
+ #: wp-cache.php:1261
872
+ #, php-format
873
  msgid "Your WP-Cache config file (<strong>%s</strong>) is out of date and not writable by the Web server.Please delete it and refresh this page."
874
+ msgstr "您的 WP-Cache 设置文件(<strong>%s</strong>)已经过期,且无法由服务器端写入,请删除它并刷新此页面。"
875
 
876
+ #: wp-cache.php:1266
877
+ #, php-format
878
  msgid "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is not writable by the Web server.Check its permissions."
879
+ msgstr "设置文件遗失,%1$s 目录(<strong>%2$s</strong>)也无法被服务器写入。请检查权限。"
880
 
881
+ #: wp-cache.php:1272
882
+ #, php-format
883
  msgid "Sample WP-Cache config file (<strong>%s</strong>) does not exist.Verify you installation."
884
+ msgstr "WP-Cache 设置文件范例(<strong>%s</strong>)不存在。请确认您的安装是否正确。"
 
 
 
 
885
 
886
+ #: wp-cache.php:1328
887
+ #, php-format
888
  msgid "%s/advanced-cache.php</em> does not exist or cannot be updated."
889
+ msgstr "%s/advanced-cache.php</em> 文件不存在或是无法更新。"
890
 
891
+ #: wp-cache.php:1329
892
  msgid "1. If it already exists please delete the file first."
893
+ msgstr "1. 如果它已经存在,请先删除。"
894
 
895
+ #: wp-cache.php:1330
896
+ #, php-format
897
  msgid "2. Make %1$s writable using the chmod command through your ftp or server software. (<em>chmod 777 %1$s</em>) and refresh this page. This is only a temporary measure and you&#8217;ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)"
898
+ msgstr "2. 请使用您的FTP程序或服务器软件,以chmod指令使%1$s可写入。(<em>chmod 777 %1$s</em>),并刷新此页面。这只是暂时这样做,您之后需在把它更改为只读。(使用前面的指令将权限从 777 更改为 755"
899
 
900
+ #: wp-cache.php:1331
901
+ #, php-format
902
  msgid "3. Refresh this page to update <em>%s/advanced-cache.php</em>"
903
+ msgstr "3. 刷新此页面以更新 <em>%s/advanced-cache.php</em>"
904
 
905
+ #: wp-cache.php:1332
906
+ #, php-format
907
  msgid "If that doesn&#8217;t work, make sure the file <em>%s/advanced-cache.php</em> doesn&#8217;t exist:"
908
+ msgstr "如果无法工作,请确认 <em>%s/advanced-cache.php</em> 文件不存在:"
909
 
910
+ #: wp-cache.php:1333
911
+ #, php-format
912
  msgid "<li>1. Open <em>%1$s$wp_cache_file</em> in a text editor.</li><li>2. Change the text <em>CACHEHOME</em> to <em>%2$s</em></li><li>3. Save the file and copy it to <em>%3$s</em> and refresh this page.</li>"
913
+ msgstr "<li>1. 以文字编辑器开启 <em>%1$s$wp_cache_file</em>。</li><li>2. <em>CACHEHOME</em> 更改为 <em>%2$s</em></li><li>3. 保存文件并复制为 <em>%3$s</em>,然后刷新此页面。</li>"
 
 
 
 
914
 
915
+ #: wp-cache.php:1353
916
  msgid "<strong>Error: WP_CACHE is not enabled</strong> in your <code>wp-config.php</code> file and I couldn&#8217;t modify it."
917
+ msgstr "<strong>错误:</strong>在您的 <code>wp-config.php</code> 文件里 <strong>WP_CACHE 是停用状态</strong>,且无法修改。"
918
 
919
+ #: wp-cache.php:1354
920
+ #, php-format
921
  msgid "Edit <code>%s</code> and add the following line:<br /> <code>define('WP_CACHE', true);</code><br />Otherwise, <strong>WP-Cache will not be executed</strong> by WordPress core. "
922
+ msgstr "编辑 <code>%s</code> 并加入以下源代码:<br /> <code>define('WP_CACHE', true);</code><br />否则,<strong>WP-Cache 将无法被 WordPress 核心执行</strong>。"
923
 
924
+ #: wp-cache.php:1357
925
+ msgid "<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see this warning message please see point 5 of the <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a>. The WP_CACHE line must be moved up."
926
+ msgstr "<h3>WP_CACHE 不断被新增到 wp-config.php</h3><p>如果您一直都能看到这条警告讯息,请参阅 <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> 第五条。源代码中 WP_CACHE 所在行必须前移。"
927
 
928
+ #: wp-cache.php:1379
929
  msgid "Cache Contents"
930
  msgstr "缓存内容"
931
 
932
+ #: wp-cache.php:1382
933
  msgid "Object cache in use. No cache listing available."
934
+ msgstr "正在使用缓存对象。无法列出缓存的页面。"
935
 
936
+ #: wp-cache.php:1405
937
+ #, php-format
938
  msgid "Deleting supercache file: <strong>%s</strong><br />"
939
+ msgstr "删除supercache文件:<strong>%s</strong><br />"
940
 
941
+ #: wp-cache.php:1422
942
+ #, php-format
943
  msgid "Deleting wp-cache file: <strong>%s</strong><br />"
944
+ msgstr "删除wp-cache文件:<strong>%s</strong><br />"
 
 
 
 
945
 
946
+ #: wp-cache.php:1486
 
 
 
 
 
 
 
 
947
  msgid "WP-Cache"
948
  msgstr "WP-Cache"
949
 
950
+ #: wp-cache.php:1487
951
+ #: wp-cache.php:1500
952
+ #, php-format
953
  msgid "%s Cached Pages"
954
+ msgstr "%s 个页面已缓存"
955
 
956
+ #: wp-cache.php:1488
957
+ #: wp-cache.php:1502
958
+ #, php-format
959
  msgid "%s Expired Pages"
960
+ msgstr "%s 个页面已过期"
961
 
962
+ #: wp-cache.php:1499
963
  msgid "WP-Super-Cache"
964
  msgstr "WP-Super-Cache"
965
 
966
+ #: wp-cache.php:1507
967
  msgid "Fresh WP-Cached Files"
968
+ msgstr " WP-Cached 文件"
969
 
970
+ #: wp-cache.php:1508
971
+ #: wp-cache.php:1524
972
+ #: wp-cache.php:1540
973
+ #: wp-cache.php:1556
974
  msgid "URI"
975
+ msgstr "URI 网址"
976
 
977
+ #: wp-cache.php:1508
978
+ #: wp-cache.php:1524
979
  msgid "Key"
980
+ msgstr "关键字"
981
 
982
+ #: wp-cache.php:1508
983
+ #: wp-cache.php:1524
984
+ #: wp-cache.php:1540
985
+ #: wp-cache.php:1556
986
  msgid "Age"
987
+ msgstr ""
988
 
989
+ #: wp-cache.php:1508
990
+ #: wp-cache.php:1524
991
+ #: wp-cache.php:1540
992
+ #: wp-cache.php:1556
993
  msgid "Delete"
994
  msgstr "删除"
995
 
996
+ #: wp-cache.php:1523
997
  msgid "Stale WP-Cached Files"
998
+ msgstr " WP-Cached 文件"
999
 
1000
+ #: wp-cache.php:1539
1001
  msgid "Fresh Super Cached Files"
1002
+ msgstr " Super Cached 文件"
1003
 
1004
+ #: wp-cache.php:1555
1005
  msgid "Stale Super Cached Files"
1006
+ msgstr " Super Cached 文件"
1007
 
1008
+ #: wp-cache.php:1571
1009
  msgid "Hide file list"
1010
+ msgstr "隐藏文件清单"
 
 
 
 
1011
 
1012
+ #: wp-cache.php:1573
1013
  msgid "List all cached files"
1014
+ msgstr "列出所有缓存文件"
1015
+
1016
+ #: wp-cache.php:1579
1017
+ #, php-format
1018
+ msgid "<strong>Garbage Collection</strong><br />Last GC was <strong>%s</strong> minutes ago<br />"
1019
+ msgstr "<strong>垃圾收集</strong><br />上次垃圾收集于 <strong>%s</strong> 分钟前<br />"
1020
+
1021
+ #: wp-cache.php:1580
1022
+ #, php-format
1023
+ msgid "Next GC in <strong>%s</strong> minutes"
1024
+ msgstr "下次垃圾收集于 <strong>%s</strong> 分钟后"
1025
 
1026
+ #: wp-cache.php:1582
1027
+ #, php-format
1028
  msgid "Expired files are files older than %s seconds. They are still used by the plugin and are deleted periodically."
1029
+ msgstr "过期文件指存在超过 %s 秒钟的文件。它们仍然会被插件使用但是会定期删除。"
1030
 
1031
+ #: wp-cache.php:1592
1032
  msgid "Delete Expired"
1033
+ msgstr "删除过期文件"
1034
+
1035
+ #: wp-cache.php:1598
1036
+ #: wp-cache.php:1610
1037
+ #: wp-cache.php:1769
1038
+ msgid "Delete Cache"
1039
+ msgstr "删除缓存"
1040
 
1041
+ #: wp-cache.php:1610
1042
  msgid "Delete Super Cache cached files (opens in new window)"
1043
+ msgstr "删除 Super Cache 缓存文件(在新视窗打开)"
1044
 
1045
+ #: wp-cache.php:1745
1046
+ #, php-format
1047
+ msgid "%1$s is Digg proof thanks to caching by %2$s"
1048
+ msgstr "%1$s 使用的缓存程序为 %2$s"
1049
 
1050
+ #: wp-cache.php:1778
1051
+ #, php-format
1052
  msgid "WP Super Cache must be configured. Go to <a href=\"%s\">the admin page</a> to enable and configure the plugin."
1053
+ msgstr "WP Super Cache 必须设置。请前往<a href=\"%s\">管理后台</a>启用和设置插件。"
1054
 
1055
+ #: wp-cache.php:1784
1056
  msgid "Settings"
1057
  msgstr "设置"
1058
 
1059
+ #: wp-cache.php:1794
1060
+ #, php-format
1061
  msgid "WP Super Cache is disabled. Please go to the <a href=\"%s\">plugin admin page</a> to enable caching."
1062
+ msgstr "WP Super Cache 停用。请前往 <a href=\"%s\">插件管理页</a>启用缓存。"
 
 
 
 
1063
 
1064
+ #: wp-cache.php:1813
1065
+ #, php-format
1066
  msgid "[%s] Front page is gzipped! Please clear cache!"
1067
+ msgstr "[%s] 首页已使用gzip压缩!请清除缓存!"
1068
 
1069
+ #: wp-cache.php:1813
1070
+ #, php-format
1071
  msgid "Please visit %s to clear the cache as the front page of your site is now downloading!"
1072
+ msgstr "请前往 %s 清除缓存,网站的首页正在下载!"
1073
 
1074
+ #: wp-cache.php:1816
1075
+ #, php-format
1076
  msgid "[%s] Front page is gzipped! Cache Cleared!"
1077
+ msgstr "[%s] 首页已使用gzip压缩!缓存已清除!"
1078
 
1079
+ #: wp-cache.php:1816
1080
+ #, php-format
1081
  msgid "The cache on your blog has been cleared because the front page of your site is now downloading. Please visit %s to verify the cache has been cleared."
1082
+ msgstr "您的博客缓存已被清除。因为您的博客首页正在下载,请前往 %s 确认缓存已被清除。"
1083
 
1084
+ #: wp-cache.php:1823
1085
+ #, php-format
1086
  msgid "[%s] Front page is not correct! Please clear cache!"
1087
  msgstr "[%s] 首页不正确!请清除缓存!"
1088
 
1089
+ #: wp-cache.php:1823
1090
+ #, php-format
1091
  msgid "Please visit %1$s to clear the cache as the front page of your site is not correct and missing the text, \"%2$s\"!"
1092
+ msgstr "请前往 %1$s 清除缓存,博客的首页不正确,遗失文字,\"%2$s\"!"
1093
 
1094
+ #: wp-cache.php:1826
1095
+ #, php-format
1096
  msgid "[%s] Front page is not correct! Cache Cleared!"
1097
  msgstr "[%s] 首页不正确!缓存已清除!"
1098
 
1099
+ #: wp-cache.php:1826
1100
+ #, php-format
1101
  msgid "The cache on your blog has been cleared because the front page of your site is missing the text \"%2$s\". Please visit %1$s to verify the cache has been cleared."
1102
+ msgstr "您的博客已被清除缓存,因为您的博客首页缺少文字 \"%2$s\"。请前往 %1$s 确认缓存已被清除。"
1103
 
1104
+ #: wp-cache.php:1831
1105
+ #, php-format
1106
  msgid "[%s] Front page check!"
1107
  msgstr "[%s] 首页检查!"
1108
 
1109
+ #: wp-cache.php:1831
1110
+ #, php-format
1111
  msgid "WP Super Cache has checked the front page of your blog. Please visit %s if you would like to disable this."
1112
+ msgstr "WP Super Cache 已检查过您博客的首页。如果您想停用这项功能,请前往 %s 。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1113
 
1114
+ #~ msgid "Mobile device support."
1115
+ #~ msgstr "移动设备支持。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1116
 
languages/wp-super-cache-zh_TW.mo CHANGED
Binary file
languages/wp-super-cache-zh_TW.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Super Cache (Traditional Chinese)\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-super-cache\n"
5
- "POT-Creation-Date: 2012-06-21 09:44:46+00:00\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Liang, Jih-Kai <privism@gmail.com>\n"
8
  "Language-Team: privism <privism@gmail.com>\n"
@@ -13,228 +13,71 @@ msgstr ""
13
  "X-Poedit-Country: TAIWAN\n"
14
  "X-Poedit-SourceCharset: utf-8\n"
15
 
16
- #: ossdl-cdn.php:151
17
  msgid "Your website probably uses lots of static files. Image, Javascript and CSS files are usually static files that could just as easily be served from another site or CDN. Therefore this plugin replaces any links in the <code>wp-content</code> and <code>wp-includes</code> directories (except for PHP files) on your site with the URL you provide below. That way you can either copy all the static content to a dedicated host or mirror the files to a CDN by <a href=\"http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a>."
18
- msgstr "你的網站可能使用了許多的靜態檔案。圖片、Javascript、CSS 檔案通常都是靜態檔案,可以很簡單地使用另一個站台或 CDN (內容傳遞網路)來服務。所以這個外掛會根據你下面所提供的 URL,取代你的網站中 <code>wp-content</code> 和 <code>wp-includes</code> 目錄下除了 PHP 檔案以外的任何連結。用這個方式,你可以把所有的靜態內容拷貝到一個專用的主機或或使用 <a href=\"http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a> 鏡射到 CDN 上。"
19
 
20
- #: ossdl-cdn.php:152
21
- #: wp-cache.php:1071
22
  msgid "The <a href=\"%1$s\">CDN Sync Tool</a> plugin will help upload files to Amazon S3/Cloudfront if you would rather not depend on origin pull. See the <a href=\"%2$s\">plugin support forum</a> if you have any queries about this plugin."
23
- msgstr "如果你不希望依賴 origin pull,<a href=\"%1$s\">CDN Sync Tool</a> 是一個幫助你上傳檔案到 Amazon S3/Cloudfront 的外掛。 如果你對此外掛有任何問題,請參見 <a href=\"%2$s\">外掛支援論壇</a>。"
24
 
25
- #: ossdl-cdn.php:153
26
  msgid "<strong style=\"color: red\">WARNING:</strong> Test some static urls e.g., %s to ensure your CDN service is fully working before saving changes."
27
- msgstr "<strong style=\"color: red\">警告:</strong> 請先測試一些固定的網址,例如%s。在儲存變更前,確定你的 CDN 服務完全正常。"
28
 
29
- #: ossdl-cdn.php:154
30
  msgid "You can define different CDN URLs for each site on a multsite network."
31
- msgstr "你可以為多站台網路中的每個站台定義不同的 CDN URL。"
32
 
33
- #: ossdl-cdn.php:162
34
  msgid "Enable CDN Support"
35
- msgstr "啟用 CDN 支援"
36
 
37
- #: ossdl-cdn.php:165
38
  msgid "Off-site URL"
39
- msgstr "站外 URL"
40
 
41
- #: ossdl-cdn.php:168
42
  msgid "The new URL to be used in place of %1$s for rewriting. No trailing <code>/</code> please.<br />Example: <code>%2$s</code>."
43
- msgstr "這個新的 URL 在會重寫時用來取代 %1$s。請不要加上結尾的 <code>/</code>。 <br /> 例: <code>%2$s</code>"
44
 
45
- #: ossdl-cdn.php:172
46
  msgid "Include directories"
47
  msgstr "包含以下目錄"
48
 
49
- #: ossdl-cdn.php:175
50
  msgid "Directories to include in static file matching. Use a comma as the delimiter. Default is <code>wp-content, wp-includes</code>, which will be enforced if this field is left empty."
51
  msgstr "靜態檔案比對包含的目錄。使用逗號作為分隔符號。預設為 <code>wp-content, wp-includes</code> ,當這個欄位空白時會強制套用。"
52
 
53
- #: ossdl-cdn.php:179
54
  msgid "Exclude if substring"
55
  msgstr "若含有以下字串則排除"
56
 
57
- #: ossdl-cdn.php:182
58
  msgid "Excludes something from being rewritten if one of the above strings is found in the match. Use a comma as the delimiter like this, <code>.php, .flv, .do</code>, and always include <code>.php</code> (default)."
59
  msgstr "若網址中包含以上的字串,則不會被重寫。使用逗號作為分隔符號,像這樣:<code>.php, .flv, .do</code>,並請永遠包含<code>.php</code> (預設值)。"
60
 
61
- #: ossdl-cdn.php:186
62
  msgid "Additional CNAMES"
63
  msgstr "額外的正規名稱(CNAMES)"
64
 
65
- #: ossdl-cdn.php:189
66
  msgid "These <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">CNAMES</a> will be used in place of %1$s for rewriting (in addition to the off-site URL above). Use a comma as the delimiter. For pages with a large number of static files, this can improve browser performance. CNAMEs may also need to be configured on your CDN.<br />Example: %2$s"
67
- msgstr "這些 <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">正規名稱記錄(CNAMES)</a> 會在重寫時用來取代 %1$s (和上面的站外URL一起)。 使用逗號作為分隔符號。 在有大量靜態檔案的網頁中,這可以增進瀏覽器效能。 這些正規名稱可能也需要在你的 CDN 被設定。<br />例: %2$s"
68
 
69
- #: ossdl-cdn.php:193
70
  msgid "Skip https URLs to avoid \"mixed content\" errors"
71
- msgstr "跳過 https 網址以避免「混合的內容」錯誤"
72
 
73
- #: ossdl-cdn.php:197
74
  msgid "Save Changes"
75
  msgstr "儲存變更"
76
 
77
- #: ossdl-cdn.php:199
78
  msgid "CDN functionality provided by <a href=\"http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a> by <a href=\"http://mark.ossdl.de/\">Mark Kubacki</a>"
79
  msgstr "CDN 功能由<a href=\"http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a>提供,作者為<a href=\"http://mark.ossdl.de/\">Mark Kubacki</a>"
80
 
81
- #: plugins/awaitingmoderation.php:4
82
- msgid "Your comment is awaiting moderation."
83
- msgstr "您的迴響正等待審核中。"
84
-
85
- #: plugins/awaitingmoderation.php:32
86
- msgid "Awaiting Moderation"
87
- msgstr "Awaiting Moderation"
88
-
89
- #: plugins/awaitingmoderation.php:34
90
- #: plugins/badbehaviour.php:65
91
- #: plugins/domain-mapping.php:75
92
- #: plugins/searchengine.php:69
93
- #: plugins/wptouch.php:22
94
- #: wp-cache.php:1311
95
- msgid "Enabled"
96
- msgstr "啟用"
97
-
98
- #: plugins/awaitingmoderation.php:35
99
- #: plugins/badbehaviour.php:66
100
- #: plugins/domain-mapping.php:76
101
- #: plugins/searchengine.php:70
102
- #: plugins/wptouch.php:23
103
- #: wp-cache.php:1311
104
- msgid "Disabled"
105
- msgstr "停用"
106
-
107
- #: plugins/awaitingmoderation.php:36
108
- msgid "Enables or disables plugin to Remove the text \"Your comment is awaiting moderation.\" when someone leaves a moderated comment."
109
- msgstr "啟動或關閉此外掛,決定當有人發佈需審核的迴響時,是否去除「您的迴響正等待審核中」字樣。"
110
-
111
- #: plugins/awaitingmoderation.php:40
112
- #: plugins/badbehaviour.php:71
113
- #: plugins/domain-mapping.php:81
114
- #: plugins/searchengine.php:75
115
- #: plugins/wptouch.php:28
116
- #: wp-cache.php:1769
117
- #: wp-cache.php:1771
118
- msgid "enabled"
119
- msgstr "已啟用"
120
-
121
- #: plugins/awaitingmoderation.php:42
122
- #: plugins/badbehaviour.php:73
123
- #: plugins/domain-mapping.php:83
124
- #: plugins/searchengine.php:77
125
- #: plugins/wptouch.php:30
126
- msgid "disabled"
127
- msgstr "已停用"
128
-
129
- #: plugins/awaitingmoderation.php:43
130
- msgid "Awaiting Moderation is now %s"
131
- msgstr "Awaiting Moderation 外掛模組 %s"
132
-
133
- #: plugins/awaitingmoderation.php:45
134
- #: plugins/badbehaviour.php:76
135
- #: plugins/domain-mapping.php:86
136
- #: plugins/searchengine.php:80
137
- #: plugins/wptouch.php:33
138
- msgid "Update"
139
- msgstr "更新"
140
-
141
- #: plugins/badbehaviour.php:47
142
- msgid "Bad Behaviour not found. Please check your install."
143
- msgstr "找不到 Bad Behaviour。請檢查是否正確安裝。"
144
-
145
- #: plugins/badbehaviour.php:63
146
- msgid "Bad Behavior"
147
- msgstr "Bad Behavior"
148
-
149
- #: plugins/badbehaviour.php:68
150
- msgid "(Only legacy caching supported, disabled compression and requires <a href=\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> in \"%s/plugins/bad-behavior/\") "
151
- msgstr "(只支援傳統模式,停用壓縮,<a href=\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> 路徑必須為 \"%s/plugins/bad-behavior/\")"
152
-
153
- #: plugins/badbehaviour.php:74
154
- msgid "Bad Behavior support is now %s"
155
- msgstr "Bad Behaviour 外掛模組 %s"
156
-
157
- #: plugins/badbehaviour.php:83
158
- #: wp-cache.php:1401
159
- #: wp-cache.php:1406
160
- msgid "Warning!"
161
- msgstr "警告!"
162
-
163
- #: plugins/domain-mapping.php:73
164
- msgid "Domain Mapping"
165
- msgstr "Domain Mapping"
166
-
167
- #: plugins/domain-mapping.php:78
168
- msgid "Provides support for <a href=\"http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/\">Domain Mapping</a> plugin to map multiple domains to a blog."
169
- msgstr "<a href=\"http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/\">Domain Mapping</a>外掛支援,映射多個網域至一個 blog。"
170
-
171
- #: plugins/domain-mapping.php:84
172
- msgid "Domain Mapping support is now %s"
173
- msgstr "Domain Mapping 外掛模組 %s"
174
-
175
- #: plugins/domain-mapping.php:98
176
- msgid "Domain Mapping plugin detected! Please go to the Supercache plugins page and enable the domain mapping helper plugin."
177
- msgstr "Domain Mapping 外掛模組已被偵測到!請到 Supercache 外掛頁面啟用 domain mapping 支援外掛。"
178
-
179
- #: plugins/multisite.php:13
180
- msgid "Cached"
181
- msgstr "已快取"
182
-
183
- #: plugins/multisite.php:31
184
- #: wp-cache.php:1324
185
- msgid "Enable"
186
- msgstr "啟用"
187
-
188
- #: plugins/multisite.php:33
189
- #: plugins/searchengine.php:61
190
- #: wp-cache.php:1324
191
- msgid "Disable"
192
- msgstr "停用"
193
-
194
- #: plugins/multisite.php:39
195
- msgid "Caching has been disabled on this blog on the Network Admin Sites page."
196
- msgstr "這個部落格的快取,已經在站台網路管理頁面中被關閉。"
197
-
198
- #: plugins/searchengine.php:67
199
- msgid "No Adverts for Friends"
200
- msgstr "No Adverts for Friends"
201
-
202
- #: plugins/searchengine.php:72
203
- msgid "Provides support for <a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">No Adverts for Friends</a>."
204
- msgstr "<a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">No Adverts for Friends</a> 外掛支援。"
205
-
206
- #: plugins/searchengine.php:78
207
- msgid "No Adverts for Friends support is now %s"
208
- msgstr "No Adverts for Friends 支援 %s"
209
-
210
- #: plugins/wptouch.php:20
211
- msgid "WPTouch"
212
- msgstr "WPTouch"
213
-
214
- #: plugins/wptouch.php:25
215
- msgid "Provides support for <a href=\"http://wordpress.org/extend/plugins/wptouch/\">WPTouch</a> mobile theme and plugin."
216
- msgstr "<a href=\"http://wordpress.org/extend/plugins/wptouch/\">WPTouch</a> 行動裝置主題外掛支援。"
217
-
218
- #: plugins/wptouch.php:31
219
- msgid "WPTouch support is now %s"
220
- msgstr "WPTouch 支援 %s"
221
-
222
- #: plugins/wptouch.php:45
223
- msgid "WPTouch plugin detected! Please go to the Supercache plugins page and enable the WPTouch helper plugin."
224
- msgstr "WPTouch 外掛模組已被偵測到!請到 Supercache 外掛頁面啟用 WPTouch 支援外掛。"
225
-
226
- #: wp-cache-phase2.php:1209
227
- msgid "Cache expiry cron job failed. Job will run again in 10 seconds."
228
- msgstr "執行清除過期快取的排程時失敗。將在十秒內再次執行。"
229
-
230
- #: wp-cache-phase2.php:1213
231
- msgid "Cache expiry cron job took more than 30 seconds. You should probably run the garbage collector more often."
232
- msgstr "定時清除快取花費了超過三十秒以上的時間。你可能需要更常執行垃圾回收功能。"
233
-
234
- #: wp-cache-phase2.php:1222
235
- msgid "[%1$s] WP Super Cache GC Report"
236
- msgstr "[%1$s] WP Super Cache 垃圾回收報告"
237
-
238
  #: wp-cache.php:99
239
  msgid "Please create %s /wp-cache-config.php from wp-super-cache/wp-cache-config-sample.php"
240
  msgstr "請以 wp-super-cache/wp-cache-config-sample.php 建立 %s /wp-cache-config.php"
@@ -265,7 +108,7 @@ msgstr "固定網址結構錯誤"
265
 
266
  #: wp-cache.php:177
267
  msgid "A custom url or permalink structure is required for this plugin to work correctly. Please go to the <a href=\"options-permalink.php\">Permalinks Options Page</a> to configure your permalinks."
268
- msgstr "外掛要正常運作,必須有自定 url 或固定網址。請到<a href=\"options-permalink.php\">固定網址選項</a>設定你的固定網址。"
269
 
270
  #: wp-cache.php:189
271
  msgid "Warning! Your hostname \"%s\" resolves to %s"
@@ -273,34 +116,34 @@ msgstr "警告!你的主機名稱 \"%s\" 解析到 %s"
273
 
274
  #: wp-cache.php:190
275
  msgid "Your server thinks your hostname resolves to %s. Some services such as garbage collection by this plugin, and WordPress scheduled posts may not operate correctly."
276
- msgstr "你的伺服器認為你的主機名稱解析到 %s WP Super Cache 外掛的某些服務,例如垃圾回收、WordPress 排程文章可能無法正常執行。"
277
 
278
  #: wp-cache.php:191
279
  #: wp-cache.php:205
280
  msgid "Please see entry 16 in the <a href=\"%s\">Troubleshooting section</a> of the readme.txt"
281
- msgstr "請參閱 readme.txt 16 項<a href=\"%s\">錯誤排除段落</a>"
282
 
283
  #: wp-cache.php:204
284
  msgid "Unfortunately WordPress cannot find the file wp-cron.php. This script is required for the the correct operation of garbage collection by this plugin, WordPress scheduled posts as well as other critical activities."
285
  msgstr "很抱歉,WordPress 找不到 wp-cron.php 檔案。必須要有這個程式才能正確執行垃圾回收、排程文章及其他重要活動。"
286
 
287
- #: wp-cache.php:218
288
  msgid "Cannot continue... fix previous problems and retry."
289
  msgstr "無法繼續... 解決前述問題然後重試。"
290
 
291
- #: wp-cache.php:227
292
  msgid "Zlib Output Compression Enabled!"
293
- msgstr "Zlib 輸出壓縮已被啟用!"
294
 
295
- #: wp-cache.php:228
296
  msgid "PHP is compressing the data sent to the visitors of your site. Disabling this is recommended as the plugin caches the compressed output once instead of compressing the same page over and over again. Also see #21 in the Troubleshooting section. See <a href=\"http://php.net/manual/en/zlib.configuration.php\">this page</a> for instructions on modifying your php.ini."
297
- msgstr "PHP頁面壓縮啟用中。建議將它關閉,因為外掛針對一個頁面只需要壓縮一次,而不需要反覆的壓縮。另請參見錯換排除段落第21條。 <a href=\"http://php.net/manual/en/zlib.configuration.php\">這邊</a>有如何修改php.ini的說明。"
298
 
299
- #: wp-cache.php:232
300
  msgid "Mod rewrite may not be installed!"
301
  msgstr "Mod rewrite 可能沒有安裝!"
302
 
303
- #: wp-cache.php:233
304
  msgid "It appears that mod_rewrite is not installed. Sometimes this check isn&#8217;t 100% reliable, especially if you are not using Apache. Please verify that the mod_rewrite module is loaded. It is required for serving Super Cache static files. You will still be able to use legacy or PHP modes."
305
  msgstr "看來 mod_rewrite 沒有安裝。有時候這種檢查並非 100% 可信,特別是當你不是使用 Apache 時。請重新檢查 mod_rewrite 模組已經載入。執行 Super Cache 靜態檔案時必須要有它。但你仍然可以使用傳統或PHP快取模式。"
306
 
@@ -310,11 +153,11 @@ msgstr "唯讀模式。設定無法變更。"
310
 
311
  #: wp-cache.php:240
312
  msgid "The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> and cannot be modified. That file must be writeable by the webserver to make any changes."
313
- msgstr "WP Super Cache 設定檔 <code>%s/wp-cache-config.php</code> 無法修改。該檔案必須允許從伺服器端進行寫入以進行設定變更。"
314
 
315
  #: wp-cache.php:241
316
  msgid "A simple way of doing that is by changing the permissions temporarily using the CHMOD command or through your ftp client. Make sure it&#8217;s globally writeable and it should be fine."
317
- msgstr "最簡單的方式是使用 CHMOD 指令或透過 FTP 程式來變更權限。請確保它們正確並可以寫入。"
318
 
319
  #: wp-cache.php:242
320
  #: wp-cache.php:258
@@ -339,7 +182,7 @@ msgstr "你應該變更 %s 權限使其更加嚴密。使用你的FTP程式,
339
 
340
  #: wp-cache.php:267
341
  msgid "Mobile rewrite rules detected"
342
- msgstr "偵測到行動裝置重寫規則"
343
 
344
  #: wp-cache.php:268
345
  msgid "For best performance you should enable \"Mobile device support\" or delete the mobile rewrite rules in your .htaccess. Look for the 2 lines with the text \"2.0\\ MMP|240x320\" and delete those."
@@ -347,7 +190,7 @@ msgstr "為了獲得最好的效能,你應該啟用\"行動裝置支援\",
347
 
348
  #: wp-cache.php:268
349
  msgid "This will have no affect on ordinary users but mobile users will see uncached pages."
350
- msgstr "這不會對一般使用者造成任何影響,但行動裝置使用者將會看到未快取的頁面。"
351
 
352
  #: wp-cache.php:274
353
  #: wp-cache.php:285
@@ -357,11 +200,11 @@ msgstr "Mod Rewrite 規則必須更新!"
357
  #: wp-cache.php:275
358
  #: wp-cache.php:286
359
  msgid "The rewrite rules required by this plugin have changed or are missing. "
360
- msgstr "這個外掛所需的重寫規則已被變更或不存在。"
361
 
362
  #: wp-cache.php:276
363
  msgid "Mobile support requires extra rules in your .htaccess file, or you can set the plugin to legacy mode. Here are your options (in order of difficulty):"
364
- msgstr "行動裝置支援必須在你的 .htaccess 檔案裡新增額外規則,或是你可以將外掛設定為傳統模式。這是你的選擇(依難易度排列):"
365
 
366
  #: wp-cache.php:277
367
  msgid "Set the plugin to legacy mode and enable mobile support."
@@ -370,27 +213,27 @@ msgstr "將外掛設為傳統模式並開啟行動裝置支援。"
370
  #: wp-cache.php:278
371
  #: wp-cache.php:287
372
  msgid "Scroll down the Advanced Settings page and click the <strong>Update Mod_Rewrite Rules</strong> button."
373
- msgstr "捲動到進階選項頁面的下方並點擊<strong>更新 Mod_Rewrite 規則</strong>按鈕。"
374
 
375
  #: wp-cache.php:279
376
  msgid "Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin regenerate them by reloading this page."
377
- msgstr "從 %s.htaccess 內刪除 <code># BEGIN WPSuperCache</code> <code># END WPSuperCache</code> 之間原始碼區段的 mod_rewrite 規則,之後重新載入本頁讓外掛再次產生規則。"
378
 
379
  #: wp-cache.php:280
380
  msgid "Add the rules yourself. Edit %s.htaccess and find the block of code enclosed by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code>. There are two sections that look very similar. Just below the line <code>%%{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$</code> add these lines: (do it twice, once for each section)"
381
- msgstr "自行加入規則。編輯 %s.htaccess 並找到 <code># BEGIN WPSuperCache</code> <code># END WPSuperCache</code> 之間的原始碼區段。有兩個區段非常相似。緊接著 <code>%%{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$</code> 的下方新增這幾行(要做兩次,一個區段一次):"
382
 
383
  #: wp-cache.php:293
384
  msgid "Required to serve compressed supercache files properly."
385
- msgstr "需要此模組以正確提供 supercache 壓縮檔。"
386
 
387
  #: wp-cache.php:293
388
  msgid "Required to set caching information on supercache pages. IE7 users will see old pages without this module."
389
- msgstr "需要此模組以設定在 supercache 頁面的快取資訊。若無此模組,IE7使用者將會看到舊頁面。"
390
 
391
  #: wp-cache.php:293
392
  msgid "Set the expiry date on supercached pages. Visitors may not see new pages when they refresh or leave comments without this module."
393
- msgstr "設定 supercache 快取頁面過期時間。沒有這個模組,訪客在重新整理或留下迴響時可能看不到新頁面。"
394
 
395
  #: wp-cache.php:300
396
  msgid "Missing Apache Modules"
@@ -398,1313 +241,1171 @@ msgstr "Apache 模組遺失"
398
 
399
  #: wp-cache.php:301
400
  msgid "The following Apache modules are missing. The plugin will work in legacy mode without them. In full Supercache mode, your visitors may see corrupted pages or out of date content however."
401
- msgstr "以下的 Apache 模組遺失。沒有它們外掛將在傳統模式下工作。若在完整的 Supercache 模式,你的訪客可能會看到損壞的網頁或是過時的內容。"
402
 
403
- #: wp-cache.php:502
404
  msgid "<strong>Warning!</strong> You attempted to enable compression but <code>zlib.output_compression</code> is enabled. See #21 in the Troubleshooting section of the readme file."
405
- msgstr "<strong>警告!</strong> 你試著要開啟壓縮,但是 <code>zlib.output_compression</code> 已被啟用。 參見讀我檔案裡錯誤排除段落第21條。"
406
 
407
- #: wp-cache.php:598
408
  msgid "WP Super Cache Settings"
409
  msgstr "WP Super Cache 狀態"
410
 
411
- #: wp-cache.php:612
412
  msgid "Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced Settings Page by default."
413
- msgstr "注意:<em>Mod_rewrite 或傳統快取已被開啟。</em> 預設顯示進階選項頁面。"
414
 
415
- #: wp-cache.php:623
416
  msgid "Configuration file changed, some values might be wrong. Load the page again from the \"Settings\" menu to reset them."
417
- msgstr "設定檔已變更,某些數值可能錯誤。再次從\"設定\"選單讀取頁面以重設選項。"
418
 
419
- #: wp-cache.php:655
420
  msgid "Caching must be enabled to use this feature"
421
  msgstr "必須啟用快取才能使用這個功能"
422
 
423
- #: wp-cache.php:673
424
- #: wp-cache.php:813
425
  msgid "Cancel Cache Preload"
426
  msgstr "取消快取預先載入"
427
 
428
- #: wp-cache.php:681
429
- msgid "Scheduled preloading of cache almost cancelled. It may take up to a minute for it to cancel completely."
430
- msgstr "預載快取排程即將取消。完全取消可能要花費至一分鐘。"
431
-
432
- #: wp-cache.php:692
433
  msgid "Scheduled preloading of cache cancelled."
434
  msgstr "預載快取排程已被取消。"
435
 
436
- #: wp-cache.php:724
437
- #: wp-cache.php:811
438
  msgid "Preload Cache Now"
439
  msgstr "馬上開始預先載入"
440
 
441
- #: wp-cache.php:728
442
  msgid "Scheduled preloading of cache in 10 seconds."
443
  msgstr "預載快取將在十秒之後開始。"
444
 
445
- #: wp-cache.php:733
446
  msgid "Scheduled preloading of cache in %d minutes"
447
  msgstr "下次預載快取排程時間:%d分鐘後"
448
 
449
- #: wp-cache.php:737
450
  msgid "This will cache every published post and page on your site. It will create supercache static files so unknown visitors (including bots) will hit a cached page. This will probably help your Google ranking as they are using speed as a metric when judging websites now."
451
- msgstr "這會快取你網站上所有已發布的文章和頁面。它會產生 supercache 靜態檔案,匿名訪客(包括機器人)會命中快取頁面。這有可能會對你的 Google 排名有幫助,因為他們也將網站速度納入衡量項目之一。"
452
 
453
- #: wp-cache.php:738
454
  msgid "Preloading creates lots of files however. Caching is done from the newest post to the oldest so please consider only caching the newest if you have lots (10,000+) of posts. This is especially important on shared hosting."
455
- msgstr "不過預先載入會產生很多檔案。快取會從最新的文章開始做到最早的文章,所以當你有非常多 (10,000+) 文章的時候,可能只會有新文章被快取到。這在共享主機上特別重要。"
456
 
457
- #: wp-cache.php:739
458
  msgid "In &#8217;Preload Mode&#8217; regular garbage collection will only clean out old legacy files for known users, not the preloaded supercache files. This is a recommended setting when the cache is preloaded."
459
- msgstr "在「預先載入」模式,通常的垃圾回收只會清除給已知使用者的傳統快取檔案,而不會清除預先載入的 supercache 檔案。這是預先載入的建議設定。"
460
 
461
- #: wp-cache.php:743
462
  msgid "Refresh preloaded cache files every %s minutes. (0 to disable, minimum %d minutes.)"
463
- msgstr "每 %s 分鐘更新預載快取檔案。(0 關閉,最低 %d 分鐘。)"
464
 
465
- #: wp-cache.php:756
466
  msgid "all"
467
  msgstr "所有"
468
 
469
- #: wp-cache.php:769
470
  msgid "Preload %s posts."
471
  msgstr "預先載入 %s 篇文章。"
472
 
473
- #: wp-cache.php:776
474
  msgid "Preload mode (garbage collection only on legacy cache files. Recommended.)"
475
  msgstr "預先載入模式(只對傳統模式快取做垃圾回收。建議選項。)"
476
 
477
- #: wp-cache.php:779
478
- msgid "Preload tags, categories and other taxonomies."
479
- msgstr "預載標籤,類別,以及其它的分類。"
480
-
481
- #: wp-cache.php:782
482
  msgid "Send me status emails when files are refreshed."
483
  msgstr "當檔案被更新的時候寄信給我。"
484
 
485
- #: wp-cache.php:787
486
  msgid "Many emails, 2 emails per 100 posts."
487
  msgstr "很多信件,每一百篇文章二封信。"
488
 
489
- #: wp-cache.php:790
490
  msgid "Medium, 1 email per 100 posts."
491
  msgstr "中等,每一百篇文章一封信。"
492
 
493
- #: wp-cache.php:793
494
  msgid "Less emails, 1 at the start and 1 at the end of preloading all posts."
495
  msgstr "較少信件,開始的時候一封還有結束的時候一封。"
496
 
497
- #: wp-cache.php:797
498
  msgid "Refresh of cache in %d hours %d minutes and %d seconds."
499
  msgstr "在%d小時%d分鐘%d秒之後更新快取。"
500
 
501
- #: wp-cache.php:798
502
  msgid "Full refresh of cache in %d hours %d minutes and %d seconds."
503
- msgstr "完整更新快取,耗費了 %d 小時 %d 分鐘 %d 秒。"
504
 
505
- #: wp-cache.php:804
506
  msgid "Currently caching from post %d to %d."
507
- msgstr "目前正在快取第 %d 到 %d 篇文章。"
508
 
509
- #: wp-cache.php:808
510
  msgid "<strong>Page last cached:</strong> %s"
511
  msgstr "<strong>最新快取頁面:</strong> %s"
512
 
513
- #: wp-cache.php:811
514
  msgid "Update Settings"
515
  msgstr "更新狀態"
516
 
517
- #: wp-cache.php:819
518
  msgid "Preloading of cache disabled. Please disable legacy page caching or talk to your host administrator."
519
  msgstr "預先載入已被關閉。請關閉傳統模式或和主機管理員連絡。"
520
 
521
- #: wp-cache.php:836
522
- #: wp-cache.php:947
523
  msgid "Caching"
524
  msgstr "快取"
525
 
526
- #: wp-cache.php:840
527
  msgid "Cache hits to this website for quick access."
528
  msgstr "啟用快取以加速對本網站的存取"
529
 
530
- #: wp-cache.php:840
531
- #: wp-cache.php:841
532
- #: wp-cache.php:858
533
- #: wp-cache.php:867
534
- #: wp-cache.php:874
535
- #: wp-cache.php:877
536
- #: wp-cache.php:894
537
- #: wp-cache.php:950
538
  msgid "Recommended"
539
  msgstr "建議選項"
540
 
541
- #: wp-cache.php:841
542
  msgid "Use mod_rewrite to serve cache files."
543
- msgstr "使用 mod_rewrite 快取"
544
 
545
- #: wp-cache.php:842
546
  msgid "Use PHP to serve cache files."
547
- msgstr "使用 PHP 快取"
548
 
549
- #: wp-cache.php:843
550
  msgid "Legacy page caching."
551
  msgstr "傳統快取模式"
552
 
553
- #: wp-cache.php:844
554
  msgid "Mod_rewrite is fastest, PHP is almost as fast and easier to get working, while legacy caching is slower again, but more flexible and also easy to get working. New users should use PHP caching."
555
- msgstr "Mod_rewrite 快取是最快的,PHP 快取幾乎一樣快且較容易上手;傳統模式較慢,但是有更多的彈性且同樣容易上手。新使用者應該使用 PHP 快取。"
556
 
557
- #: wp-cache.php:850
558
  msgid "Miscellaneous"
559
  msgstr "雜項"
560
 
561
- #: wp-cache.php:856
562
  msgid "Warning! Compression is disabled as gzencode() function not found."
563
- msgstr "警告!因為找不到 gzencode() 函式,壓縮已被停用。"
564
 
565
- #: wp-cache.php:858
566
  msgid "Compress pages so they&#8217;re served more quickly to visitors."
567
- msgstr "壓縮網頁,讓訪客能更快速觀看"
568
 
569
- #: wp-cache.php:859
570
  msgid "Compression is disabled by default because some hosts have problems with compressed files. Switching it on and off clears the cache."
571
  msgstr "壓縮預設為停用,因為某些主機在壓縮檔案時可能發生問題。啟用或停用這項功能會清除快取。"
572
 
573
- #: wp-cache.php:867
574
  msgid "304 Not Modified browser caching. Indicate when a page has not been modified since last requested."
575
  msgstr "304 未修改支援。當一個頁面在上次被要求後沒有被更改的時候送出。"
576
 
577
- #: wp-cache.php:870
578
- msgid "Warning! 304 browser caching is only supported when not using mod_rewrite caching."
579
- msgstr "警告! 304 瀏覽器快在不使用 mod_rewrite 快取時才能支援。"
580
-
581
- #: wp-cache.php:872
582
  msgid "304 support is disabled by default because in the past GoDaddy had problems with some of the headers used."
583
- msgstr "304 支援預設為停用,因為過去GoDaddy在它使用的某些檔頭會產生問題。"
584
 
585
- #: wp-cache.php:874
586
  msgid "Don&#8217;t cache pages for <acronym title=\"Logged in users and those that comment\">known users</acronym>."
587
  msgstr "不要為<acronym title=\"已登入或有留下迴響的使用者\">已知使用者</acronym>快取。"
588
 
589
- #: wp-cache.php:875
590
- msgid "Don&#8217;t cache pages with GET parameters. (?x=y at the end of a url)"
591
- msgstr "不快取使用 GET 參數的頁面。(結尾有 ?x=y 的網址)"
592
-
593
- #: wp-cache.php:876
594
- msgid "Make known users anonymous so they&#8217;re served supercached static files."
595
- msgstr "讓已知使用者匿名化,以靜態快取檔案服務他們。"
596
-
597
- #: wp-cache.php:877
598
  msgid "Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated."
599
- msgstr "重建快取。當新檔案重建的時候,提供 supercache 檔案給匿名使用者。"
600
 
601
- #: wp-cache.php:878
602
- msgid "Proudly tell the world your server is <a href=\"%s\">Stephen Fry proof</a>! (places a message in your blog&#8217;s footer)"
603
- msgstr "告訴全世界你的伺服器不怕 <a href=\"%s\">Stephen Fry</a> (一個名人)攻擊!(在你的部落格底部放置一段訊息)"
604
 
605
- #: wp-cache.php:884
606
- #: wp-cache.php:1162
607
- #: wp-cache.php:1778
608
  msgid "Advanced"
609
  msgstr "進階選項"
610
 
611
- #: wp-cache.php:888
612
- msgid "Mobile device support. (External plugin or theme required. See the <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for further details.)"
613
- msgstr "行動裝置支援 (需要外掛或額外的主題來支援。 參見<a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">常見問答</a>以獲得更多資訊。)"
614
-
615
- #: wp-cache.php:890
616
- msgid "Mobile Browsers"
617
- msgstr "行動瀏覽器"
618
-
619
- #: wp-cache.php:890
620
- msgid "Mobile Prefixes"
621
- msgstr "行動前置字串"
622
-
623
- #: wp-cache.php:892
624
- msgid "Remove UTF8/blog charset support from .htaccess file. Only necessary if you see odd characters or punctuation looks incorrect. Requires rewrite rules update."
625
- msgstr "從 .htaccess 中移除 UTF8 字元集支援。只在你看到奇怪的字元或錯誤的標點時才需要。必須更新重寫規則。"
626
 
627
- #: wp-cache.php:893
628
- msgid "Clear all cache files when a post or page is published or updated."
629
- msgstr "當發布或更新文章、網誌分頁時清除所有快取。"
630
 
631
- #: wp-cache.php:894
632
  msgid "Extra homepage checks. (Very occasionally stops homepage caching)"
633
  msgstr "額外的首頁檢查(有很小的機會導致首頁快取停止)。"
634
 
635
- #: wp-cache.php:895
636
  msgid "Only refresh current page when comments made."
637
  msgstr "當迴響發佈時,只更新目前頁面。"
638
 
639
- #: wp-cache.php:896
640
  msgid "List the newest cached pages on this page."
641
  msgstr "在本頁列出最新的快取頁面。"
642
 
643
- #: wp-cache.php:898
644
  msgid "Coarse file locking. You probably don&#8217;t need this but it may help if your server is underpowered. Warning! <em>May cause your server to lock up in very rare cases!</em>"
645
  msgstr "粗略檔案鎖定。你大概不會用到這個功能,但如果你的伺服器效能較差,開啟後可能會有所幫助。警告!<em>可能在少數情況下鎖死你的伺服器!</em>"
646
 
647
- #: wp-cache.php:900
648
  msgid "Late init. Display cached files after WordPress has loaded. Most useful in legacy mode."
649
- msgstr "延遲初始化,在 WordPress 載入之後再顯示快取。通常使用在傳統模式。"
650
 
651
- #: wp-cache.php:902
652
  msgid "Use object cache to store cached files."
653
- msgstr "使用 object 快取來儲存快取檔案。"
654
 
655
- #: wp-cache.php:902
656
  msgid "(Experimental)"
657
  msgstr "(實驗選項)"
658
 
659
- #: wp-cache.php:904
660
- msgid "<strong>DO NOT CACHE PAGE</strong> secret key: <a href=\"%s\">%s</a>"
661
- msgstr "<strong>存取非快取頁面</strong> 密鑰: <a href=\"%s\">%s</a>"
662
-
663
- #: wp-cache.php:910
664
  msgid "Note:"
665
  msgstr "備註:"
666
 
667
- #: wp-cache.php:912
668
  msgid "Uninstall this plugin on the plugins page. It will automatically clean up after itself. If manual intervention is required then simple instructions are provided."
669
  msgstr "請在外掛頁面反安裝此外掛。它將會在反安裝後將設定清除。如需手動介入,亦會提供簡單的指示。"
670
 
671
- #: wp-cache.php:913
672
  msgid "If uninstalling this plugin, make sure the directory <em>%s</em> is writeable by the webserver so the files <em>advanced-cache.php</em> and <em>cache-config.php</em> can be deleted automatically. (Making sure those files are writeable too is probably a good idea!)"
673
  msgstr "如果移除這個外掛,請確認目錄 <em>%s</em> 為伺服器可以寫入,<em>advanced-cache.php</em> 和 <em>cache-config.php</em> 檔案會自動刪除。(確認這些檔案是可寫入的,也是個好主意!)"
674
 
675
- #: wp-cache.php:914
676
  msgid "Please see the <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> for instructions on uninstalling this script. Look for the heading, \"How to uninstall WP Super Cache\"."
677
- msgstr "反安裝資訊請參見 <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a>,尋找 \"How to uninstall WP Super Cache\" 標題。"
678
 
679
- #: wp-cache.php:915
680
  msgid "Need help? Check the <a href=\"%1$s\">Super Cache readme file</a>. It includes installation documentation, a FAQ and Troubleshooting tips. The <a href=\"%2$s\">support forum</a> is also available. Your question may already have been answered."
681
  msgstr "需要幫助? 看看<a href=\"%1$s\">Super Cache 讀我檔案</a>。 它包含了安裝資訊,常見問題及錯誤排除小技巧。另外在<a href=\"%2$s\">支援論壇</a>上,你的問題可能也已經有人回答過了。"
682
 
683
- #: wp-cache.php:918
684
- #: wp-cache.php:965
685
  msgid "Update Status"
686
  msgstr "更新狀態"
687
 
688
- #: wp-cache.php:925
689
  msgid "Accepted Filenames &amp; Rejected URIs"
690
- msgstr "接受的檔案名稱和拒絕的 URI"
691
 
692
- #: wp-cache.php:950
693
  msgid "Caching On"
694
  msgstr "開啟快取"
695
 
696
- #: wp-cache.php:951
697
  msgid "Caching Off"
698
  msgstr "關閉快取"
699
 
700
- #: wp-cache.php:952
701
  msgid "Note: enables PHP caching, cache rebuild, and mobile support"
702
- msgstr "說明:啟用 PHP 快取,重建快取,以及行動裝置支援"
703
 
704
- #: wp-cache.php:962
705
  msgid "Notice: PHP caching enabled but Supercache mod_rewrite rules detected. Cached files will be served using those rules. If your site is working ok please ignore this message or you can edit the .htaccess file in the root of your install and remove the SuperCache rules."
706
- msgstr "注意:PHP 快取已被啟用,但偵測到 Supercache mod_rewrite 規則。快取檔案會用這些規則來服務。如果你的網站動作正常,你可以忽略這個訊息,否則請編輯站台安裝根目錄下的 .htaccess 檔以移除 SuperCache 規則。"
707
 
708
- #: wp-cache.php:967
709
  msgid "Cache Tester"
710
  msgstr "快取測試"
711
 
712
- #: wp-cache.php:968
713
  msgid "Test your cached website by clicking the test button below."
714
  msgstr "請按下面的測試按鈕以測試你的網站快取。"
715
 
716
- #: wp-cache.php:974
717
  msgid "Fetching %s to prime cache: "
718
  msgstr "抓取 %s 至主要快取:"
719
 
720
- #: wp-cache.php:976
721
- #: wp-cache.php:985
722
- #: wp-cache.php:997
723
  msgid "OK"
724
  msgstr "完成"
725
 
726
- #: wp-cache.php:979
727
  msgid "Fetching first copy of %s: "
728
  msgstr "抓取第一份%s:"
729
 
730
- #: wp-cache.php:988
731
- #: wp-cache.php:999
732
- msgid "FAILED"
733
- msgstr "失敗"
734
-
735
- #: wp-cache.php:991
736
  msgid "Fetching second copy of %s: "
737
  msgstr "抓取第二份%s:"
738
 
739
- #: wp-cache.php:1003
740
  msgid "One or more page requests failed:"
741
  msgstr "一個或以上的頁面要求失敗:"
742
 
743
- #: wp-cache.php:1022
744
- #: wp-cache.php:1023
745
  msgid "Page %d: %d (%s)"
746
  msgstr "頁面 %d: %d (%s)"
747
 
748
- #: wp-cache.php:1029
749
  msgid "Page 1: %s"
750
  msgstr "頁面1: %s"
751
 
752
- #: wp-cache.php:1030
753
  msgid "Page 2: %s"
754
  msgstr "頁面2: %s"
755
 
756
- #: wp-cache.php:1031
757
  msgid "The timestamps on both pages match!"
758
  msgstr "頁面時間標籤相符!"
759
 
760
- #: wp-cache.php:1033
761
  msgid "The pages do not match! Timestamps differ or were not found!"
762
- msgstr "無頁面時間標籤或標籤不相符!"
763
-
764
- #: wp-cache.php:1034
765
- msgid "Things you can do:"
766
- msgstr "你可以做的事:"
767
-
768
- #: wp-cache.php:1035
769
- msgid "Load your homepage in a logged out browser, check the timestamp at the end of the html source. Load the page again and compare the timestamp. Caching is working if the timestamps match."
770
- msgstr "在已登出的瀏覽器載入你的首頁,檢查html結尾的時間標籤,並再次載入頁面並比較時間標籤。快取如果有效時間標籤會是一致的。"
771
-
772
- #: wp-cache.php:1036
773
- msgid "Enable logging on the Debug page here. That should help you track down the problem."
774
- msgstr "在本除錯頁面開啟記錄功能,應該可以幫助你找出問題所在。"
775
-
776
- #: wp-cache.php:1037
777
- msgid "You should check Page 1 and Page 2 above for errors. Your local server configuration may not allow your website to access itself."
778
- msgstr "檢查上面第一頁及第二頁的錯誤。你的本機伺服器設定可能不允許你的網站存取自己本身。"
779
 
780
- #: wp-cache.php:1045
781
  msgid "Send non-secure (non https) request for homepage"
782
- msgstr "以非加密 (非 https) 傳輸請求首頁"
783
 
784
- #: wp-cache.php:1046
785
  msgid "Test Cache"
786
  msgstr "測試快取"
787
 
788
- #: wp-cache.php:1050
789
  msgid "Delete Cached Pages"
790
  msgstr "刪除快取頁面"
791
 
792
- #: wp-cache.php:1051
793
  msgid "Cached pages are stored on your server as html and PHP files. If you need to delete them use the button below."
794
- msgstr "快取頁面以 html PHP 檔案的形式儲存在你的伺服器上。如果你需要刪除它們,請按下面的按鈕。"
795
 
796
- #: wp-cache.php:1054
797
- #: wp-cache.php:2316
798
- #: wp-cache.php:2335
799
- #: wp-cache.php:2506
800
- #: wp-cache.php:3030
801
  msgid "Delete Cache"
802
  msgstr "刪除快取"
803
 
804
- #: wp-cache.php:1061
805
- #: wp-cache.php:2322
806
- msgid "Delete Cache On All Blogs"
807
- msgstr "刪除所有部落格的快取頁面"
808
-
809
- #: wp-cache.php:1066
810
  msgid "Recommended Links and Plugins"
811
  msgstr "建議連結及外掛"
812
 
813
- #: wp-cache.php:1067
814
  msgid "Caching is only one part of making a website faster. Here are some other plugins that will help:"
815
  msgstr "快取只是讓網站變快的方法之一。這邊是一些其它有幫助的外掛:"
816
 
817
- #: wp-cache.php:1068
818
- msgid "<a href=\"%s\">WPSCMin</a>, a Supercache plugin that minifies cached pages by removing whitespaces and extra characters "
819
- msgstr "<a href=\"%s\">WPSCMin</a>,一個 Supercache 的外掛,藉由移除多餘的空白和無用的字元將頁面最小化。"
820
 
821
- #: wp-cache.php:1069
822
  msgid "<a href=\"%s\">Yahoo! Yslow</a> is an extension for the Firefox add-on Firebug. It analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. Also try the performance tools online at <a href=\"%s\">GTMetrix</a>."
823
- msgstr "<a href=\"%s\">Yahoo! Yslow</a> 是 Firefox 附加元件 Firebug 的一個延伸套件。它可以分析你的網頁,並根據一些高效率網頁規則,建議你增加效能的方式。 你也可以試試一個線上效能分析工具 <a href=\"%s\">GTMetrix</a>。"
824
 
825
- #: wp-cache.php:1070
826
  msgid "<a href=\"%s\">Use Google Libraries</a> allows you to load some commonly used Javascript libraries from Google webservers. Ironically it may reduce your Yslow score."
827
- msgstr "<a href=\"%s\">Use Google Libraries</a>可以讓你從 Google 的伺服器上載入一些常用的 Javascript 函式庫。很諷刺的是它會降低你的 Yslow 分數。"
828
 
829
- #: wp-cache.php:1072
830
  msgid "<strong>Advanced users only:</strong> <a href=\"%s\">Speed up your site with Caching and cache-control</a> explains how to make your site more cacheable with .htaccess rules."
831
- msgstr "<strong>進階使用者專用:</strong> <a href=\"%s\">使用快取及快取控制加速你的網站</a>,解釋怎麼讓你的網站更適用 .htaccess 規則來進行快取。"
832
 
833
- #: wp-cache.php:1073
834
  msgid "<strong>Advanced users only:</strong> Install an object cache. Choose from <a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a href=\"%s\">eAcccelerator</a> and others."
835
- msgstr "<strong>進階使用者專用:</strong> 安裝物件快取。 你可以從 <a href=\"%s\">Memcached</a>、<a href=\"%s\">XCache</a>、<a href=\"%s\">eAcccelerator</a> 或其它的加速器中選擇一個。"
836
-
837
- #: wp-cache.php:1074
838
- msgid "<a href=\"%s\">Cron View</a> is a useful plugin to use when trying to debug garbage collection and preload problems."
839
- msgstr "<a href=\"%s\">Cron View</a> 外掛,在你想要針對垃圾回收及預先載入問題除錯時相當有用。"
840
 
841
- #: wp-cache.php:1085
842
  msgid "Make WordPress Faster"
843
  msgstr "讓 WordPress 更快速"
844
 
845
- #: wp-cache.php:1086
846
  msgid "%1$s is maintained and developed by %2$s with contributions from many others."
847
  msgstr "%1$s由%2$s開發及維護,並得到許多人的幫助貢獻。"
848
 
849
- #: wp-cache.php:1087
850
  msgid "He blogs at %1$s and posts photos at %2$s."
851
- msgstr "我的部落格在 %1$s,相簿在 %2$s。繁體中文翻譯問題請洽<a href=\"http://priv.tw/blog/\">priv</a>"
852
 
853
- #: wp-cache.php:1088
854
  msgid "Please say hi to him on %s too!"
855
  msgstr "在%s上向我問好!"
856
 
857
- #: wp-cache.php:1089
858
  msgid "Need Help?"
859
  msgstr "需要幫助?"
860
 
861
- #: wp-cache.php:1091
862
- msgid "Use the debug system in the Debug tab above. It will tell you what the plugin is doing."
863
- msgstr "請使用上方除錯分頁的除錯系統,它會告訴你這個外掛的功能。"
864
-
865
- #: wp-cache.php:1092
866
  msgid "<a href=\"%1$s\">Installation Help</a>"
867
  msgstr "<a href=\"%1$s\">安裝指南</a>"
868
 
869
- #: wp-cache.php:1093
870
  msgid "<a href=\"%1$s\">Frequently Asked Questions</a>"
871
  msgstr "<a href=\"%1$s\">常見問題</a>"
872
 
873
- #: wp-cache.php:1094
874
  msgid "<a href=\"%1$s\">Support Forum</a>"
875
  msgstr "<a href=\"%1$s\">支援論壇</a>"
876
 
877
- #: wp-cache.php:1096
878
  msgid "Rate This Plugin!"
879
  msgstr "為這個外掛評分!"
880
 
881
- #: wp-cache.php:1097
882
  msgid "Please <a href=\"%s\">rate</a> this plugin and tell me if it works for you or not. It really helps development."
883
  msgstr "請為這個外掛<a href=\"%s\">評分</a>,並告訴我它是否運作正常。這對開發非常有幫助。"
884
 
885
- #: wp-cache.php:1106
886
  msgid "Cached pages since %1$s : <strong>%2$s</strong>"
887
  msgstr "快取頁面自 %1$s :<strong>%2$s</strong>"
888
 
889
- #: wp-cache.php:1107
890
  msgid "Newest Cached Pages:"
891
  msgstr "最新的快取頁面:"
892
 
893
- #: wp-cache.php:1111
894
  msgid "Cached %s seconds ago"
895
- msgstr " %s 秒前快取"
896
 
897
- #: wp-cache.php:1114
898
  msgid "(may not always be accurate on busy sites)"
899
  msgstr "(在忙碌的網站上未必準確)"
900
 
901
- #: wp-cache.php:1133
902
  msgid "Cache plugins are PHP scripts that live in a plugins folder inside the wp-super-cache folder. They are loaded when Supercache loads, much sooner than regular WordPress plugins."
903
- msgstr "快取外掛是 wp-super-cache plugin 資料夾中的一些 PHP 程式。它們在 Supercache 載入的時候就會被載入,比一般的 WordPress plugin 要早得多。"
904
 
905
- #: wp-cache.php:1134
906
  msgid "This is strictly an advanced feature only and knowledge of both PHP and WordPress actions is required to create them."
907
- msgstr "這是一個非常進階的功能,只有對 PHP Wordpress 動作都非常了解的人才能撰寫。"
908
 
909
- #: wp-cache.php:1135
910
- msgid "<strong>Warning</strong>! Due to the way WordPress upgrades plugins the plugins you upload to wp-super-cache/plugins/ will be deleted when you upgrade WP Super Cache. You can avoid this by loading the plugins from elsewhere. Set <strong>$wp_cache_plugins_dir</strong> to the new location in wp-config.php and WP Super Cache will look there instead.<br />More info available in the <a href=\"http://ocaoimh.ie/wp-super-cache-developers/\">developer documentation</a>."
911
- msgstr "<strong>警告</strong>! 肇因於 WordPress 升級外掛的方式,上傳至 wp-super-cache/plugins 的外掛在升級 WP Super Cache 將會被刪除。你可以把外掛放到別的地方以避免此一問題。在 wp-config.php 中設定 <strong>$wp_cache_plugins_dir</strong> 至新的位置,WP Super Cache 將會改用此一新位置。<br /><a href=\"http://ocaoimh.ie/wp-super-cache-developers/\">開發者文件</a>中有更多的資訊。"
912
-
913
- #: wp-cache.php:1145
914
  msgid "Available Plugins"
915
  msgstr "可使用的外掛"
916
 
917
- #: wp-cache.php:1162
918
  msgid "Easy"
919
  msgstr "簡易模式"
920
 
921
- #: wp-cache.php:1162
922
  msgid "CDN"
923
  msgstr "CDN"
924
 
925
- #: wp-cache.php:1162
926
  msgid "Contents"
927
  msgstr "內容"
928
 
929
- #: wp-cache.php:1162
930
  msgid "Preload"
931
  msgstr "預先載入"
932
 
933
- #: wp-cache.php:1162
934
  msgid "Plugins"
935
  msgstr "外掛"
936
 
937
- #: wp-cache.php:1162
938
  msgid "Debug"
939
  msgstr "除錯設定"
940
 
941
- #: wp-cache.php:1197
942
  msgid "Notice: WP Super Cache mod_rewrite rule checks disabled unless running on <a href=\"%s\">the main site</a> of this network."
943
- msgstr "注意:除非在這個網路的<a href=\"%s\">主站</a>上執行,WP Super Cache mod_rewrite 規則檢查會被關閉。s"
944
 
945
- #: wp-cache.php:1206
946
  msgid "Mod Rewrite Rules"
947
  msgstr "Mod Rewrite 規則"
948
 
949
- #: wp-cache.php:1212
950
  msgid "WordPress MU Detected"
951
- msgstr "偵測到 WordPress MU"
952
 
953
- #: wp-cache.php:1212
954
  msgid "Unfortunately the rewrite rules cannot be updated automatically when running WordPress MU. Please open your .htaccess and add the following mod_rewrite rules above any other rules in that file."
955
  msgstr "抱歉,當執行 WordPress MU 時重寫規則無法自動更新。請開啟你的 .htaccess,並在上述檔案中任何位置加入下方的 mod_rewrite 規則。"
956
 
957
- #: wp-cache.php:1214
958
  msgid "Mod Rewrite rules cannot be updated!"
959
  msgstr "Mod Rewrite 規則無法更新!"
960
 
961
- #: wp-cache.php:1215
962
  msgid "You must have <strong>BEGIN</strong> and <strong>END</strong> markers in %s.htaccess for the auto update to work. They look like this and surround the main WordPress mod_rewrite rules:"
963
- msgstr "要讓它自動工作,你必須在 %s.htaccess 上有 <strong>BEGIN</strong> 和 <strong>END</strong> 標記,它們看起來像這樣,圍繞 WordPress 的主要 mod_rewrite 規則:"
964
 
965
- #: wp-cache.php:1217
966
  msgid "Refresh this page when you have updated your .htaccess file."
967
  msgstr "當你已更新你的 .htaccess 檔案後重新整理此頁。"
968
 
969
- #: wp-cache.php:1221
970
  msgid "Thank you for upgrading."
971
  msgstr "感謝升級。"
972
 
973
- #: wp-cache.php:1221
974
  msgid "The mod_rewrite rules changed since you last installed this plugin. Unfortunately you must remove the old supercache rules before the new ones are updated. Refresh this page when you have edited your .htaccess file. If you wish to manually upgrade, change the following line: %1$s so it looks like this: %2$s The only changes are \"HTTP_COOKIE\" becomes \"HTTP:Cookie\" and \"wordpressuser\" becomes \"wordpress\". This is a WordPress 2.5 change but it&#8217;s backwards compatible with older versions if you&#8217;re brave enough to use them."
975
- msgstr "從你上次安裝此外掛,mod_rewrite 規則已經變更。在新的 supercache 規則更新前,你必須先刪除舊的 supercache 規則。在你修改你的 .htaccess 檔案後重新整理此頁。如果你希望手動更新,更改以下幾行:%1$s 使它看起來像這樣:%2$s ,唯一改變的地方是 \"HTTP_COOKIE\" 變成 \"HTTP:Cookie\" 以及 \"wordpressuser\" 變成 \"wordpress\"。這是 WordPress 2.5 的改變,但如果你敢使用,它與舊版本相容。"
976
 
977
- #: wp-cache.php:1225
978
  msgid "Trailing slash check required."
979
  msgstr "尾端斜線的檢查是必須的。"
980
 
981
- #: wp-cache.php:1225
982
  msgid "It looks like your blog has URLs that end with a \"/\". Unfortunately since you installed this plugin a duplicate content bug has been found where URLs not ending in a \"/\" end serve the same content as those with the \"/\" and do not redirect to the proper URL. To fix, you must edit your .htaccess file and add these two rules to the two groups of Super Cache rules:"
983
- msgstr "看起來你的部落格有以\"/\"結束的 URL。不幸地在你安裝這個外掛後,在URL不是以\"/\"結束的頁面,發現了一個重複內容的 bug,也就是相同的內容卻不是被指向正確的 URL。你必須修改你的 .htaccess 檔案以修復這個問題,在兩個 Super Cache 規則區段內新增下面兩個規則:"
984
 
985
- #: wp-cache.php:1227
986
  msgid "You can see where the rules go and examine the complete rules by clicking the \"View mod_rewrite rules\" link below."
987
  msgstr "你可以看到規則去向,透過點選下方的「查看 mod_rewrite 規則」連結來看到完整的規則"
988
 
989
- #: wp-cache.php:1241
990
  msgid "Mod Rewrite rules updated!"
991
  msgstr "Mod Rewrite 規則已更新!"
992
 
993
- #: wp-cache.php:1242
994
  msgid "%s.htaccess has been updated with the necessary mod_rewrite rules. Please verify they are correct. They should look like this:"
995
  msgstr "%s.htaccess 已更新必要的 mod_rewrite 規則。請確保它們是正確的。它們應該像這樣:"
996
 
997
- #: wp-cache.php:1244
998
  msgid "Mod Rewrite rules must be updated!"
999
  msgstr "Mod Rewrite 規則必須更新!"
1000
 
1001
- #: wp-cache.php:1245
1002
  msgid "Your %s.htaccess is not writable by the webserver and must be updated with the necessary mod_rewrite rules. The new rules go above the regular WordPress rules as shown in the code below:"
1003
- msgstr "你的 %s.htaccess 無法由伺服器寫入,必須更新 mod_rewrite 規則。新的規則必須在一般的 WordPress 規則之上,如下面的原始碼所示:"
1004
 
1005
- #: wp-cache.php:1250
1006
  msgid "WP Super Cache mod rewrite rules were detected in your %s.htaccess file.<br /> Click the following link to see the lines added to that file. If you have upgraded the plugin make sure these rules match."
1007
- msgstr "在你的 %s.htaccess 檔案中已經檢測到 WP Super Cache 重寫規則。<br />點選以下連結,查看新增到該檔案的內容。如果你已經升級外掛,請確保與這些規則相同。"
1008
 
1009
- #: wp-cache.php:1253
1010
  msgid "A difference between the rules in your .htaccess file and the plugin rewrite rules has been found. This could be simple whitespace differences but you should compare the rules in the file with those below as soon as possible. Click the &#8217;Update Mod_Rewrite Rules&#8217; button to update the rules."
1011
- msgstr "發現 .htaccess rewrite 規則和外掛 rewrite 規則的不一致。有可能只是單純空白字元的差別,但是你應該立即比較以下的規則。 點擊「更新 Mod_Rewrite 規則」按鈕以更新規則。"
1012
 
1013
- #: wp-cache.php:1255
1014
  msgid "View Mod_Rewrite Rules"
1015
  msgstr "查看 Mod_Rewrite 規則"
1016
 
1017
- #: wp-cache.php:1261
1018
- #: wp-cache.php:2622
1019
  msgid "Rules must be added to %s too:"
1020
- msgstr "也必須新增到 %s 的規則:"
1021
 
1022
- #: wp-cache.php:1268
1023
  msgid "Gzip encoding rules in %s.htaccess created."
1024
- msgstr "%s.htaccess 內 gzip 規則建立。"
1025
 
1026
- #: wp-cache.php:1275
1027
  msgid "Fix Configuration"
1028
  msgstr "修復設定"
1029
 
1030
- #: wp-cache.php:1278
1031
  msgid "Restore Default Configuration"
1032
  msgstr "還原到預設選項"
1033
 
1034
- #: wp-cache.php:1286
1035
  msgid "Comment moderation is enabled. Your comment may take some time to appear."
1036
  msgstr "迴響審核已啟用。您的迴響可能需要一些時間才會顯示。"
1037
 
1038
- #: wp-cache.php:1311
1039
  msgid "Lock Down:"
1040
  msgstr "鎖定:"
1041
 
1042
- #: wp-cache.php:1312
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1043
  msgid "Prepare your server for an expected spike in traffic by enabling the lock down. When this is enabled, new comments on a post will not refresh the cached static files."
1044
  msgstr "如果你預測會有流量高峰到來時,可以啟用鎖定功能。當這個功能啟用時,在文章裡發佈新迴響將不會更新靜態快取檔案。"
1045
 
1046
- #: wp-cache.php:1313
1047
  msgid "Developers: Make your plugin lock down compatible by checking the \"WPLOCKDOWN\" constant. The following code will make sure your plugin respects the WPLOCKDOWN setting."
1048
- msgstr "開發者:透過檢查 \"WPLOCKDOWN\",讓你的外掛與鎖定功能相容。下面的原始碼將確保你的外掛遵守 WPLOCKDOWN 設定。"
1049
 
1050
- #: wp-cache.php:1315
1051
  msgid "Sorry. My blog is locked down. Updates will appear shortly"
1052
  msgstr "抱歉。我的部落格已經鎖定。將會在短時間後更新。"
1053
 
1054
- #: wp-cache.php:1319
1055
  msgid "WordPress is locked down. Super Cache static files will not be deleted when new comments are made."
1056
  msgstr "WordPress 已鎖定。新的迴響產生時將不會刪除 Super Cache 靜態快取檔案。"
1057
 
1058
- #: wp-cache.php:1321
1059
  msgid "WordPress is not locked down. New comments will refresh Super Cache static files as normal."
1060
  msgstr "WordPress 未鎖定。新的迴響產生時將會正常更新 Super Cache 靜態快取檔案。"
1061
 
1062
- #: wp-cache.php:1327
 
 
 
 
 
 
 
 
 
 
 
1063
  msgid "Lock Down"
1064
  msgstr "鎖定"
1065
 
1066
- #: wp-cache.php:1335
1067
  msgid "Directly Cached Files"
1068
  msgstr "直接快取檔案"
1069
 
1070
- #: wp-cache.php:1393
1071
  msgid "%s removed!"
1072
  msgstr "%s 已移除!"
1073
 
1074
- #: wp-cache.php:1401
 
 
 
 
 
 
1075
  msgid "You must make %s writable to enable this feature. As this is a security risk please make it readonly after your page is generated."
1076
  msgstr "啟用這項功能前必須確認 %s 是可寫入狀態。由於這牽涉到一個安全風險,請在你的網頁產生後把它設為唯讀。"
1077
 
1078
- #: wp-cache.php:1406
1079
  msgid "%s is writable. Please make it readonly after your page is generated as this is a security risk."
1080
  msgstr "%s 可寫入。由於這牽涉到一個安全風險,請在你的網頁產生後把它設為唯讀。"
1081
 
1082
- #: wp-cache.php:1421
1083
  msgid "Existing direct page"
1084
  msgstr "已存在的直接頁面"
1085
 
1086
- #: wp-cache.php:1421
1087
  msgid "Delete cached file"
1088
  msgstr "刪除快取檔案"
1089
 
1090
- #: wp-cache.php:1426
1091
  msgid "Add direct page:"
1092
  msgstr "新增直接頁面:"
1093
 
1094
- #: wp-cache.php:1428
1095
  msgid "Directly cached files are files created directly off %s where your blog lives. This feature is only useful if you are expecting a major Digg or Slashdot level of traffic to one post or page."
1096
  msgstr "直接快取檔案是從你的部落格 %s 產生直接建立的檔案。這項功能只在你預測將會有從 Digg 或 Slashdot 大量流量進入某篇文章或頁面時才有用。"
1097
 
1098
- #: wp-cache.php:1430
1099
  msgid "For example: to cache <em>%1$sabout/</em>, you would enter %1$sabout/ or /about/. The cached file will be generated the next time an anonymous user visits that page."
1100
  msgstr "舉例來說:快取 <em>%1$sabout/</em>, 你應該輸入 %1$sabout/ 或 /about/ 。快取檔案將在下一個匿名使用者訪問該頁面時產生。"
1101
 
1102
- #: wp-cache.php:1431
1103
  msgid "Make the textbox blank to remove it from the list of direct pages and delete the cached file."
1104
  msgstr "將輸入框清空,就能將它從直接頁面清單中移除並刪除快取檔案。"
1105
 
1106
- #: wp-cache.php:1436
1107
  msgid "Update Direct Pages"
1108
  msgstr "更新直接頁面"
1109
 
1110
- #: wp-cache.php:1464
1111
- msgctxt "timezone date format"
1112
- msgid "Y-m-d G:i:s"
1113
- msgstr "Y-m-d G:i:s"
1114
-
1115
- #: wp-cache.php:1523
1116
  msgid "Expiry Time &amp; Garbage Collection"
1117
- msgstr "過期時間與垃圾回收"
1118
-
1119
- #: wp-cache.php:1525
1120
- msgid "<abbr title=\"Coordinated Universal Time\">UTC</abbr> time is <code>%s</code>"
1121
- msgstr "<abbr title=\"Coordinated Universal Time\">UTC</abbr> 時間是 <code>%s</code>"
1122
-
1123
- #: wp-cache.php:1528
1124
- msgid "Local time is <code>%1$s</code>"
1125
- msgstr "本地時間是 <code>%1$s</code>"
1126
-
1127
- #: wp-cache.php:1532
1128
- msgid "Next scheduled garbage collection will be at <strong>%s UTC</strong>"
1129
- msgstr "下次垃圾回收排程時間<strong> %s UTC</strong>"
1130
-
1131
- #: wp-cache.php:1536
1132
- msgid "Warning! <strong>PRELOAD MODE</strong> activated. Supercache files will not be deleted regardless of age."
1133
- msgstr "警告 <strong>預載模式</strong> 已被啟用。Supercache檔案將不會由於過期而被刪除。"
1134
 
1135
- #: wp-cache.php:1553
1136
- msgid "Cache Timeout"
1137
- msgstr "快取逾時"
1138
 
1139
- #: wp-cache.php:1554
1140
- #: wp-cache.php:1557
1141
  msgid "seconds"
1142
  msgstr "秒"
1143
 
1144
- #: wp-cache.php:1555
1145
- msgid "How long should cached pages remain fresh? Set to 0 to disable garbage collection. A good starting point is 3600 seconds."
1146
- msgstr "設定快取的有效期限。設定 0 以關閉垃圾回收功能。可以從 3600 秒先開始嘗試。"
1147
-
1148
- #: wp-cache.php:1556
1149
- msgid "Scheduler"
1150
- msgstr "排程器"
1151
-
1152
- #: wp-cache.php:1556
1153
- msgid "Timer:"
1154
- msgstr "計時:"
1155
-
1156
- #: wp-cache.php:1557
1157
- msgid "Check for stale cached files every <em>interval</em> seconds."
1158
- msgstr "每隔<em>幾秒</em>檢查失效的快取檔案。"
1159
-
1160
- #: wp-cache.php:1558
1161
- msgid "Clock:"
1162
- msgstr "時刻:"
1163
-
1164
- #: wp-cache.php:1559
1165
- msgid "HH:MM"
1166
- msgstr "HH:MM (時:分)"
1167
-
1168
- #: wp-cache.php:1559
1169
- msgid "Check for stale cached files at this time <strong>(UTC)</strong> or starting at this time every <em>interval</em> below."
1170
- msgstr "在下列時間 <strong>(UTC)</strong> 檢查失效快取,或從此時間開始每段<em>間隔</em>檢查。"
1171
-
1172
- #: wp-cache.php:1561
1173
- msgid "Interval:"
1174
- msgstr "間隔:"
1175
-
1176
- #: wp-cache.php:1567
1177
- msgid "Notification Emails"
1178
- msgstr "通知郵件"
1179
-
1180
- #: wp-cache.php:1568
1181
- msgid "Email me when the garbage collection runs."
1182
- msgstr "在垃圾回收執行時寄 email 給我。"
1183
-
1184
- #: wp-cache.php:1570
1185
  msgid "Garbage Collection"
1186
- msgstr "垃圾回收"
1187
-
1188
- #: wp-cache.php:1571
1189
- msgid "<em>Garbage collection</em> is the simple act of throwing out your garbage. For this plugin that would be old or <em>stale</em> cached files that may be out of date. New cached files are described as <em>fresh</em>."
1190
- msgstr "<em>垃圾回收</em>就是將你的垃圾丟掉的簡單動作。以此外掛來說,垃圾就是指舊的或<em>失效 (stale) </em>的檔案。新的快取檔案則稱為<em>有效 (fresh) </em>快取。"
1191
-
1192
- #: wp-cache.php:1572
1193
- msgid "Cached files are fresh for a limited length of time. You can set that time in the <em>Cache Timeout</em> text box on this page."
1194
- msgstr "快取檔案有一定限度的有效期限。你可以在本頁的<em>快取逾時</em>文字方塊設定這個期限。"
1195
-
1196
- #: wp-cache.php:1573
1197
- msgid "Stale cached files are not removed as soon as they become stale. They have to be removed by the garbage collecter. That is why you have to tell the plugin when the garbage collector should run."
1198
- msgstr "失效的快取檔案並不會在失效的時候馬上就被移除。他們必須被垃圾回收機制移除。這就是為什麼你必須告訴外掛何時執行垃圾回收。"
1199
-
1200
- #: wp-cache.php:1574
1201
- msgid "Use the <em>Timer</em> or <em>Clock</em> schedulers to define when the garbage collector should run."
1202
- msgstr "使用<em>計時</em>或<em>時刻</em>來決定何時執行垃圾回收。"
1203
-
1204
- #: wp-cache.php:1575
1205
- msgid "The <em>Timer</em> scheduler tells the plugin to run the garbage collector at regular intervals. When one garbage collection is done, the next run is scheduled."
1206
- msgstr "<em>計時</em>排程器以一定的時間間隔執行垃圾回收。當一次垃圾回收完成後,就會再度進行下一次的排程。"
1207
-
1208
- #: wp-cache.php:1576
1209
- msgid "Or, the <em>Clock</em> scheduler allows the garbage collection to run at specific times. If set to run hourly or twicedaily the garbage collector will be first scheduled for the time you enter here. It will then run again at the indicated interval. If set to run daily it will run once a day at the time specified."
1210
- msgstr "而<em>時刻</em>排程器,可以讓外掛在指定的時刻執行垃圾回收。如果設定為每小時 (hourly) 或兩天一次 (twicedaily) 執行,垃圾回收會在你輸入的時刻第一次被執行,接下來會在設定的間隔時間後再執次行。如果設定為每日 (daily) 執行,那他會在每天你設定的時刻執行一次。"
1211
-
1212
- #: wp-cache.php:1578
1213
- msgid "There are no best garbage collection settings but here are a few scenarios. Garbage collection is separate to other actions that clear our cached files like leaving a comment or publishing a post."
1214
- msgstr "並沒有最佳的垃圾回收設定,不過這裡列出幾個情境。垃圾回收和其它會造成清除快取的情形,例如留言和發佈文章,是有區別的。"
1215
 
1216
- #: wp-cache.php:1580
1217
- msgid "Sites that want to serve lots of newly generated data should set the <em>Cache Timeout</em> to 60 and use the <em>Timer</em> scheduler set to 90 seconds."
1218
- msgstr "希望提供大量動態資料的站台,應該將<em>快取逾時</em>設定為 60 秒,並使用 90 秒的<em>計時</em>排程。"
1219
 
1220
- #: wp-cache.php:1581
1221
- msgid "Sites with widgets and rss feeds in their sidebar should probably use a timeout of 3600 seconds and set the timer to 600 seconds. Stale files will be caught within 10 minutes of going stale."
1222
- msgstr "在邊欄有小工具及 rss 饋料的站台,也許應該設定 3600 的逾時,以及 600 秒的計時排程。失效的檔案會在失效十分鐘後被清除。"
1223
 
1224
- #: wp-cache.php:1582
1225
- msgid "Sites with lots of static content, no widgets or rss feeds in their sidebar can use a timeout of 86400 seconds or even more and set the timer to something equally long."
1226
- msgstr "有大量靜態內容,邊欄沒有小工具及 rss 饋料的站台,可以使用 86400 或更長的逾時,並將計時排程設定為等長的時間。"
1227
-
1228
- #: wp-cache.php:1583
1229
- msgid "Sites where an external data source updates at a particular time every day should set the timeout to 86400 seconds and use the Clock scheduler set appropriately."
1230
- msgstr "在每天固定時刻使用外部資料來源更新的站台,則應該將逾時設為86400秒,並將時刻排程設定在適當的時間。"
1231
-
1232
- #: wp-cache.php:1585
1233
- msgid "Checking for and deleting expired files is expensive, but it&#8217;s expensive leaving them there too. On a very busy site you should set the expiry time to <em>600 seconds</em>. Experiment with different values and visit this page to see how many expired files remain at different times during the day. If you are using legacy caching aim to have less than 500 cached files if possible. You can have many times more cached files when using mod_rewrite or PHP caching."
1234
- msgstr "檢查和刪除過期檔案代價高昂,但把這些檔案留在那裡也一樣。在非常忙碌的網站,你應該將過期時間設定為 <em>600 秒</em>。嘗試使用不同的數值,並注意這些頁面一天裡在不同時段產生多少過期檔案,如果使用傳統快取,可能的話盡量不要讓快取檔案數多於 500 個。若使用 mod_rewrite 或 PHP 快取,快取數量可以增加數倍。"
1235
-
1236
- #: wp-cache.php:1586
1237
  msgid "Set the expiry time to 0 seconds to disable garbage collection."
1238
- msgstr "把過期時間設定為 0 以關閉垃圾回收功能"
1239
 
1240
- #: wp-cache.php:1587
1241
  msgid "Change Expiration"
1242
  msgstr "變更過期時間"
1243
 
1244
- #: wp-cache.php:1631
1245
  msgid "Rejected User Agents"
1246
  msgstr "被拒絕的使用者代理(User Agents)"
1247
 
1248
- #: wp-cache.php:1632
1249
  msgid "Strings in the HTTP &#8217;User Agent&#8217; header that prevent WP-Cache from caching bot, spiders, and crawlers&#8217; requests. Note that super cached files are still sent to these agents if they already exists."
1250
  msgstr "HTTP User Agent;防止快取機器人、蜘蛛或抓取器對於 WP-Cache 的請求。請注意,如果快取檔案已經存在,仍然會發送給這些代理。"
1251
 
1252
- #: wp-cache.php:1639
1253
  msgid "Save UA Strings"
1254
- msgstr "儲存 UA 字串"
1255
 
1256
- #: wp-cache.php:1662
1257
  msgid "Do not cache the following page types. See the <a href=\"http://codex.wordpress.org/Conditional_Tags\">Conditional Tags</a> documentation for a complete discussion on each type."
1258
  msgstr "不快取以下頁面類型。查看<a href=\"http://codex.wordpress.org/Conditional_Tags\">條件標籤</a>文件中對每個類型的完整探討。"
1259
 
1260
- #: wp-cache.php:1665
1261
  msgid "Single Posts"
1262
  msgstr "單篇文章"
1263
 
1264
- #: wp-cache.php:1666
1265
  msgid "Pages"
1266
  msgstr "網誌分頁"
1267
 
1268
- #: wp-cache.php:1667
1269
  msgid "Front Page"
1270
  msgstr "首頁"
1271
 
1272
- #: wp-cache.php:1668
1273
  msgid "Home"
1274
  msgstr "主頁"
1275
 
1276
- #: wp-cache.php:1669
1277
  msgid "Archives"
1278
  msgstr "存檔"
1279
 
1280
- #: wp-cache.php:1670
1281
  msgid "Tags"
1282
  msgstr "標籤"
1283
 
1284
- #: wp-cache.php:1671
1285
  msgid "Category"
1286
  msgstr "分類"
1287
 
1288
- #: wp-cache.php:1672
1289
  msgid "Feeds"
1290
  msgstr "訂閱"
1291
 
1292
- #: wp-cache.php:1673
1293
  msgid "Search Pages"
1294
  msgstr "搜尋頁面"
1295
 
1296
- #: wp-cache.php:1674
1297
- msgid "Author Pages"
1298
- msgstr "作者頁面"
1299
-
1300
- #: wp-cache.php:1676
1301
- #: wp-cache.php:1788
1302
  msgid "Save"
1303
  msgstr "儲存"
1304
 
1305
- #: wp-cache.php:1693
1306
  msgid "Add here strings (not a filename) that forces a page not to be cached. For example, if your URLs include year and you dont want to cache last year posts, it&#8217;s enough to specify the year, i.e. &#8217;/2004/&#8217;. WP-Cache will search if that string is part of the URI and if so, it will not cache that page."
1307
- msgstr "在下方輸入框內新增字串(不是檔案名稱),控制不要被快取的頁面。舉例來說,如果你的 URL 中包含年份,但你不想快取去年的文章,那麼就指定年份,例如 &#8217;/2004/&#8217; 。WP-Cache 將會搜尋這個字串是否包含在URI之中,如果是的話則不會快取這個頁面。"
1308
 
1309
- #: wp-cache.php:1699
1310
  msgid "Save Strings"
1311
  msgstr "儲存字串"
1312
 
1313
- #: wp-cache.php:1715
1314
  msgid "Add here those filenames that can be cached, even if they match one of the rejected substring specified above."
1315
  msgstr "這是可以被快取的檔案名,即使它們與上方設定的拒絕字串相符時也仍將被快取。"
1316
 
1317
- #: wp-cache.php:1721
1318
  msgid "Save Files"
1319
  msgstr "儲存檔案"
1320
 
1321
- #: wp-cache.php:1762
1322
  msgid "Currently logging to: %s"
1323
- msgstr "正在記錄到:%s"
1324
 
1325
- #: wp-cache.php:1765
1326
  msgid "Fix problems with the plugin by debugging it here. It can log them to a file in your cache directory."
1327
- msgstr "在這裡使用外掛除錯模式解決問題。它可以在你的快取目錄內產生紀錄檔。"
1328
 
1329
- #: wp-cache.php:1769
1330
  msgid "Debugging"
1331
  msgstr "除錯"
1332
 
1333
- #: wp-cache.php:1770
 
 
 
 
 
 
 
 
1334
  msgid "IP Address"
1335
  msgstr "IP位址"
1336
 
1337
- #: wp-cache.php:1770
1338
  msgid "(only log requests from this IP address. Your IP is %s)"
1339
  msgstr "(僅記錄來自此IP位址的請求。你的 IP 是 %s)"
1340
 
1341
- #: wp-cache.php:1771
1342
- msgid "Cache Status Messages"
1343
- msgstr "快取狀態訊息"
1344
 
1345
- #: wp-cache.php:1772
1346
- msgid "Display comments at the end of every page like this:"
1347
- msgstr "顯在每頁的頁尾顯示像這樣的評論:"
1348
 
1349
- #: wp-cache.php:1778
1350
  msgid "In very rare cases two problems may arise on some blogs:<ol><li> The front page may start downloading as a zip file.</li><li> The wrong page is occasionally cached as the front page if your blog uses a static front page and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>"
1351
- msgstr "在極少數的部落格可能會出現兩個問題:<ol><li>在首頁可能會以一個 zip 檔案開始下載。</li><li>如果你的部落格使用一個靜態的首頁,或以 <em>/%category%/%postname%/</em> 作為固定網址結架構的話,那麼錯誤的頁面有時候會被當成首頁被快取起來。</li></ol>"
1352
 
1353
- #: wp-cache.php:1779
1354
  msgid "I&#8217;m 99% certain that they aren&#8217;t bugs in WP Super Cache and they only happen in very rare cases but you can run a simple check once every 5 minutes to verify that your site is ok if you&#8217;re worried. You will be emailed if there is a problem."
1355
  msgstr "我有十足的把握肯定,它們不是 WP Super Cache 的錯誤。它只會發生在極少數的情況下,但如果你擔心的話,你可以每5分鐘進行一次簡單的檢查,以確保你的網站是正常的。如果有問題,你將會收到電子郵件。"
1356
 
1357
- #: wp-cache.php:1781
1358
  msgid "Check front page every 5 minutes."
1359
  msgstr "每五分鐘檢查首頁"
1360
 
1361
- #: wp-cache.php:1782
1362
  msgid "Front page text"
1363
  msgstr "首頁文字"
1364
 
1365
- #: wp-cache.php:1782
1366
  msgid "Text to search for on your front page. If this text is missing the cache will be cleared. Leave blank to disable."
1367
  msgstr "在你的首頁裡要搜尋的文字。如果缺少這些文字時快取將被清除。保留空白停用這個功能。"
1368
 
1369
- #: wp-cache.php:1783
1370
  msgid "Clear cache on error."
1371
  msgstr "清除快取時發生錯誤。"
1372
 
1373
- #: wp-cache.php:1784
1374
  msgid "Email the blog admin when checks are made. (useful for testing)"
1375
  msgstr "當檢查時寄送電子郵件給網站管理員。(供測試用)"
1376
 
1377
- #: wp-cache.php:1798
1378
  msgid "Error: GZIP compression is enabled, disable it if you want to enable wp-cache."
1379
- msgstr "錯誤:GZIP 壓縮已啟用,如果你想啟用 wp-cache,請停用它。"
1380
 
1381
- #: wp-cache.php:1845
1382
- #: wp-cache.php:1986
1383
- #: wp-cache.php:2022
1384
  msgid "Warning"
1385
  msgstr "警告"
1386
 
1387
- #: wp-cache.php:1845
1388
  msgid "GZIP compression is enabled in WordPress, wp-cache will be bypassed until you disable gzip compression."
1389
- msgstr "在 WordPress 上 GZIP 壓縮已啟用,wp-cache 將被繞過,直到你停用 gzip 壓縮。"
1390
 
1391
- #: wp-cache.php:1907
1392
- #: wp-cache.php:1912
1393
- #: wp-cache.php:1945
1394
- #: wp-cache.php:1950
1395
- #: wp-cache.php:1956
1396
  msgid "Error"
1397
  msgstr "錯誤"
1398
 
1399
- #: wp-cache.php:1907
1400
  msgid "Your cache directory (<strong>%1$s</strong>) did not exist and couldn&#8217;t be created by the web server. Check %1$s permissions."
1401
  msgstr "你的快取目錄(<strong>%1$s</strong>)不存在,且無法從伺服器端建立。請檢查 %1$s 權限。"
1402
 
1403
- #: wp-cache.php:1912
1404
  msgid "Your cache directory (<strong>%1$s</strong>) or <strong>%2$s</strong> need to be writable for this plugin to work. Double-check it."
1405
  msgstr "你的快取目錄(<strong>%1$s</strong>)或 <strong>%2$s</strong> 必須讓外掛可寫入才能正常運作。請重新檢查一次。"
1406
 
1407
- #: wp-cache.php:1945
1408
  msgid "Your WP-Cache config file (<strong>%s</strong>) is out of date and not writable by the Web server.Please delete it and refresh this page."
1409
  msgstr "你的 WP-Cache 設定檔(<strong>%s</strong>)已經過期,且無法由伺服器端寫入,請刪除它並重新整理此頁面。"
1410
 
1411
- #: wp-cache.php:1950
1412
  msgid "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is not writable by the Web server.Check its permissions."
1413
  msgstr "設定檔遺失,%1$s 目錄(<strong>%2$s</strong>)也無法被伺服器寫入。請檢查權限。"
1414
 
1415
- #: wp-cache.php:1956
1416
  msgid "Sample WP-Cache config file (<strong>%s</strong>) does not exist.Verify you installation."
1417
  msgstr "WP-Cache 設定檔範本(<strong>%s</strong>)不存在。請確認你的安裝。"
1418
 
1419
- #: wp-cache.php:1986
1420
- msgid "Could not update %s!</em> WPCACHEHOME must be set in config file."
1421
- msgstr "無法更新 %s!</em> WPCACHEHOME 必須在設定檔中被設定。"
1422
-
1423
- #: wp-cache.php:2022
1424
  msgid "%s/advanced-cache.php</em> does not exist or cannot be updated."
1425
  msgstr "%s/advanced-cache.php</em> 不存在或是無法更新。"
1426
 
1427
- #: wp-cache.php:2023
1428
  msgid "1. If it already exists please delete the file first."
1429
  msgstr "1. 如果它已經存在,請先刪除。"
1430
 
1431
- #: wp-cache.php:2024
1432
  msgid "2. Make %1$s writable using the chmod command through your ftp or server software. (<em>chmod 777 %1$s</em>) and refresh this page. This is only a temporary measure and you&#8217;ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)"
1433
- msgstr "2. 請使用你的FTP程式或伺服器軟體,以 chmod 指令使%1$s可寫入。(<em>chmod 777 %1$s</em>),並重新整理此頁面。這只是一個暫時的作法,你事後必須再把它變更為唯讀。(使用前面的指令,將權限從 777 變更為 755)"
1434
 
1435
- #: wp-cache.php:2025
1436
  msgid "3. Refresh this page to update <em>%s/advanced-cache.php</em>"
1437
  msgstr "3. 重新整理此頁面以更新 <em>%s/advanced-cache.php</em>"
1438
 
1439
- #: wp-cache.php:2026
1440
  msgid "If that doesn&#8217;t work, make sure the file <em>%s/advanced-cache.php</em> doesn&#8217;t exist:"
1441
  msgstr "如果無法運作,請確認 <em>%s/advanced-cache.php</em> 檔案不存在:"
1442
 
1443
- #: wp-cache.php:2027
1444
  msgid "<li>1. Open <em>%1$s$wp_cache_file</em> in a text editor.</li><li>2. Change the text <em>CACHEHOME</em> to <em>%2$s</em></li><li>3. Save the file and copy it to <em>%3$s</em> and refresh this page.</li>"
1445
  msgstr "<li>1. 以文字編輯器開啟 <em>%1$s$wp_cache_file</em>。</li><li>2. 將 <em>CACHEHOME</em> 變更為 <em>%2$s</em></li><li>3. 儲存檔案並複製為 <em>%3$s</em>,然後重新整理此頁面。</li>"
1446
 
1447
- #: wp-cache.php:2050
1448
  msgid "<h3>WP_CACHE constant set to false</h3><p>The WP_CACHE constant is used by WordPress to load the code that serves cached pages. Unfortunately it is set to false. Please edit your wp-config.php and add or edit the following line above the final require_once command:<br /><br /><code>define('WP_CACHE', true);</code></p>"
1449
- msgstr "<h3>WP_CACHE 變數被設為 false</h3><p>WP_CACHE 變數被WordPress用來載入快取程式,可是它被設為 false(關閉)。請編輯你的 wp-config.php 檔並把以下的內容放在最後的 require_once 命令之前。<br /><br /><code>define('WP_CACHE', true);</code></p>"
1450
 
1451
- #: wp-cache.php:2052
1452
  msgid "<strong>Error: WP_CACHE is not enabled</strong> in your <code>wp-config.php</code> file and I couldn&#8217;t modify it."
1453
  msgstr "<strong>錯誤:</strong>在你的 <code>wp-config.php</code> 檔案裡 <strong>WP_CACHE 是停用狀態</strong>,且無法修改。"
1454
 
1455
- #: wp-cache.php:2053
1456
  msgid "Edit <code>%s</code> and add the following line:<br /> <code>define('WP_CACHE', true);</code><br />Otherwise, <strong>WP-Cache will not be executed</strong> by WordPress core. "
1457
  msgstr "編輯 <code>%s</code> 並加入以下原始碼:<br /> <code>define('WP_CACHE', true);</code><br />否則,<strong>WP-Cache 將無法被 WordPress 核心執行</strong>。"
1458
 
1459
- #: wp-cache.php:2057
1460
- msgid "<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see this warning message please see point 5 of the <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">Troubleshooting Guide</a>. The WP_CACHE line must be moved up."
1461
- msgstr "<h3>WP_CACHE 不斷被新增到 wp-config.php</h3><p>如果你持續看到此警告訊息,請參閱 <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">常見問答</a> 第五點。WP_CACHE 原始碼必須往前移動。"
1462
 
1463
- #: wp-cache.php:2085
1464
  msgid "Cache Contents"
1465
  msgstr "快取內容"
1466
 
1467
- #: wp-cache.php:2088
1468
  msgid "Object cache in use. No cache listing available."
1469
- msgstr "正在使用 Object 快取。無法顯示快取清單。"
1470
 
1471
- #: wp-cache.php:2112
1472
  msgid "Deleting supercache file: <strong>%s</strong><br />"
1473
- msgstr "刪除 supercache 檔案:<strong>%s</strong><br />"
1474
 
1475
- #: wp-cache.php:2129
1476
  msgid "Deleting wp-cache file: <strong>%s</strong><br />"
1477
- msgstr "刪除 wp-cache 檔案:<strong>%s</strong><br />"
1478
 
1479
- #: wp-cache.php:2194
1480
  msgid "Cache stats are not automatically generated. You must click the link below to regenerate the stats on this page."
1481
  msgstr "快取統計不會自動產生,你必須點擊以下的連結,本頁的統計資料才會重新產生。"
1482
 
1483
- #: wp-cache.php:2195
1484
  msgid "Regenerate cache stats"
1485
  msgstr "重新產生快取統計"
1486
 
1487
- #: wp-cache.php:2197
1488
  msgid "Cache stats last generated: %s minutes ago."
1489
  msgstr "快取統計最後產生時間:%s分鐘以前。"
1490
 
1491
- #: wp-cache.php:2203
1492
  msgid "WP-Cache"
1493
  msgstr "WP-Cache"
1494
 
1495
- #: wp-cache.php:2204
1496
- #: wp-cache.php:2219
1497
  msgid "%s Cached Pages"
1498
  msgstr "%s 個頁面已快取"
1499
 
1500
- #: wp-cache.php:2205
1501
- #: wp-cache.php:2224
1502
  msgid "%s Expired Pages"
1503
  msgstr "%s 個頁面已過期"
1504
 
1505
- #: wp-cache.php:2218
1506
  msgid "WP-Super-Cache"
1507
  msgstr "WP-Super-Cache"
1508
 
1509
- #: wp-cache.php:2228
1510
  msgid "Fresh WP-Cached Files"
1511
- msgstr "有效的 WP-Cached 檔案"
1512
 
1513
- #: wp-cache.php:2229
1514
- #: wp-cache.php:2245
1515
- #: wp-cache.php:2261
1516
- #: wp-cache.php:2277
1517
  msgid "URI"
1518
  msgstr "URI 網址"
1519
 
1520
- #: wp-cache.php:2229
1521
- #: wp-cache.php:2245
1522
  msgid "Key"
1523
  msgstr "關鍵字"
1524
 
1525
- #: wp-cache.php:2229
1526
- #: wp-cache.php:2245
1527
- #: wp-cache.php:2261
1528
- #: wp-cache.php:2277
1529
  msgid "Age"
1530
  msgstr "時間(秒)"
1531
 
1532
- #: wp-cache.php:2229
1533
- #: wp-cache.php:2245
1534
- #: wp-cache.php:2261
1535
- #: wp-cache.php:2277
1536
  msgid "Delete"
1537
  msgstr "刪除"
1538
 
1539
- #: wp-cache.php:2244
1540
  msgid "Stale WP-Cached Files"
1541
- msgstr "失效的 WP-Cached 檔案"
1542
 
1543
- #: wp-cache.php:2260
1544
  msgid "Fresh Super Cached Files"
1545
- msgstr "有效的 Super Cached 檔案"
1546
 
1547
- #: wp-cache.php:2276
1548
  msgid "Stale Super Cached Files"
1549
- msgstr "失效的 Super Cached 檔案"
1550
 
1551
- #: wp-cache.php:2292
1552
  msgid "Hide file list"
1553
  msgstr "隱藏檔案清單"
1554
 
1555
- #: wp-cache.php:2294
1556
  msgid "Too many cached files, no listing possible."
1557
  msgstr "快取檔案過多,無法列出。"
1558
 
1559
- #: wp-cache.php:2296
1560
  msgid "List all cached files"
1561
  msgstr "列出所有快取檔案"
1562
 
1563
- #: wp-cache.php:2299
 
 
 
 
 
 
 
 
1564
  msgid "Expired files are files older than %s seconds. They are still used by the plugin and are deleted periodically."
1565
  msgstr "過期檔案是超過 %s 秒鐘的檔案。它們仍然會被外掛使用並會定期刪除。"
1566
 
1567
- #: wp-cache.php:2310
1568
  msgid "Delete Expired"
1569
  msgstr "刪除過期檔案"
1570
 
1571
- #: wp-cache.php:2335
1572
  msgid "Delete Super Cache cached files (opens in new window)"
1573
  msgstr "刪除 Super Cache 快取檔案(在新視窗打開)"
1574
 
1575
- #: wp-cache.php:2482
1576
- msgid "%1$s is Stephen Fry proof thanks to caching by %2$s"
1577
  msgstr "%1$s 使用的快取程式為 %2$s"
1578
 
1579
- #: wp-cache.php:2515
1580
  msgid "WP Super Cache must be configured. Go to <a href=\"%s\">the admin page</a> to enable and configure the plugin."
1581
  msgstr "WP Super Cache 必須設定。請前往<a href=\"%s\">管理後台</a>啟用和設定外掛。"
1582
 
1583
- #: wp-cache.php:2521
1584
  msgid "Settings"
1585
  msgstr "設定"
1586
 
1587
- #: wp-cache.php:2531
1588
  msgid "WP Super Cache is disabled. Please go to the <a href=\"%s\">plugin admin page</a> to enable caching."
1589
  msgstr "WP Super Cache 停用。請前往 <a href=\"%s\">外掛管理員</a>啟用快取。"
1590
 
1591
- #: wp-cache.php:2534
1592
  msgid "Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.<br /><br />Please edit %1$s/advanced-cache.php and make sure the path to %2$swp-cache-phase1.php is correct."
1593
- msgstr "警告! WP Super Cache 快取毀損! advanced-cache.php 腳本無法載入 wp-cache-phase1.php。<br /><br />請編輯 %1$s/advanced-cache.php 並且確認指向 %2$swp-cache-phase1.php 的路徑是正確的。"
1594
 
1595
- #: wp-cache.php:2553
1596
  msgid "[%s] Front page is gzipped! Please clear cache!"
1597
- msgstr "[%s] 首頁已使用 gzip 壓縮!請清除快取!"
1598
 
1599
- #: wp-cache.php:2553
1600
  msgid "Please visit %s to clear the cache as the front page of your site is now downloading!"
1601
  msgstr "請前往 %s 清除快取,網站的首頁正在下載!"
1602
 
1603
- #: wp-cache.php:2556
1604
  msgid "[%s] Front page is gzipped! Cache Cleared!"
1605
- msgstr "[%s] 首頁已使用 gzip 壓縮!快取已清除!"
1606
 
1607
- #: wp-cache.php:2556
1608
  msgid "The cache on your blog has been cleared because the front page of your site is now downloading. Please visit %s to verify the cache has been cleared."
1609
  msgstr "你的部落格快取已被清除。因為你的部落格首頁正在下載,請前往 %s 確認快取已被清除。"
1610
 
1611
- #: wp-cache.php:2563
1612
  msgid "[%s] Front page is not correct! Please clear cache!"
1613
  msgstr "[%s] 首頁不正確!請清除快取!"
1614
 
1615
- #: wp-cache.php:2563
1616
  msgid "Please visit %1$s to clear the cache as the front page of your site is not correct and missing the text, \"%2$s\"!"
1617
- msgstr "請前往 %1$s 清除快取,部落格的首頁不正確,缺少文字 \"%2$s\"!"
1618
 
1619
- #: wp-cache.php:2566
1620
  msgid "[%s] Front page is not correct! Cache Cleared!"
1621
  msgstr "[%s] 首頁不正確!快取已清除!"
1622
 
1623
- #: wp-cache.php:2566
1624
  msgid "The cache on your blog has been cleared because the front page of your site is missing the text \"%2$s\". Please visit %1$s to verify the cache has been cleared."
1625
  msgstr "你的部落格已被清除快取,因為你的部落格首頁缺少文字 \"%2$s\"。請前往 %1$s 確認快取已被清除。"
1626
 
1627
- #: wp-cache.php:2571
1628
  msgid "[%s] Front page check!"
1629
  msgstr "[%s] 首頁檢查!"
1630
 
1631
- #: wp-cache.php:2571
1632
  msgid "WP Super Cache has checked the front page of your blog. Please visit %s if you would like to disable this."
1633
  msgstr "WP Super Cache 已檢查過你部落格的首頁。如果你想停用這項功能,請前往 %s 。"
1634
 
1635
- #: wp-cache.php:2614
1636
  msgid "Cannot update .htaccess"
1637
  msgstr "無法更新 .htaccess"
1638
 
1639
- #: wp-cache.php:2614
1640
  msgid "The file <code>%s.htaccess</code> cannot be modified by the web server. Please correct this using the chmod command or your ftp client."
1641
  msgstr "<code>%s.htaccess</code> 檔案無法被網頁伺服器更新。請使用 chmod 指令或透過 FTP 程式修正。"
1642
 
1643
- #: wp-cache.php:2614
1644
  msgid "Refresh this page when the file permissions have been modified."
1645
  msgstr "在權限修改後請重新整理這個頁面。"
1646
 
1647
- #: wp-cache.php:2614
1648
  msgid "Alternatively, you can edit your <code>%s.htaccess</code> file manually and add the following code (before any WordPress rules):"
1649
  msgstr "或者,你可以手動編輯 <code>%s.htaccess</code> 檔案並加入以下原始碼(在任何 WordPress 規則前):"
1650
 
1651
- #: wp-cache.php:2618
1652
  msgid "To serve static html files your server must have the correct mod_rewrite rules added to a file called <code>%s.htaccess</code>"
1653
- msgstr "為了使用靜態的 HTML 檔案,你的伺服器上必須有正確的 mod_rewrite 規則,新增到一個名為 <code>%s.htaccess</code> 的檔案。"
1654
 
1655
- #: wp-cache.php:2619
1656
  msgid "You can edit the file yourself add the following rules."
1657
  msgstr "你可以自行編輯並新增以下規則。"
1658
 
1659
- #: wp-cache.php:2620
1660
  msgid " Make sure they appear before any existing WordPress rules. "
1661
  msgstr "確認它們出現在任何已存在的 WordPress 規則之前。"
1662
 
1663
- #: wp-cache.php:2628
1664
  msgid "Update Mod_Rewrite Rules"
1665
  msgstr "更新 Mod_Rewrite 規則"
1666
 
1667
- #: wp-cache.php:2780
1668
  msgid "[%1$s] Cache Preload Started"
1669
  msgstr "[%1$s] 快取預載已經開始"
1670
 
1671
- #: wp-cache.php:2810
1672
- msgid "[%1$s] Refreshing %2$s taxonomy from %3$d to %4$d"
1673
- msgstr "[%1$s] 更新 %2$s 分類第%3$d 到 %4$d 篇文章"
1674
-
1675
- #: wp-cache.php:2856
1676
  msgid "[%1$s] Refreshing posts from %2$d to %3$d"
1677
  msgstr "[%1$s] 更新第 %2$d 到第 %3$d 篇文章"
1678
 
1679
- #: wp-cache.php:2877
1680
  msgid "[%1$s] Cache Preload Stopped"
1681
  msgstr "[%1$s] 快取預載已停止"
1682
 
1683
- #: wp-cache.php:2887
1684
  msgid "[%1$s] %2$d posts refreshed"
1685
  msgstr "[%1$s]%2$d 篇文章已被更新"
1686
 
1687
- #: wp-cache.php:2887
1688
  msgid "Refreshed the following posts:"
1689
  msgstr "已更新下列文章:"
1690
 
1691
- #: wp-cache.php:2897
1692
  msgid "Scheduling next preload refresh in %d minutes."
1693
  msgstr "下次更新預載快取時間:%d分鐘後"
1694
 
1695
- #: wp-cache.php:2908
1696
  msgid "[%s] Cache Preload Completed"
1697
  msgstr "[%s] 預載快取完成"
1698
 
1699
- #: wp-cache.php:2908
1700
  msgid "Cleaning up old supercache files."
1701
- msgstr "清除舊的 supercache 檔案。"
1702
 
1703
- #: wp-cache.php:2951
1704
  msgid "[%s] Preload may have stalled."
1705
  msgstr "[%s] 預先載入可能已經停止"
1706
 
1707
- #: wp-cache.php:2951
1708
  msgid ""
1709
  "Preload has been restarted.\n"
1710
  "%s"
@@ -1712,11 +1413,11 @@ msgstr ""
1712
  "預先載入已經被重新啟動.\n"
1713
  "%s"
1714
 
1715
- #: wp-cache.php:2994
1716
  msgid "Supercache Uninstall Problems"
1717
- msgstr "Supercache 反安裝問題"
1718
 
1719
- #: wp-cache.php:2994
1720
  msgid ""
1721
  "Dear User,\n"
1722
  "\n"
@@ -1734,70 +1435,85 @@ msgid ""
1734
  msgstr ""
1735
  "親愛的使用者,\n"
1736
  "\n"
1737
- "WP Super Cache 已從你的部落格被移除,但是 .htaccess 中的\n"
1738
  "mod_rewrite規則仍然存在。\n"
1739
  "\n"
1740
- "請編輯下列檔案並移除 'BEGIN WPSuperCache' 'END WPSupercache' 之間的原始碼。\n"
1741
  "請先備份這個檔案!\n"
1742
  "\n"
1743
  "%s\n"
1744
  "\n"
1745
- "WP Super Cache Plugin 敬上\n"
1746
  "http://wordpress.org/extend/plugins/wp-super-cache/"
1747
 
1748
- #: wp-cache.php:3031
1749
- msgid "Delete cache of the current page"
1750
- msgstr "刪除目前頁面的快取"
1751
 
1752
- #~ msgid ""
1753
- #~ "<a href=\"%s\">WP Minify</a> reduces the number of files served by your "
1754
- #~ "web server by joining Javascript and CSS files together. Alternatively "
1755
- #~ "you can use <a href=\"%s\">WPSCMin</a>, a Supercache plugin that minifies "
1756
- #~ "cached pages. It does not however join JS/CSS files together."
1757
- #~ msgstr ""
1758
- #~ "<a href=\"%s\">WP Minify</a> 合併Javascript及CSS檔案,以減少網頁伺服器需要"
1759
- #~ "服務的檔案數量。 或者你也可以使用 <a href=\"%s\">WPSCMin</a>,一個減少快取"
1760
- #~ "面數量的 Supercache 外掛。(但它並不會合併JS/CSS檔案)"
1761
 
1762
- #~ msgid "Log level"
1763
- #~ msgstr "記錄等級"
 
1764
 
1765
- #~ msgid "(1 = less, 5 = more, may cause severe server load.)"
1766
- #~ msgstr "(1 = 低,5 = 更多,可能會導致嚴重的伺服器負載)"
 
 
 
 
1767
 
1768
- #~ msgid ""
1769
- #~ "<strong>Garbage Collection</strong><br />Last GC was <strong>%s</strong> "
1770
- #~ "minutes ago<br />"
1771
- #~ msgstr ""
1772
- #~ "<strong>垃圾回收</strong><br />上次垃圾回收於 <strong>%s</strong> 分鐘前"
1773
- #~ "<br />"
1774
 
1775
- #~ msgid "Next GC in <strong>%s</strong> minutes"
1776
- #~ msgstr "下次垃圾回收於 <strong>%s</strong> 分鐘後"
 
 
 
1777
 
1778
- #~ msgid "Current server time is: %s"
1779
- #~ msgstr "目前的伺服器時間為:%s"
 
1780
 
1781
- #~ msgid ""
1782
- #~ "(requires <a href=\"http://ocaoimh.ie/no-adverts-for-friends/"
1783
- #~ "\">friendsadverts.php</a> too) "
1784
- #~ msgstr ""
1785
- #~ "(必須有 <a href=\"http://ocaoimh.ie/no-adverts-for-friends/"
1786
- #~ "\">friendsadverts.php</a>)"
1787
 
1788
- #~ msgid "Mobile device support."
1789
- #~ msgstr "行動裝置支援。"
 
1790
 
1791
- #~ msgid "Expire time:"
1792
- #~ msgstr "過期時間:"
 
1793
 
1794
- #~ msgid ""
1795
- #~ "If the expiry time is more than 1800 seconds (half an hour), garbage "
1796
- #~ "collection will be done every 10 minutes, otherwise it will happen 10 "
1797
- #~ "seconds after the expiry time above."
1798
- #~ msgstr ""
1799
- #~ "如果過期時間大於1800秒(半個小時),垃圾回收會每10分鐘進行一次,否則就會在"
1800
- #~ "設定到期時間的10秒後進行清理。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1801
 
1802
  #~ msgid "Tester & Contents"
1803
  #~ msgstr "測試及內容"
@@ -1823,5 +1539,12 @@ msgstr "刪除目前頁面的快取"
1823
  #~ msgid "file"
1824
  #~ msgstr "檔案"
1825
 
 
 
 
 
 
 
 
1826
  #~ msgid "(support for multiple domains on multisite websites) "
1827
  #~ msgstr "(在多站台網站上,支援複數網域名稱)"
2
  msgstr ""
3
  "Project-Id-Version: WP Super Cache (Traditional Chinese)\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-super-cache\n"
5
+ "POT-Creation-Date: 2011-02-28 22:08:12+00:00\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Liang, Jih-Kai <privism@gmail.com>\n"
8
  "Language-Team: privism <privism@gmail.com>\n"
13
  "X-Poedit-Country: TAIWAN\n"
14
  "X-Poedit-SourceCharset: utf-8\n"
15
 
16
+ #: ossdl-cdn.php:146
17
  msgid "Your website probably uses lots of static files. Image, Javascript and CSS files are usually static files that could just as easily be served from another site or CDN. Therefore this plugin replaces any links in the <code>wp-content</code> and <code>wp-includes</code> directories (except for PHP files) on your site with the URL you provide below. That way you can either copy all the static content to a dedicated host or mirror the files to a CDN by <a href=\"http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a>."
18
+ msgstr "你的網站可能使用了許多的靜態檔案。圖片、Javascript、CSS檔案通常都是靜態檔案,可以很簡單地使用另一個站台或CDN來服務。所以這個外掛會根據你下面所提供的URL,取代你的網站中<code>wp-content</code>和<code>wp-includes</code>目錄下除了PHP檔案以外的任何連結。用這個方式,你可以把所有的靜態內容拷貝到一個專用的主機或或使用<a href=\"http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a>鏡射到CDN上。"
19
 
20
+ #: ossdl-cdn.php:147
21
+ #: wp-cache.php:968
22
  msgid "The <a href=\"%1$s\">CDN Sync Tool</a> plugin will help upload files to Amazon S3/Cloudfront if you would rather not depend on origin pull. See the <a href=\"%2$s\">plugin support forum</a> if you have any queries about this plugin."
23
+ msgstr "如果你不希望依賴origin pull,<a href=\"%1$s\">CDN Sync Tool</a>是一個幫助你上傳檔案到 Amazon S3/Cloudfront 的外掛。 如果你對此外掛有任何問題,請參見 <a href=\"%2$s\">外掛支援論壇</a>。"
24
 
25
+ #: ossdl-cdn.php:148
26
  msgid "<strong style=\"color: red\">WARNING:</strong> Test some static urls e.g., %s to ensure your CDN service is fully working before saving changes."
27
+ msgstr "<strong style=\"color: red\">警告:</strong> 請先測試一些固定的網址,例如%s。在儲存變更前,確定你的CDN服務完全正常。"
28
 
29
+ #: ossdl-cdn.php:149
30
  msgid "You can define different CDN URLs for each site on a multsite network."
31
+ msgstr "你可以為多站台網路中的每個站台定義不同的CDN URL。"
32
 
33
+ #: ossdl-cdn.php:157
34
  msgid "Enable CDN Support"
35
+ msgstr "啟用CDN支援"
36
 
37
+ #: ossdl-cdn.php:160
38
  msgid "Off-site URL"
39
+ msgstr "站外URL"
40
 
41
+ #: ossdl-cdn.php:163
42
  msgid "The new URL to be used in place of %1$s for rewriting. No trailing <code>/</code> please.<br />Example: <code>%2$s</code>."
43
+ msgstr "這個新的 URL 在會重寫 (rewriting) 時用來取代 %1$s。請不要加上結尾的 <code>/</code>。 <br /> 例: <code>%2$s</code>"
44
 
45
+ #: ossdl-cdn.php:167
46
  msgid "Include directories"
47
  msgstr "包含以下目錄"
48
 
49
+ #: ossdl-cdn.php:170
50
  msgid "Directories to include in static file matching. Use a comma as the delimiter. Default is <code>wp-content, wp-includes</code>, which will be enforced if this field is left empty."
51
  msgstr "靜態檔案比對包含的目錄。使用逗號作為分隔符號。預設為 <code>wp-content, wp-includes</code> ,當這個欄位空白時會強制套用。"
52
 
53
+ #: ossdl-cdn.php:174
54
  msgid "Exclude if substring"
55
  msgstr "若含有以下字串則排除"
56
 
57
+ #: ossdl-cdn.php:177
58
  msgid "Excludes something from being rewritten if one of the above strings is found in the match. Use a comma as the delimiter like this, <code>.php, .flv, .do</code>, and always include <code>.php</code> (default)."
59
  msgstr "若網址中包含以上的字串,則不會被重寫。使用逗號作為分隔符號,像這樣:<code>.php, .flv, .do</code>,並請永遠包含<code>.php</code> (預設值)。"
60
 
61
+ #: ossdl-cdn.php:181
62
  msgid "Additional CNAMES"
63
  msgstr "額外的正規名稱(CNAMES)"
64
 
65
+ #: ossdl-cdn.php:184
66
  msgid "These <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">CNAMES</a> will be used in place of %1$s for rewriting (in addition to the off-site URL above). Use a comma as the delimiter. For pages with a large number of static files, this can improve browser performance. CNAMEs may also need to be configured on your CDN.<br />Example: %2$s"
67
+ msgstr "這些 <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">正規名稱記錄(CNAMES)</a> 會在重寫時用來取代 %1$s (和上面的站外URL一起)。 使用逗號作為分隔符號。 在有大量靜態檔案的網頁中,這可以增進瀏覽器效能。 這些CNAME可能也需要在你的CDN被設定。<br />例: %2$s"
68
 
69
+ #: ossdl-cdn.php:188
70
  msgid "Skip https URLs to avoid \"mixed content\" errors"
71
+ msgstr "跳過https網址以避免「混合的內容」錯誤"
72
 
73
+ #: ossdl-cdn.php:192
74
  msgid "Save Changes"
75
  msgstr "儲存變更"
76
 
77
+ #: ossdl-cdn.php:194
78
  msgid "CDN functionality provided by <a href=\"http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a> by <a href=\"http://mark.ossdl.de/\">Mark Kubacki</a>"
79
  msgstr "CDN 功能由<a href=\"http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a>提供,作者為<a href=\"http://mark.ossdl.de/\">Mark Kubacki</a>"
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  #: wp-cache.php:99
82
  msgid "Please create %s /wp-cache-config.php from wp-super-cache/wp-cache-config-sample.php"
83
  msgstr "請以 wp-super-cache/wp-cache-config-sample.php 建立 %s /wp-cache-config.php"
108
 
109
  #: wp-cache.php:177
110
  msgid "A custom url or permalink structure is required for this plugin to work correctly. Please go to the <a href=\"options-permalink.php\">Permalinks Options Page</a> to configure your permalinks."
111
+ msgstr "外掛要正常運作,必須有自定url或固定網址。請到<a href=\"options-permalink.php\">固定網址選項</a>設定你的固定網址。"
112
 
113
  #: wp-cache.php:189
114
  msgid "Warning! Your hostname \"%s\" resolves to %s"
116
 
117
  #: wp-cache.php:190
118
  msgid "Your server thinks your hostname resolves to %s. Some services such as garbage collection by this plugin, and WordPress scheduled posts may not operate correctly."
119
+ msgstr "你的伺服器認為你的主機名稱解析到 %s. WP Super Cache 外掛的某些服務,例如垃圾回收、WordPress 排程文章可能無法正常執行。"
120
 
121
  #: wp-cache.php:191
122
  #: wp-cache.php:205
123
  msgid "Please see entry 16 in the <a href=\"%s\">Troubleshooting section</a> of the readme.txt"
124
+ msgstr "請參閱readme.txt第16項<a href=\"%s\">錯誤排除段落</a>"
125
 
126
  #: wp-cache.php:204
127
  msgid "Unfortunately WordPress cannot find the file wp-cron.php. This script is required for the the correct operation of garbage collection by this plugin, WordPress scheduled posts as well as other critical activities."
128
  msgstr "很抱歉,WordPress 找不到 wp-cron.php 檔案。必須要有這個程式才能正確執行垃圾回收、排程文章及其他重要活動。"
129
 
130
+ #: wp-cache.php:219
131
  msgid "Cannot continue... fix previous problems and retry."
132
  msgstr "無法繼續... 解決前述問題然後重試。"
133
 
134
+ #: wp-cache.php:228
135
  msgid "Zlib Output Compression Enabled!"
136
+ msgstr "Zlib輸出壓縮已被啟用!"
137
 
138
+ #: wp-cache.php:229
139
  msgid "PHP is compressing the data sent to the visitors of your site. Disabling this is recommended as the plugin caches the compressed output once instead of compressing the same page over and over again. Also see #21 in the Troubleshooting section. See <a href=\"http://php.net/manual/en/zlib.configuration.php\">this page</a> for instructions on modifying your php.ini."
140
+ msgstr "PHP頁面壓縮啟用中。建議將它關閉,因為外掛針對一個頁面只需要壓縮一次,而不需要反覆的壓縮。另請參見錯換排除段落第21條。 <a href=\"http://php.net/manual/en/zlib.configuration.php\">這邊</a>有如何修改你的php.ini的說明。"
141
 
142
+ #: wp-cache.php:233
143
  msgid "Mod rewrite may not be installed!"
144
  msgstr "Mod rewrite 可能沒有安裝!"
145
 
146
+ #: wp-cache.php:234
147
  msgid "It appears that mod_rewrite is not installed. Sometimes this check isn&#8217;t 100% reliable, especially if you are not using Apache. Please verify that the mod_rewrite module is loaded. It is required for serving Super Cache static files. You will still be able to use legacy or PHP modes."
148
  msgstr "看來 mod_rewrite 沒有安裝。有時候這種檢查並非 100% 可信,特別是當你不是使用 Apache 時。請重新檢查 mod_rewrite 模組已經載入。執行 Super Cache 靜態檔案時必須要有它。但你仍然可以使用傳統或PHP快取模式。"
149
 
153
 
154
  #: wp-cache.php:240
155
  msgid "The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> and cannot be modified. That file must be writeable by the webserver to make any changes."
156
+ msgstr "WP Super Cache 設定檔 <code>%s/wp-cache-config.php</code> 無法修改。該檔案必須可以從伺服器端進行寫入。"
157
 
158
  #: wp-cache.php:241
159
  msgid "A simple way of doing that is by changing the permissions temporarily using the CHMOD command or through your ftp client. Make sure it&#8217;s globally writeable and it should be fine."
160
+ msgstr "最簡單的方式是使用CHMOD指令或透過FTP程式來變更權限。請確保它們正確並可以寫入。"
161
 
162
  #: wp-cache.php:242
163
  #: wp-cache.php:258
182
 
183
  #: wp-cache.php:267
184
  msgid "Mobile rewrite rules detected"
185
+ msgstr "行動裝置重寫規則檢測"
186
 
187
  #: wp-cache.php:268
188
  msgid "For best performance you should enable \"Mobile device support\" or delete the mobile rewrite rules in your .htaccess. Look for the 2 lines with the text \"2.0\\ MMP|240x320\" and delete those."
190
 
191
  #: wp-cache.php:268
192
  msgid "This will have no affect on ordinary users but mobile users will see uncached pages."
193
+ msgstr "不會對一般使用者造成任何影響,但行動裝置使用者將會看到未快取的頁面。"
194
 
195
  #: wp-cache.php:274
196
  #: wp-cache.php:285
200
  #: wp-cache.php:275
201
  #: wp-cache.php:286
202
  msgid "The rewrite rules required by this plugin have changed or are missing. "
203
+ msgstr "這個外掛所需的rewrite規則已被變更或不存在。"
204
 
205
  #: wp-cache.php:276
206
  msgid "Mobile support requires extra rules in your .htaccess file, or you can set the plugin to legacy mode. Here are your options (in order of difficulty):"
207
+ msgstr "行動裝置支援必須在你的 .htaccess 檔案裡新增額外規則,或是你可以將外掛設定為傳統模式。這是你的選擇(根據個人需求):"
208
 
209
  #: wp-cache.php:277
210
  msgid "Set the plugin to legacy mode and enable mobile support."
213
  #: wp-cache.php:278
214
  #: wp-cache.php:287
215
  msgid "Scroll down the Advanced Settings page and click the <strong>Update Mod_Rewrite Rules</strong> button."
216
+ msgstr "捲動到進階選項頁面的下方並點擊<strong>更新Mod_Rewrite規則</strong>按鈕。"
217
 
218
  #: wp-cache.php:279
219
  msgid "Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin regenerate them by reloading this page."
220
+ msgstr "從 %s.htaccess 內刪除 <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> 原始碼區段的 mod_rewrite 規則,重新載入頁面讓外掛可以再次產生它們。"
221
 
222
  #: wp-cache.php:280
223
  msgid "Add the rules yourself. Edit %s.htaccess and find the block of code enclosed by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code>. There are two sections that look very similar. Just below the line <code>%%{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$</code> add these lines: (do it twice, once for each section)"
224
+ msgstr "自行加入規則。編輯 %s.htaccess 並找到 <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> 原始碼區段。這兩部分看起來非常相似。只要在 <code>%%{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$</code> 下方新增這一行(這動作要做兩次,一個區段一次):"
225
 
226
  #: wp-cache.php:293
227
  msgid "Required to serve compressed supercache files properly."
228
+ msgstr "需要正確的supercache壓縮檔案。"
229
 
230
  #: wp-cache.php:293
231
  msgid "Required to set caching information on supercache pages. IE7 users will see old pages without this module."
232
+ msgstr "需要在supercache頁面設定快取訊息。IE7使用者將會看到沒有這個模組的舊頁面。"
233
 
234
  #: wp-cache.php:293
235
  msgid "Set the expiry date on supercached pages. Visitors may not see new pages when they refresh or leave comments without this module."
236
+ msgstr "設定supercached快取過期時間。沒有這個模組,訪客在重新整理或留下迴響時可能看不到新頁面。"
237
 
238
  #: wp-cache.php:300
239
  msgid "Missing Apache Modules"
241
 
242
  #: wp-cache.php:301
243
  msgid "The following Apache modules are missing. The plugin will work in legacy mode without them. In full Supercache mode, your visitors may see corrupted pages or out of date content however."
244
+ msgstr "以下的Apache模組遺失。沒有它們外掛將在傳統模式下工作。若在完整的Supercache模式,你的訪客可能會看到損壞的網頁或是過時的內容。"
245
 
246
+ #: wp-cache.php:459
247
  msgid "<strong>Warning!</strong> You attempted to enable compression but <code>zlib.output_compression</code> is enabled. See #21 in the Troubleshooting section of the readme file."
248
+ msgstr "<strong>警告!</strong> 你試著要開啟壓縮,但是<code>zlib.output_compression</code>已被啟用。 參見讀我檔案裡錯誤排除段落第21條。"
249
 
250
+ #: wp-cache.php:550
251
  msgid "WP Super Cache Settings"
252
  msgstr "WP Super Cache 狀態"
253
 
254
+ #: wp-cache.php:561
255
  msgid "Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced Settings Page by default."
256
+ msgstr "注意:<em>Mod_rewrite或傳統快取已被開啟。</em> 預設顯示進階選項頁面。"
257
 
258
+ #: wp-cache.php:572
259
  msgid "Configuration file changed, some values might be wrong. Load the page again from the \"Settings\" menu to reset them."
260
+ msgstr "設定檔已變更。某些數值可能錯誤。再次從\"設定\"選單讀取頁面後重設它們。"
261
 
262
+ #: wp-cache.php:597
263
  msgid "Caching must be enabled to use this feature"
264
  msgstr "必須啟用快取才能使用這個功能"
265
 
266
+ #: wp-cache.php:615
267
+ #: wp-cache.php:746
268
  msgid "Cancel Cache Preload"
269
  msgstr "取消快取預先載入"
270
 
271
+ #: wp-cache.php:623
272
+ #: wp-cache.php:634
 
 
 
273
  msgid "Scheduled preloading of cache cancelled."
274
  msgstr "預載快取排程已被取消。"
275
 
276
+ #: wp-cache.php:660
277
+ #: wp-cache.php:744
278
  msgid "Preload Cache Now"
279
  msgstr "馬上開始預先載入"
280
 
281
+ #: wp-cache.php:664
282
  msgid "Scheduled preloading of cache in 10 seconds."
283
  msgstr "預載快取將在十秒之後開始。"
284
 
285
+ #: wp-cache.php:669
286
  msgid "Scheduled preloading of cache in %d minutes"
287
  msgstr "下次預載快取排程時間:%d分鐘後"
288
 
289
+ #: wp-cache.php:673
290
  msgid "This will cache every published post and page on your site. It will create supercache static files so unknown visitors (including bots) will hit a cached page. This will probably help your Google ranking as they are using speed as a metric when judging websites now."
291
+ msgstr "這會快取你網站上所有已發布的文章和頁面。它會產生supercache靜態檔案,匿名訪客(包括機器人)會命中快取頁面。這有可能會對你的Google排名有幫助,因為他們也將網站速度納入衡量項目之一。"
292
 
293
+ #: wp-cache.php:674
294
  msgid "Preloading creates lots of files however. Caching is done from the newest post to the oldest so please consider only caching the newest if you have lots (10,000+) of posts. This is especially important on shared hosting."
295
+ msgstr "不過預先載入會產生很多檔案。快取會從最新的文章開始做到最早的文章,所以當你有非常多(10,000+)文章的時候,可能只會有新文章被快取到。這在分享主機上特別重要。"
296
 
297
+ #: wp-cache.php:675
298
  msgid "In &#8217;Preload Mode&#8217; regular garbage collection will only clean out old legacy files for known users, not the preloaded supercache files. This is a recommended setting when the cache is preloaded."
299
+ msgstr "在「預先載入」模式,通常的垃圾回收只會清除給已知使用者的傳統快取檔案,而不會清除預先載入的supercache檔案。這是預先載入的建議設定。"
300
 
301
+ #: wp-cache.php:679
302
  msgid "Refresh preloaded cache files every %s minutes. (0 to disable, minimum %d minutes.)"
303
+ msgstr "每%s分鐘更新預載快取檔案。(0關閉,最低%d分鐘。)"
304
 
305
+ #: wp-cache.php:692
306
  msgid "all"
307
  msgstr "所有"
308
 
309
+ #: wp-cache.php:705
310
  msgid "Preload %s posts."
311
  msgstr "預先載入 %s 篇文章。"
312
 
313
+ #: wp-cache.php:712
314
  msgid "Preload mode (garbage collection only on legacy cache files. Recommended.)"
315
  msgstr "預先載入模式(只對傳統模式快取做垃圾回收。建議選項。)"
316
 
317
+ #: wp-cache.php:715
 
 
 
 
318
  msgid "Send me status emails when files are refreshed."
319
  msgstr "當檔案被更新的時候寄信給我。"
320
 
321
+ #: wp-cache.php:720
322
  msgid "Many emails, 2 emails per 100 posts."
323
  msgstr "很多信件,每一百篇文章二封信。"
324
 
325
+ #: wp-cache.php:723
326
  msgid "Medium, 1 email per 100 posts."
327
  msgstr "中等,每一百篇文章一封信。"
328
 
329
+ #: wp-cache.php:726
330
  msgid "Less emails, 1 at the start and 1 at the end of preloading all posts."
331
  msgstr "較少信件,開始的時候一封還有結束的時候一封。"
332
 
333
+ #: wp-cache.php:730
334
  msgid "Refresh of cache in %d hours %d minutes and %d seconds."
335
  msgstr "在%d小時%d分鐘%d秒之後更新快取。"
336
 
337
+ #: wp-cache.php:731
338
  msgid "Full refresh of cache in %d hours %d minutes and %d seconds."
339
+ msgstr "完整更新快取,耗費了%d小時%d分鐘%d秒。"
340
 
341
+ #: wp-cache.php:737
342
  msgid "Currently caching from post %d to %d."
343
+ msgstr "目前正在快取第%d到%d篇文章。"
344
 
345
+ #: wp-cache.php:741
346
  msgid "<strong>Page last cached:</strong> %s"
347
  msgstr "<strong>最新快取頁面:</strong> %s"
348
 
349
+ #: wp-cache.php:744
350
  msgid "Update Settings"
351
  msgstr "更新狀態"
352
 
353
+ #: wp-cache.php:752
354
  msgid "Preloading of cache disabled. Please disable legacy page caching or talk to your host administrator."
355
  msgstr "預先載入已被關閉。請關閉傳統模式或和主機管理員連絡。"
356
 
357
+ #: wp-cache.php:769
358
+ #: wp-cache.php:865
359
  msgid "Caching"
360
  msgstr "快取"
361
 
362
+ #: wp-cache.php:773
363
  msgid "Cache hits to this website for quick access."
364
  msgstr "啟用快取以加速對本網站的存取"
365
 
366
+ #: wp-cache.php:773
367
+ #: wp-cache.php:774
368
+ #: wp-cache.php:791
369
+ #: wp-cache.php:796
370
+ #: wp-cache.php:799
371
+ #: wp-cache.php:800
372
+ #: wp-cache.php:813
373
+ #: wp-cache.php:868
374
  msgid "Recommended"
375
  msgstr "建議選項"
376
 
377
+ #: wp-cache.php:774
378
  msgid "Use mod_rewrite to serve cache files."
379
+ msgstr "使用mod_rewrite快取"
380
 
381
+ #: wp-cache.php:775
382
  msgid "Use PHP to serve cache files."
383
+ msgstr "使用PHP快取"
384
 
385
+ #: wp-cache.php:776
386
  msgid "Legacy page caching."
387
  msgstr "傳統快取模式"
388
 
389
+ #: wp-cache.php:777
390
  msgid "Mod_rewrite is fastest, PHP is almost as fast and easier to get working, while legacy caching is slower again, but more flexible and also easy to get working. New users should use PHP caching."
391
+ msgstr "Mod_rewrite快取是最快的,PHP快取幾乎一樣快且較容易上手;傳統模式較慢,但是有更多的調性且同樣容易上手。新使用者應該使用PHP快取。"
392
 
393
+ #: wp-cache.php:783
394
  msgid "Miscellaneous"
395
  msgstr "雜項"
396
 
397
+ #: wp-cache.php:789
398
  msgid "Warning! Compression is disabled as gzencode() function not found."
399
+ msgstr "警告!因為找不到gzencode()函式,壓縮已被停用。"
400
 
401
+ #: wp-cache.php:791
402
  msgid "Compress pages so they&#8217;re served more quickly to visitors."
403
+ msgstr "壓縮網頁,讓使用者能更快觀看"
404
 
405
+ #: wp-cache.php:792
406
  msgid "Compression is disabled by default because some hosts have problems with compressed files. Switching it on and off clears the cache."
407
  msgstr "壓縮預設為停用,因為某些主機在壓縮檔案時可能發生問題。啟用或停用這項功能會清除快取。"
408
 
409
+ #: wp-cache.php:796
410
  msgid "304 Not Modified browser caching. Indicate when a page has not been modified since last requested."
411
  msgstr "304 未修改支援。當一個頁面在上次被要求後沒有被更改的時候送出。"
412
 
413
+ #: wp-cache.php:797
 
 
 
 
414
  msgid "304 support is disabled by default because in the past GoDaddy had problems with some of the headers used."
415
+ msgstr "304支援預設為停用,因為過去GoDaddy在它使用的某些檔頭會產生問題。"
416
 
417
+ #: wp-cache.php:799
418
  msgid "Don&#8217;t cache pages for <acronym title=\"Logged in users and those that comment\">known users</acronym>."
419
  msgstr "不要為<acronym title=\"已登入或有留下迴響的使用者\">已知使用者</acronym>快取。"
420
 
421
+ #: wp-cache.php:800
 
 
 
 
 
 
 
 
422
  msgid "Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated."
423
+ msgstr "重建快取。當新檔案重建的時候,提供supercache檔案給匿名使用者。"
424
 
425
+ #: wp-cache.php:801
426
+ msgid "Proudly tell the world your server is Digg proof! (places a message in your blog&#8217;s footer)"
427
+ msgstr "告訴全世界你的伺服器已使用快取!(在你的部落格底部放置一段訊息)"
428
 
429
+ #: wp-cache.php:807
430
+ #: wp-cache.php:1056
431
+ #: wp-cache.php:1563
432
  msgid "Advanced"
433
  msgstr "進階選項"
434
 
435
+ #: wp-cache.php:811
436
+ msgid "Mobile device support."
437
+ msgstr "行動裝置支援。"
 
 
 
 
 
 
 
 
 
 
 
 
438
 
439
+ #: wp-cache.php:812
440
+ msgid "Clear all cache files when a post or page is published."
441
+ msgstr "當有文章或網誌分頁發佈時清除所有快取。"
442
 
443
+ #: wp-cache.php:813
444
  msgid "Extra homepage checks. (Very occasionally stops homepage caching)"
445
  msgstr "額外的首頁檢查(有很小的機會導致首頁快取停止)。"
446
 
447
+ #: wp-cache.php:814
448
  msgid "Only refresh current page when comments made."
449
  msgstr "當迴響發佈時,只更新目前頁面。"
450
 
451
+ #: wp-cache.php:815
452
  msgid "List the newest cached pages on this page."
453
  msgstr "在本頁列出最新的快取頁面。"
454
 
455
+ #: wp-cache.php:817
456
  msgid "Coarse file locking. You probably don&#8217;t need this but it may help if your server is underpowered. Warning! <em>May cause your server to lock up in very rare cases!</em>"
457
  msgstr "粗略檔案鎖定。你大概不會用到這個功能,但如果你的伺服器效能較差,開啟後可能會有所幫助。警告!<em>可能在少數情況下鎖死你的伺服器!</em>"
458
 
459
+ #: wp-cache.php:819
460
  msgid "Late init. Display cached files after WordPress has loaded. Most useful in legacy mode."
461
+ msgstr "延遲初始化,在WordPress載入之後再顯示快取。通常使用在傳統模式。"
462
 
463
+ #: wp-cache.php:821
464
  msgid "Use object cache to store cached files."
465
+ msgstr "使用object快取來儲存快取檔案。"
466
 
467
+ #: wp-cache.php:821
468
  msgid "(Experimental)"
469
  msgstr "(實驗選項)"
470
 
471
+ #: wp-cache.php:828
 
 
 
 
472
  msgid "Note:"
473
  msgstr "備註:"
474
 
475
+ #: wp-cache.php:830
476
  msgid "Uninstall this plugin on the plugins page. It will automatically clean up after itself. If manual intervention is required then simple instructions are provided."
477
  msgstr "請在外掛頁面反安裝此外掛。它將會在反安裝後將設定清除。如需手動介入,亦會提供簡單的指示。"
478
 
479
+ #: wp-cache.php:831
480
  msgid "If uninstalling this plugin, make sure the directory <em>%s</em> is writeable by the webserver so the files <em>advanced-cache.php</em> and <em>cache-config.php</em> can be deleted automatically. (Making sure those files are writeable too is probably a good idea!)"
481
  msgstr "如果移除這個外掛,請確認目錄 <em>%s</em> 為伺服器可以寫入,<em>advanced-cache.php</em> 和 <em>cache-config.php</em> 檔案會自動刪除。(確認這些檔案是可寫入的,也是個好主意!)"
482
 
483
+ #: wp-cache.php:832
484
  msgid "Please see the <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> for instructions on uninstalling this script. Look for the heading, \"How to uninstall WP Super Cache\"."
485
+ msgstr "反安裝資訊請參見<a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a>,尋找\"How to uninstall WP Super Cache\"標題。"
486
 
487
+ #: wp-cache.php:833
488
  msgid "Need help? Check the <a href=\"%1$s\">Super Cache readme file</a>. It includes installation documentation, a FAQ and Troubleshooting tips. The <a href=\"%2$s\">support forum</a> is also available. Your question may already have been answered."
489
  msgstr "需要幫助? 看看<a href=\"%1$s\">Super Cache 讀我檔案</a>。 它包含了安裝資訊,常見問題及錯誤排除小技巧。另外在<a href=\"%2$s\">支援論壇</a>上,你的問題可能也已經有人回答過了。"
490
 
491
+ #: wp-cache.php:836
492
+ #: wp-cache.php:883
493
  msgid "Update Status"
494
  msgstr "更新狀態"
495
 
496
+ #: wp-cache.php:843
497
  msgid "Accepted Filenames &amp; Rejected URIs"
498
+ msgstr "接受的檔案名稱和拒絕的URI"
499
 
500
+ #: wp-cache.php:868
501
  msgid "Caching On"
502
  msgstr "開啟快取"
503
 
504
+ #: wp-cache.php:869
505
  msgid "Caching Off"
506
  msgstr "關閉快取"
507
 
508
+ #: wp-cache.php:870
509
  msgid "Note: enables PHP caching, cache rebuild, and mobile support"
510
+ msgstr "啟用PHP快取,重建快取,以及行動裝置支援"
511
 
512
+ #: wp-cache.php:880
513
  msgid "Notice: PHP caching enabled but Supercache mod_rewrite rules detected. Cached files will be served using those rules. If your site is working ok please ignore this message or you can edit the .htaccess file in the root of your install and remove the SuperCache rules."
514
+ msgstr "注意:PHP快取已被啟用,但偵測到Supercache mod_rewrite規則。快取檔案會用這些規則來服務。如果你的網站動作正常,你可以忽略這個訊息,否則請編輯站台安裝根目錄下的.htaccess檔以移除SuperCache規則。"
515
 
516
+ #: wp-cache.php:885
517
  msgid "Cache Tester"
518
  msgstr "快取測試"
519
 
520
+ #: wp-cache.php:886
521
  msgid "Test your cached website by clicking the test button below."
522
  msgstr "請按下面的測試按鈕以測試你的網站快取。"
523
 
524
+ #: wp-cache.php:892
525
  msgid "Fetching %s to prime cache: "
526
  msgstr "抓取 %s 至主要快取:"
527
 
528
+ #: wp-cache.php:894
529
+ #: wp-cache.php:902
530
+ #: wp-cache.php:910
531
  msgid "OK"
532
  msgstr "完成"
533
 
534
+ #: wp-cache.php:897
535
  msgid "Fetching first copy of %s: "
536
  msgstr "抓取第一份%s:"
537
 
538
+ #: wp-cache.php:905
 
 
 
 
 
539
  msgid "Fetching second copy of %s: "
540
  msgstr "抓取第二份%s:"
541
 
542
+ #: wp-cache.php:913
543
  msgid "One or more page requests failed:"
544
  msgstr "一個或以上的頁面要求失敗:"
545
 
546
+ #: wp-cache.php:932
547
+ #: wp-cache.php:933
548
  msgid "Page %d: %d (%s)"
549
  msgstr "頁面 %d: %d (%s)"
550
 
551
+ #: wp-cache.php:939
552
  msgid "Page 1: %s"
553
  msgstr "頁面1: %s"
554
 
555
+ #: wp-cache.php:940
556
  msgid "Page 2: %s"
557
  msgstr "頁面2: %s"
558
 
559
+ #: wp-cache.php:941
560
  msgid "The timestamps on both pages match!"
561
  msgstr "頁面時間標籤相符!"
562
 
563
+ #: wp-cache.php:943
564
  msgid "The pages do not match! Timestamps differ or were not found!"
565
+ msgstr "無頁面時間標籤或標籤不相符"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
566
 
567
+ #: wp-cache.php:950
568
  msgid "Send non-secure (non https) request for homepage"
569
+ msgstr "要非加密(非https)傳輸要求首頁"
570
 
571
+ #: wp-cache.php:951
572
  msgid "Test Cache"
573
  msgstr "測試快取"
574
 
575
+ #: wp-cache.php:955
576
  msgid "Delete Cached Pages"
577
  msgstr "刪除快取頁面"
578
 
579
+ #: wp-cache.php:956
580
  msgid "Cached pages are stored on your server as html and PHP files. If you need to delete them use the button below."
581
+ msgstr "快取頁面以html和PHP檔案的形式儲存在你的伺服器上。如果你需要刪除它們,請按下面的按鈕。"
582
 
583
+ #: wp-cache.php:959
584
+ #: wp-cache.php:2093
585
+ #: wp-cache.php:2105
586
+ #: wp-cache.php:2268
 
587
  msgid "Delete Cache"
588
  msgstr "刪除快取"
589
 
590
+ #: wp-cache.php:963
 
 
 
 
 
591
  msgid "Recommended Links and Plugins"
592
  msgstr "建議連結及外掛"
593
 
594
+ #: wp-cache.php:964
595
  msgid "Caching is only one part of making a website faster. Here are some other plugins that will help:"
596
  msgstr "快取只是讓網站變快的方法之一。這邊是一些其它有幫助的外掛:"
597
 
598
+ #: wp-cache.php:965
599
+ msgid "<a href=\"%s\">WP Minify</a> reduces the number of files served by your web server by joining Javascript and CSS files together. Alternatively you can use <a href=\"%s\">WPSCMin</a>, a Supercache plugin that minifies cached pages. It does not however join JS/CSS files together."
600
+ msgstr "<a href=\"%s\">WP Minify</a> 合併Javascript及CSS檔案,以減少網頁伺服器需要服務的檔案數量。 或者你也可以使用 <a href=\"%s\">WPSCMin</a>,一個減少快取面數量的 Supercache 外掛。(但它並不會合併JS/CSS檔案)"
601
 
602
+ #: wp-cache.php:966
603
  msgid "<a href=\"%s\">Yahoo! Yslow</a> is an extension for the Firefox add-on Firebug. It analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. Also try the performance tools online at <a href=\"%s\">GTMetrix</a>."
604
+ msgstr "<a href=\"%s\">Yahoo! Yslow</a> 是Firefox附加元件Firebug的一個延伸套件。它可以分析你的網頁,並根據一些高效率網頁規則,建議你增加效能的方式。 你也可以試試一個線上效能分析工具 <a href=\"%s\">GTMetrix</a>。"
605
 
606
+ #: wp-cache.php:967
607
  msgid "<a href=\"%s\">Use Google Libraries</a> allows you to load some commonly used Javascript libraries from Google webservers. Ironically it may reduce your Yslow score."
608
+ msgstr "<a href=\"%s\">Use Google Libraries</a>可以讓你從Google的伺服器上載入一些常用的Javascript函式庫。很諷刺的是它會降低你的Yslow分數。"
609
 
610
+ #: wp-cache.php:969
611
  msgid "<strong>Advanced users only:</strong> <a href=\"%s\">Speed up your site with Caching and cache-control</a> explains how to make your site more cacheable with .htaccess rules."
612
+ msgstr "<strong>進階使用者專用:</strong> <a href=\"%s\">使用快取及快取控制加速你的網站</a>,解釋怎麼讓你的網站更適用.htaccess規則來進行快取。"
613
 
614
+ #: wp-cache.php:970
615
  msgid "<strong>Advanced users only:</strong> Install an object cache. Choose from <a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a href=\"%s\">eAcccelerator</a> and others."
616
+ msgstr "<strong>進階使用者專用:</strong> 安裝物件快取。 你可以從<a href=\"%s\">Memcached</a>、<a href=\"%s\">XCache</a>、<a href=\"%s\">eAcccelerator</a>或其它的加速器中選擇一個。"
 
 
 
 
617
 
618
+ #: wp-cache.php:981
619
  msgid "Make WordPress Faster"
620
  msgstr "讓 WordPress 更快速"
621
 
622
+ #: wp-cache.php:982
623
  msgid "%1$s is maintained and developed by %2$s with contributions from many others."
624
  msgstr "%1$s由%2$s開發及維護,並得到許多人的幫助貢獻。"
625
 
626
+ #: wp-cache.php:983
627
  msgid "He blogs at %1$s and posts photos at %2$s."
628
+ msgstr "我的部落格在 %1$s,相簿在 %2$s."
629
 
630
+ #: wp-cache.php:984
631
  msgid "Please say hi to him on %s too!"
632
  msgstr "在%s上向我問好!"
633
 
634
+ #: wp-cache.php:985
635
  msgid "Need Help?"
636
  msgstr "需要幫助?"
637
 
638
+ #: wp-cache.php:987
 
 
 
 
639
  msgid "<a href=\"%1$s\">Installation Help</a>"
640
  msgstr "<a href=\"%1$s\">安裝指南</a>"
641
 
642
+ #: wp-cache.php:988
643
  msgid "<a href=\"%1$s\">Frequently Asked Questions</a>"
644
  msgstr "<a href=\"%1$s\">常見問題</a>"
645
 
646
+ #: wp-cache.php:989
647
  msgid "<a href=\"%1$s\">Support Forum</a>"
648
  msgstr "<a href=\"%1$s\">支援論壇</a>"
649
 
650
+ #: wp-cache.php:991
651
  msgid "Rate This Plugin!"
652
  msgstr "為這個外掛評分!"
653
 
654
+ #: wp-cache.php:992
655
  msgid "Please <a href=\"%s\">rate</a> this plugin and tell me if it works for you or not. It really helps development."
656
  msgstr "請為這個外掛<a href=\"%s\">評分</a>,並告訴我它是否運作正常。這對開發非常有幫助。"
657
 
658
+ #: wp-cache.php:1001
659
  msgid "Cached pages since %1$s : <strong>%2$s</strong>"
660
  msgstr "快取頁面自 %1$s :<strong>%2$s</strong>"
661
 
662
+ #: wp-cache.php:1002
663
  msgid "Newest Cached Pages:"
664
  msgstr "最新的快取頁面:"
665
 
666
+ #: wp-cache.php:1006
667
  msgid "Cached %s seconds ago"
668
+ msgstr "已快取 %s "
669
 
670
+ #: wp-cache.php:1009
671
  msgid "(may not always be accurate on busy sites)"
672
  msgstr "(在忙碌的網站上未必準確)"
673
 
674
+ #: wp-cache.php:1028
675
  msgid "Cache plugins are PHP scripts that live in a plugins folder inside the wp-super-cache folder. They are loaded when Supercache loads, much sooner than regular WordPress plugins."
676
+ msgstr "快取外掛是wp-super-cache裡plugin資料夾中的一些PHP程式。它們在Supercache載入的時候就會被載入,比一般的WordPress plugin要早得多。"
677
 
678
+ #: wp-cache.php:1029
679
  msgid "This is strictly an advanced feature only and knowledge of both PHP and WordPress actions is required to create them."
680
+ msgstr "這是一個非常進階的功能,只有對PHP和Wordpress動作都非常了解的人才能撰寫。"
681
 
682
+ #: wp-cache.php:1039
 
 
 
 
683
  msgid "Available Plugins"
684
  msgstr "可使用的外掛"
685
 
686
+ #: wp-cache.php:1056
687
  msgid "Easy"
688
  msgstr "簡易模式"
689
 
690
+ #: wp-cache.php:1056
691
  msgid "CDN"
692
  msgstr "CDN"
693
 
694
+ #: wp-cache.php:1056
695
  msgid "Contents"
696
  msgstr "內容"
697
 
698
+ #: wp-cache.php:1056
699
  msgid "Preload"
700
  msgstr "預先載入"
701
 
702
+ #: wp-cache.php:1056
703
  msgid "Plugins"
704
  msgstr "外掛"
705
 
706
+ #: wp-cache.php:1056
707
  msgid "Debug"
708
  msgstr "除錯設定"
709
 
710
+ #: wp-cache.php:1091
711
  msgid "Notice: WP Super Cache mod_rewrite rule checks disabled unless running on <a href=\"%s\">the main site</a> of this network."
712
+ msgstr "注意:除非在這個網路的<a href=\"%s\">主站</a>上執行,WP Super Cache mod_rewrite規則檢查會被關閉。s"
713
 
714
+ #: wp-cache.php:1100
715
  msgid "Mod Rewrite Rules"
716
  msgstr "Mod Rewrite 規則"
717
 
718
+ #: wp-cache.php:1106
719
  msgid "WordPress MU Detected"
720
+ msgstr "WordPress MU 檢測"
721
 
722
+ #: wp-cache.php:1106
723
  msgid "Unfortunately the rewrite rules cannot be updated automatically when running WordPress MU. Please open your .htaccess and add the following mod_rewrite rules above any other rules in that file."
724
  msgstr "抱歉,當執行 WordPress MU 時重寫規則無法自動更新。請開啟你的 .htaccess,並在上述檔案中任何位置加入下方的 mod_rewrite 規則。"
725
 
726
+ #: wp-cache.php:1108
727
  msgid "Mod Rewrite rules cannot be updated!"
728
  msgstr "Mod Rewrite 規則無法更新!"
729
 
730
+ #: wp-cache.php:1109
731
  msgid "You must have <strong>BEGIN</strong> and <strong>END</strong> markers in %s.htaccess for the auto update to work. They look like this and surround the main WordPress mod_rewrite rules:"
732
+ msgstr "要讓它自動工作,你必須在 %s.htaccess 上有 <strong>BEGIN</strong> 和 <strong>END</strong> 標記,它們看起來像這樣,圍繞 WordPress mod_rewrite 規則:"
733
 
734
+ #: wp-cache.php:1111
735
  msgid "Refresh this page when you have updated your .htaccess file."
736
  msgstr "當你已更新你的 .htaccess 檔案後重新整理此頁。"
737
 
738
+ #: wp-cache.php:1115
739
  msgid "Thank you for upgrading."
740
  msgstr "感謝升級。"
741
 
742
+ #: wp-cache.php:1115
743
  msgid "The mod_rewrite rules changed since you last installed this plugin. Unfortunately you must remove the old supercache rules before the new ones are updated. Refresh this page when you have edited your .htaccess file. If you wish to manually upgrade, change the following line: %1$s so it looks like this: %2$s The only changes are \"HTTP_COOKIE\" becomes \"HTTP:Cookie\" and \"wordpressuser\" becomes \"wordpress\". This is a WordPress 2.5 change but it&#8217;s backwards compatible with older versions if you&#8217;re brave enough to use them."
744
+ msgstr "從你上次安裝此外掛,mod_rewrite 規則已經變更。在新的supercache規則更新前,你必須先刪除舊的supercache規則。在你修改你的 .htaccess 檔案後重新整理此頁。如果你希望手動更新,更改以下幾行:%1$s 使它看起來像這樣:%2$s ,唯一改變的地方是 \"HTTP_COOKIE\" 變成 \"HTTP:Cookie\" 以及 \"wordpressuser\" 變成 \"wordpress\"。這是 WordPress 2.5 的改變,但如果你敢使用,它與舊版本相容。"
745
 
746
+ #: wp-cache.php:1119
747
  msgid "Trailing slash check required."
748
  msgstr "尾端斜線的檢查是必須的。"
749
 
750
+ #: wp-cache.php:1119
751
  msgid "It looks like your blog has URLs that end with a \"/\". Unfortunately since you installed this plugin a duplicate content bug has been found where URLs not ending in a \"/\" end serve the same content as those with the \"/\" and do not redirect to the proper URL. To fix, you must edit your .htaccess file and add these two rules to the two groups of Super Cache rules:"
752
+ msgstr "看起來你的部落格有以\"/\"結束的URL。不幸地在你安裝這個外掛後,在URL不是以\"/\"結束的頁面,發現了一個重複內容的bug,也就是相同的內容卻不是被指向正確的URL。你必須修改你的 .htaccess 檔案以修復這個問題,在兩個 Super Cache 規則區段內新增下面兩個規則:"
753
 
754
+ #: wp-cache.php:1121
755
  msgid "You can see where the rules go and examine the complete rules by clicking the \"View mod_rewrite rules\" link below."
756
  msgstr "你可以看到規則去向,透過點選下方的「查看 mod_rewrite 規則」連結來看到完整的規則"
757
 
758
+ #: wp-cache.php:1135
759
  msgid "Mod Rewrite rules updated!"
760
  msgstr "Mod Rewrite 規則已更新!"
761
 
762
+ #: wp-cache.php:1136
763
  msgid "%s.htaccess has been updated with the necessary mod_rewrite rules. Please verify they are correct. They should look like this:"
764
  msgstr "%s.htaccess 已更新必要的 mod_rewrite 規則。請確保它們是正確的。它們應該像這樣:"
765
 
766
+ #: wp-cache.php:1138
767
  msgid "Mod Rewrite rules must be updated!"
768
  msgstr "Mod Rewrite 規則必須更新!"
769
 
770
+ #: wp-cache.php:1139
771
  msgid "Your %s.htaccess is not writable by the webserver and must be updated with the necessary mod_rewrite rules. The new rules go above the regular WordPress rules as shown in the code below:"
772
+ msgstr "你的%s.htaccess無法由伺服器寫入,必須更新 mod_rewrite 規則。新的規則必須在一般的 WordPress 規則之上,如下面的原始碼所示:"
773
 
774
+ #: wp-cache.php:1144
775
  msgid "WP Super Cache mod rewrite rules were detected in your %s.htaccess file.<br /> Click the following link to see the lines added to that file. If you have upgraded the plugin make sure these rules match."
776
+ msgstr "在你的%s.htaccess檔案中已經檢測到WP Super Cache重寫規則。<br />點選以下連結,查看新增到該檔案的內容。如果你已經升級外掛,請確保與這些規則相同。"
777
 
778
+ #: wp-cache.php:1147
779
  msgid "A difference between the rules in your .htaccess file and the plugin rewrite rules has been found. This could be simple whitespace differences but you should compare the rules in the file with those below as soon as possible. Click the &#8217;Update Mod_Rewrite Rules&#8217; button to update the rules."
780
+ msgstr "發現.htaccess的rewrite規則和外掛rewrite規則的不一致。有可能只是單純空白字元的差別,但是你應該立即比較以下的規則。 點擊「更新Mod_Rewrite規則」按鈕以更新規則。"
781
 
782
+ #: wp-cache.php:1150
783
  msgid "View Mod_Rewrite Rules"
784
  msgstr "查看 Mod_Rewrite 規則"
785
 
786
+ #: wp-cache.php:1154
787
+ #: wp-cache.php:2384
788
  msgid "Rules must be added to %s too:"
789
+ msgstr "也必須新增到%s的規則:"
790
 
791
+ #: wp-cache.php:1162
792
  msgid "Gzip encoding rules in %s.htaccess created."
793
+ msgstr "%s.htaccess上Gzip規則建立。"
794
 
795
+ #: wp-cache.php:1169
796
  msgid "Fix Configuration"
797
  msgstr "修復設定"
798
 
799
+ #: wp-cache.php:1172
800
  msgid "Restore Default Configuration"
801
  msgstr "還原到預設選項"
802
 
803
+ #: wp-cache.php:1180
804
  msgid "Comment moderation is enabled. Your comment may take some time to appear."
805
  msgstr "迴響審核已啟用。您的迴響可能需要一些時間才會顯示。"
806
 
807
+ #: wp-cache.php:1205
808
  msgid "Lock Down:"
809
  msgstr "鎖定:"
810
 
811
+ #: wp-cache.php:1205
812
+ #: plugins/awaitingmoderation.php:35
813
+ #: plugins/badbehaviour.php:66
814
+ #: plugins/domain-mapping.php:61
815
+ msgid "Disabled"
816
+ msgstr "停用"
817
+
818
+ #: wp-cache.php:1205
819
+ #: plugins/awaitingmoderation.php:34
820
+ #: plugins/badbehaviour.php:65
821
+ #: plugins/domain-mapping.php:60
822
+ msgid "Enabled"
823
+ msgstr "啟用"
824
+
825
+ #: wp-cache.php:1206
826
  msgid "Prepare your server for an expected spike in traffic by enabling the lock down. When this is enabled, new comments on a post will not refresh the cached static files."
827
  msgstr "如果你預測會有流量高峰到來時,可以啟用鎖定功能。當這個功能啟用時,在文章裡發佈新迴響將不會更新靜態快取檔案。"
828
 
829
+ #: wp-cache.php:1207
830
  msgid "Developers: Make your plugin lock down compatible by checking the \"WPLOCKDOWN\" constant. The following code will make sure your plugin respects the WPLOCKDOWN setting."
831
+ msgstr "開發者:透過檢查\"WPLOCKDOWN\",讓你的外掛與鎖定功能相容。下面的原始碼將確保你的外掛遵守WPLOCKDOWN設定。"
832
 
833
+ #: wp-cache.php:1209
834
  msgid "Sorry. My blog is locked down. Updates will appear shortly"
835
  msgstr "抱歉。我的部落格已經鎖定。將會在短時間後更新。"
836
 
837
+ #: wp-cache.php:1213
838
  msgid "WordPress is locked down. Super Cache static files will not be deleted when new comments are made."
839
  msgstr "WordPress 已鎖定。新的迴響產生時將不會刪除 Super Cache 靜態快取檔案。"
840
 
841
+ #: wp-cache.php:1215
842
  msgid "WordPress is not locked down. New comments will refresh Super Cache static files as normal."
843
  msgstr "WordPress 未鎖定。新的迴響產生時將會正常更新 Super Cache 靜態快取檔案。"
844
 
845
+ #: wp-cache.php:1218
846
+ #: plugins/searchengine.php:61
847
+ #: plugins/searchengine.php:76
848
+ msgid "Disable"
849
+ msgstr "停用"
850
+
851
+ #: wp-cache.php:1218
852
+ #: plugins/searchengine.php:74
853
+ msgid "Enable"
854
+ msgstr "啟用"
855
+
856
+ #: wp-cache.php:1221
857
  msgid "Lock Down"
858
  msgstr "鎖定"
859
 
860
+ #: wp-cache.php:1229
861
  msgid "Directly Cached Files"
862
  msgstr "直接快取檔案"
863
 
864
+ #: wp-cache.php:1287
865
  msgid "%s removed!"
866
  msgstr "%s 已移除!"
867
 
868
+ #: wp-cache.php:1295
869
+ #: wp-cache.php:1297
870
+ #: plugins/badbehaviour.php:83
871
+ msgid "Warning!"
872
+ msgstr "警告!"
873
+
874
+ #: wp-cache.php:1295
875
  msgid "You must make %s writable to enable this feature. As this is a security risk please make it readonly after your page is generated."
876
  msgstr "啟用這項功能前必須確認 %s 是可寫入狀態。由於這牽涉到一個安全風險,請在你的網頁產生後把它設為唯讀。"
877
 
878
+ #: wp-cache.php:1297
879
  msgid "%s is writable. Please make it readonly after your page is generated as this is a security risk."
880
  msgstr "%s 可寫入。由於這牽涉到一個安全風險,請在你的網頁產生後把它設為唯讀。"
881
 
882
+ #: wp-cache.php:1311
883
  msgid "Existing direct page"
884
  msgstr "已存在的直接頁面"
885
 
886
+ #: wp-cache.php:1311
887
  msgid "Delete cached file"
888
  msgstr "刪除快取檔案"
889
 
890
+ #: wp-cache.php:1316
891
  msgid "Add direct page:"
892
  msgstr "新增直接頁面:"
893
 
894
+ #: wp-cache.php:1318
895
  msgid "Directly cached files are files created directly off %s where your blog lives. This feature is only useful if you are expecting a major Digg or Slashdot level of traffic to one post or page."
896
  msgstr "直接快取檔案是從你的部落格 %s 產生直接建立的檔案。這項功能只在你預測將會有從 Digg 或 Slashdot 大量流量進入某篇文章或頁面時才有用。"
897
 
898
+ #: wp-cache.php:1320
899
  msgid "For example: to cache <em>%1$sabout/</em>, you would enter %1$sabout/ or /about/. The cached file will be generated the next time an anonymous user visits that page."
900
  msgstr "舉例來說:快取 <em>%1$sabout/</em>, 你應該輸入 %1$sabout/ 或 /about/ 。快取檔案將在下一個匿名使用者訪問該頁面時產生。"
901
 
902
+ #: wp-cache.php:1321
903
  msgid "Make the textbox blank to remove it from the list of direct pages and delete the cached file."
904
  msgstr "將輸入框清空,就能將它從直接頁面清單中移除並刪除快取檔案。"
905
 
906
+ #: wp-cache.php:1326
907
  msgid "Update Direct Pages"
908
  msgstr "更新直接頁面"
909
 
910
+ #: wp-cache.php:1364
 
 
 
 
 
911
  msgid "Expiry Time &amp; Garbage Collection"
912
+ msgstr "過期時間 &amp; 垃圾收集"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
913
 
914
+ #: wp-cache.php:1366
915
+ msgid "Expire time:"
916
+ msgstr "過期時間:"
917
 
918
+ #: wp-cache.php:1367
 
919
  msgid "seconds"
920
  msgstr "秒"
921
 
922
+ #: wp-cache.php:1368
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
923
  msgid "Garbage Collection"
924
+ msgstr "垃圾收集"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
925
 
926
+ #: wp-cache.php:1368
927
+ msgid "If the expiry time is more than 1800 seconds (half an hour), garbage collection will be done every 10 minutes, otherwise it will happen 10 seconds after the expiry time above."
928
+ msgstr "如果過期時間大於1800秒(半個小時),垃圾回收會每10分鐘進行一次,否則就會在設定到期時間的10秒後進行清理。"
929
 
930
+ #: wp-cache.php:1369
931
+ msgid "Checking for and deleting expired files is expensive, but it&#8217;s expensive leaving them there too. On a very busy site you should set the expiry time to <em>300 seconds</em>. Experiment with different values and visit this page to see how many expired files remain at different times during the day. If you are using legacy caching aim to have less than 500 cached files if possible. You can have many times more cached files when using mod_rewrite or PHP caching."
932
+ msgstr "檢查和刪除過期檔案代價高昂,但把這些檔案留在那裡也一樣。在非常忙碌的網站,你應該將過期時間設定為 <em>300 秒</em>。嘗試使用不同的數值,並注意這些頁面一天裡在不同時段產生多少過期檔案,如果可能的話盡量不讓快取文件數多於500個。"
933
 
934
+ #: wp-cache.php:1370
 
 
 
 
 
 
 
 
 
 
 
 
935
  msgid "Set the expiry time to 0 seconds to disable garbage collection."
936
+ msgstr "把過期時間設定為0以關閉垃圾回收功能"
937
 
938
+ #: wp-cache.php:1371
939
  msgid "Change Expiration"
940
  msgstr "變更過期時間"
941
 
942
+ #: wp-cache.php:1415
943
  msgid "Rejected User Agents"
944
  msgstr "被拒絕的使用者代理(User Agents)"
945
 
946
+ #: wp-cache.php:1416
947
  msgid "Strings in the HTTP &#8217;User Agent&#8217; header that prevent WP-Cache from caching bot, spiders, and crawlers&#8217; requests. Note that super cached files are still sent to these agents if they already exists."
948
  msgstr "HTTP User Agent;防止快取機器人、蜘蛛或抓取器對於 WP-Cache 的請求。請注意,如果快取檔案已經存在,仍然會發送給這些代理。"
949
 
950
+ #: wp-cache.php:1423
951
  msgid "Save UA Strings"
952
+ msgstr "儲存UA字串"
953
 
954
+ #: wp-cache.php:1446
955
  msgid "Do not cache the following page types. See the <a href=\"http://codex.wordpress.org/Conditional_Tags\">Conditional Tags</a> documentation for a complete discussion on each type."
956
  msgstr "不快取以下頁面類型。查看<a href=\"http://codex.wordpress.org/Conditional_Tags\">條件標籤</a>文件中對每個類型的完整探討。"
957
 
958
+ #: wp-cache.php:1449
959
  msgid "Single Posts"
960
  msgstr "單篇文章"
961
 
962
+ #: wp-cache.php:1450
963
  msgid "Pages"
964
  msgstr "網誌分頁"
965
 
966
+ #: wp-cache.php:1451
967
  msgid "Front Page"
968
  msgstr "首頁"
969
 
970
+ #: wp-cache.php:1452
971
  msgid "Home"
972
  msgstr "主頁"
973
 
974
+ #: wp-cache.php:1453
975
  msgid "Archives"
976
  msgstr "存檔"
977
 
978
+ #: wp-cache.php:1454
979
  msgid "Tags"
980
  msgstr "標籤"
981
 
982
+ #: wp-cache.php:1455
983
  msgid "Category"
984
  msgstr "分類"
985
 
986
+ #: wp-cache.php:1456
987
  msgid "Feeds"
988
  msgstr "訂閱"
989
 
990
+ #: wp-cache.php:1457
991
  msgid "Search Pages"
992
  msgstr "搜尋頁面"
993
 
994
+ #: wp-cache.php:1459
995
+ #: wp-cache.php:1573
 
 
 
 
996
  msgid "Save"
997
  msgstr "儲存"
998
 
999
+ #: wp-cache.php:1476
1000
  msgid "Add here strings (not a filename) that forces a page not to be cached. For example, if your URLs include year and you dont want to cache last year posts, it&#8217;s enough to specify the year, i.e. &#8217;/2004/&#8217;. WP-Cache will search if that string is part of the URI and if so, it will not cache that page."
1001
+ msgstr "在下方輸入框內新增字串(不是檔案名稱),控制頁面是否被快取。舉例來說,如果你的URL中包含年份,但你不想快取去年的文章,那麼就指定年份,例如 &#8217;/2004/&#8217; 。WP-Cache 將會搜尋這個字串是否包含在URI之中,如果是的話則不會快取這個頁面。"
1002
 
1003
+ #: wp-cache.php:1482
1004
  msgid "Save Strings"
1005
  msgstr "儲存字串"
1006
 
1007
+ #: wp-cache.php:1498
1008
  msgid "Add here those filenames that can be cached, even if they match one of the rejected substring specified above."
1009
  msgstr "這是可以被快取的檔案名,即使它們與上方設定的拒絕字串相符時也仍將被快取。"
1010
 
1011
+ #: wp-cache.php:1504
1012
  msgid "Save Files"
1013
  msgstr "儲存檔案"
1014
 
1015
+ #: wp-cache.php:1545
1016
  msgid "Currently logging to: %s"
1017
+ msgstr "當前記錄到:%s"
1018
 
1019
+ #: wp-cache.php:1548
1020
  msgid "Fix problems with the plugin by debugging it here. It can log them to a file in your cache directory."
1021
+ msgstr "在這裡使用外掛除錯模式解決問題。它可以在你的快取目錄內產生的紀錄檔。"
1022
 
1023
+ #: wp-cache.php:1552
1024
  msgid "Debugging"
1025
  msgstr "除錯"
1026
 
1027
+ #: wp-cache.php:1552
1028
+ #: plugins/awaitingmoderation.php:40
1029
+ #: plugins/badbehaviour.php:71
1030
+ #: plugins/searchengine.php:69
1031
+ #: plugins/domain-mapping.php:66
1032
+ msgid "enabled"
1033
+ msgstr "已啟用"
1034
+
1035
+ #: wp-cache.php:1553
1036
  msgid "IP Address"
1037
  msgstr "IP位址"
1038
 
1039
+ #: wp-cache.php:1553
1040
  msgid "(only log requests from this IP address. Your IP is %s)"
1041
  msgstr "(僅記錄來自此IP位址的請求。你的 IP 是 %s)"
1042
 
1043
+ #: wp-cache.php:1554
1044
+ msgid "Log level"
1045
+ msgstr "記錄等級"
1046
 
1047
+ #: wp-cache.php:1560
1048
+ msgid "(1 = less, 5 = more, may cause severe server load.)"
1049
+ msgstr "(1 = 低,5 = 更多,可能會導致嚴重的伺服器負載)"
1050
 
1051
+ #: wp-cache.php:1563
1052
  msgid "In very rare cases two problems may arise on some blogs:<ol><li> The front page may start downloading as a zip file.</li><li> The wrong page is occasionally cached as the front page if your blog uses a static front page and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>"
1053
+ msgstr "在極少數的部落格可能會出現兩個問題:<ol><li>在首頁可能會以一個 zip 檔案開始下載。</li><li>如果你的部落格使用一個靜態的首頁,或以 <em>/%category%/%postname%/</em> 作為固定連結架構的話,那麼錯誤的頁面有時候會變成首頁的快取畫面。</li></ol>"
1054
 
1055
+ #: wp-cache.php:1564
1056
  msgid "I&#8217;m 99% certain that they aren&#8217;t bugs in WP Super Cache and they only happen in very rare cases but you can run a simple check once every 5 minutes to verify that your site is ok if you&#8217;re worried. You will be emailed if there is a problem."
1057
  msgstr "我有十足的把握肯定,它們不是 WP Super Cache 的錯誤。它只會發生在極少數的情況下,但如果你擔心的話,你可以每5分鐘進行一次簡單的檢查,以確保你的網站是正常的。如果有問題,你將會收到電子郵件。"
1058
 
1059
+ #: wp-cache.php:1566
1060
  msgid "Check front page every 5 minutes."
1061
  msgstr "每五分鐘檢查首頁"
1062
 
1063
+ #: wp-cache.php:1567
1064
  msgid "Front page text"
1065
  msgstr "首頁文字"
1066
 
1067
+ #: wp-cache.php:1567
1068
  msgid "Text to search for on your front page. If this text is missing the cache will be cleared. Leave blank to disable."
1069
  msgstr "在你的首頁裡要搜尋的文字。如果缺少這些文字時快取將被清除。保留空白停用這個功能。"
1070
 
1071
+ #: wp-cache.php:1568
1072
  msgid "Clear cache on error."
1073
  msgstr "清除快取時發生錯誤。"
1074
 
1075
+ #: wp-cache.php:1569
1076
  msgid "Email the blog admin when checks are made. (useful for testing)"
1077
  msgstr "當檢查時寄送電子郵件給網站管理員。(供測試用)"
1078
 
1079
+ #: wp-cache.php:1583
1080
  msgid "Error: GZIP compression is enabled, disable it if you want to enable wp-cache."
1081
+ msgstr "錯誤:GZIP壓縮已啟用,如果你想啟用wp-cache,請停用它。"
1082
 
1083
+ #: wp-cache.php:1630
1084
+ #: wp-cache.php:1796
 
1085
  msgid "Warning"
1086
  msgstr "警告"
1087
 
1088
+ #: wp-cache.php:1630
1089
  msgid "GZIP compression is enabled in WordPress, wp-cache will be bypassed until you disable gzip compression."
1090
+ msgstr "在 WordPress 上GZIP壓縮已啟用,wp-cache將被繞過,直到你停用gzip壓縮。"
1091
 
1092
+ #: wp-cache.php:1692
1093
+ #: wp-cache.php:1697
1094
+ #: wp-cache.php:1729
1095
+ #: wp-cache.php:1734
1096
+ #: wp-cache.php:1740
1097
  msgid "Error"
1098
  msgstr "錯誤"
1099
 
1100
+ #: wp-cache.php:1692
1101
  msgid "Your cache directory (<strong>%1$s</strong>) did not exist and couldn&#8217;t be created by the web server. Check %1$s permissions."
1102
  msgstr "你的快取目錄(<strong>%1$s</strong>)不存在,且無法從伺服器端建立。請檢查 %1$s 權限。"
1103
 
1104
+ #: wp-cache.php:1697
1105
  msgid "Your cache directory (<strong>%1$s</strong>) or <strong>%2$s</strong> need to be writable for this plugin to work. Double-check it."
1106
  msgstr "你的快取目錄(<strong>%1$s</strong>)或 <strong>%2$s</strong> 必須讓外掛可寫入才能正常運作。請重新檢查一次。"
1107
 
1108
+ #: wp-cache.php:1729
1109
  msgid "Your WP-Cache config file (<strong>%s</strong>) is out of date and not writable by the Web server.Please delete it and refresh this page."
1110
  msgstr "你的 WP-Cache 設定檔(<strong>%s</strong>)已經過期,且無法由伺服器端寫入,請刪除它並重新整理此頁面。"
1111
 
1112
+ #: wp-cache.php:1734
1113
  msgid "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is not writable by the Web server.Check its permissions."
1114
  msgstr "設定檔遺失,%1$s 目錄(<strong>%2$s</strong>)也無法被伺服器寫入。請檢查權限。"
1115
 
1116
+ #: wp-cache.php:1740
1117
  msgid "Sample WP-Cache config file (<strong>%s</strong>) does not exist.Verify you installation."
1118
  msgstr "WP-Cache 設定檔範本(<strong>%s</strong>)不存在。請確認你的安裝。"
1119
 
1120
+ #: wp-cache.php:1796
 
 
 
 
1121
  msgid "%s/advanced-cache.php</em> does not exist or cannot be updated."
1122
  msgstr "%s/advanced-cache.php</em> 不存在或是無法更新。"
1123
 
1124
+ #: wp-cache.php:1797
1125
  msgid "1. If it already exists please delete the file first."
1126
  msgstr "1. 如果它已經存在,請先刪除。"
1127
 
1128
+ #: wp-cache.php:1798
1129
  msgid "2. Make %1$s writable using the chmod command through your ftp or server software. (<em>chmod 777 %1$s</em>) and refresh this page. This is only a temporary measure and you&#8217;ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)"
1130
+ msgstr "2. 請使用你的FTP程式或伺服器軟體,以chmod指令使%1$s可寫入。(<em>chmod 777 %1$s</em>),並重新整理此頁面。這只是一個暫時的作法,你事後必須在把它變更為唯讀。(使用前面的指令將權限從 777 變更為 755)"
1131
 
1132
+ #: wp-cache.php:1799
1133
  msgid "3. Refresh this page to update <em>%s/advanced-cache.php</em>"
1134
  msgstr "3. 重新整理此頁面以更新 <em>%s/advanced-cache.php</em>"
1135
 
1136
+ #: wp-cache.php:1800
1137
  msgid "If that doesn&#8217;t work, make sure the file <em>%s/advanced-cache.php</em> doesn&#8217;t exist:"
1138
  msgstr "如果無法運作,請確認 <em>%s/advanced-cache.php</em> 檔案不存在:"
1139
 
1140
+ #: wp-cache.php:1801
1141
  msgid "<li>1. Open <em>%1$s$wp_cache_file</em> in a text editor.</li><li>2. Change the text <em>CACHEHOME</em> to <em>%2$s</em></li><li>3. Save the file and copy it to <em>%3$s</em> and refresh this page.</li>"
1142
  msgstr "<li>1. 以文字編輯器開啟 <em>%1$s$wp_cache_file</em>。</li><li>2. 將 <em>CACHEHOME</em> 變更為 <em>%2$s</em></li><li>3. 儲存檔案並複製為 <em>%3$s</em>,然後重新整理此頁面。</li>"
1143
 
1144
+ #: wp-cache.php:1824
1145
  msgid "<h3>WP_CACHE constant set to false</h3><p>The WP_CACHE constant is used by WordPress to load the code that serves cached pages. Unfortunately it is set to false. Please edit your wp-config.php and add or edit the following line above the final require_once command:<br /><br /><code>define('WP_CACHE', true);</code></p>"
1146
+ msgstr "<h3>WP_CACHE變數被設為false</h3><p>WP_CACHE變數被WordPress用來載入快取程式,可是它被設為false(關閉)。請編輯你的wp-config.php檔並把以下的內容放在最後的require_once命令之前。<br /><br /><code>define('WP_CACHE', true);</code></p>"
1147
 
1148
+ #: wp-cache.php:1826
1149
  msgid "<strong>Error: WP_CACHE is not enabled</strong> in your <code>wp-config.php</code> file and I couldn&#8217;t modify it."
1150
  msgstr "<strong>錯誤:</strong>在你的 <code>wp-config.php</code> 檔案裡 <strong>WP_CACHE 是停用狀態</strong>,且無法修改。"
1151
 
1152
+ #: wp-cache.php:1827
1153
  msgid "Edit <code>%s</code> and add the following line:<br /> <code>define('WP_CACHE', true);</code><br />Otherwise, <strong>WP-Cache will not be executed</strong> by WordPress core. "
1154
  msgstr "編輯 <code>%s</code> 並加入以下原始碼:<br /> <code>define('WP_CACHE', true);</code><br />否則,<strong>WP-Cache 將無法被 WordPress 核心執行</strong>。"
1155
 
1156
+ #: wp-cache.php:1831
1157
+ msgid "<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see this warning message please see point 5 of the <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a>. The WP_CACHE line must be moved up."
1158
+ msgstr "<h3>WP_CACHE 不斷被新增到 wp-config.php</h3><p>如果你持續看到此警告訊息,請參閱 <a href=\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> 第五點。WP_CACHE 原始碼必須往前移動。"
1159
 
1160
+ #: wp-cache.php:1855
1161
  msgid "Cache Contents"
1162
  msgstr "快取內容"
1163
 
1164
+ #: wp-cache.php:1858
1165
  msgid "Object cache in use. No cache listing available."
1166
+ msgstr "正在使用Object快取。無法顯示快取清單。"
1167
 
1168
+ #: wp-cache.php:1882
1169
  msgid "Deleting supercache file: <strong>%s</strong><br />"
1170
+ msgstr "刪除supercache檔案:<strong>%s</strong><br />"
1171
 
1172
+ #: wp-cache.php:1899
1173
  msgid "Deleting wp-cache file: <strong>%s</strong><br />"
1174
+ msgstr "刪除wp-cache檔案:<strong>%s</strong><br />"
1175
 
1176
+ #: wp-cache.php:1964
1177
  msgid "Cache stats are not automatically generated. You must click the link below to regenerate the stats on this page."
1178
  msgstr "快取統計不會自動產生,你必須點擊以下的連結,本頁的統計資料才會重新產生。"
1179
 
1180
+ #: wp-cache.php:1965
1181
  msgid "Regenerate cache stats"
1182
  msgstr "重新產生快取統計"
1183
 
1184
+ #: wp-cache.php:1967
1185
  msgid "Cache stats last generated: %s minutes ago."
1186
  msgstr "快取統計最後產生時間:%s分鐘以前。"
1187
 
1188
+ #: wp-cache.php:1973
1189
  msgid "WP-Cache"
1190
  msgstr "WP-Cache"
1191
 
1192
+ #: wp-cache.php:1974
1193
+ #: wp-cache.php:1989
1194
  msgid "%s Cached Pages"
1195
  msgstr "%s 個頁面已快取"
1196
 
1197
+ #: wp-cache.php:1975
1198
+ #: wp-cache.php:1994
1199
  msgid "%s Expired Pages"
1200
  msgstr "%s 個頁面已過期"
1201
 
1202
+ #: wp-cache.php:1988
1203
  msgid "WP-Super-Cache"
1204
  msgstr "WP-Super-Cache"
1205
 
1206
+ #: wp-cache.php:1998
1207
  msgid "Fresh WP-Cached Files"
1208
+ msgstr "新的 WP-Cached 檔案"
1209
 
1210
+ #: wp-cache.php:1999
1211
+ #: wp-cache.php:2015
1212
+ #: wp-cache.php:2031
1213
+ #: wp-cache.php:2047
1214
  msgid "URI"
1215
  msgstr "URI 網址"
1216
 
1217
+ #: wp-cache.php:1999
1218
+ #: wp-cache.php:2015
1219
  msgid "Key"
1220
  msgstr "關鍵字"
1221
 
1222
+ #: wp-cache.php:1999
1223
+ #: wp-cache.php:2015
1224
+ #: wp-cache.php:2031
1225
+ #: wp-cache.php:2047
1226
  msgid "Age"
1227
  msgstr "時間(秒)"
1228
 
1229
+ #: wp-cache.php:1999
1230
+ #: wp-cache.php:2015
1231
+ #: wp-cache.php:2031
1232
+ #: wp-cache.php:2047
1233
  msgid "Delete"
1234
  msgstr "刪除"
1235
 
1236
+ #: wp-cache.php:2014
1237
  msgid "Stale WP-Cached Files"
1238
+ msgstr "舊的 WP-Cached 檔案"
1239
 
1240
+ #: wp-cache.php:2030
1241
  msgid "Fresh Super Cached Files"
1242
+ msgstr "新的 Super Cached 檔案"
1243
 
1244
+ #: wp-cache.php:2046
1245
  msgid "Stale Super Cached Files"
1246
+ msgstr "舊的 Super Cached 檔案"
1247
 
1248
+ #: wp-cache.php:2062
1249
  msgid "Hide file list"
1250
  msgstr "隱藏檔案清單"
1251
 
1252
+ #: wp-cache.php:2064
1253
  msgid "Too many cached files, no listing possible."
1254
  msgstr "快取檔案過多,無法列出。"
1255
 
1256
+ #: wp-cache.php:2066
1257
  msgid "List all cached files"
1258
  msgstr "列出所有快取檔案"
1259
 
1260
+ #: wp-cache.php:2072
1261
+ msgid "<strong>Garbage Collection</strong><br />Last GC was <strong>%s</strong> minutes ago<br />"
1262
+ msgstr "<strong>垃圾收集</strong><br />上次垃圾收集於 <strong>%s</strong> 分鐘前<br />"
1263
+
1264
+ #: wp-cache.php:2073
1265
+ msgid "Next GC in <strong>%s</strong> minutes"
1266
+ msgstr "下次垃圾收集於 <strong>%s</strong> 分鐘後"
1267
+
1268
+ #: wp-cache.php:2076
1269
  msgid "Expired files are files older than %s seconds. They are still used by the plugin and are deleted periodically."
1270
  msgstr "過期檔案是超過 %s 秒鐘的檔案。它們仍然會被外掛使用並會定期刪除。"
1271
 
1272
+ #: wp-cache.php:2087
1273
  msgid "Delete Expired"
1274
  msgstr "刪除過期檔案"
1275
 
1276
+ #: wp-cache.php:2105
1277
  msgid "Delete Super Cache cached files (opens in new window)"
1278
  msgstr "刪除 Super Cache 快取檔案(在新視窗打開)"
1279
 
1280
+ #: wp-cache.php:2244
1281
+ msgid "%1$s is Digg proof thanks to caching by %2$s"
1282
  msgstr "%1$s 使用的快取程式為 %2$s"
1283
 
1284
+ #: wp-cache.php:2277
1285
  msgid "WP Super Cache must be configured. Go to <a href=\"%s\">the admin page</a> to enable and configure the plugin."
1286
  msgstr "WP Super Cache 必須設定。請前往<a href=\"%s\">管理後台</a>啟用和設定外掛。"
1287
 
1288
+ #: wp-cache.php:2283
1289
  msgid "Settings"
1290
  msgstr "設定"
1291
 
1292
+ #: wp-cache.php:2293
1293
  msgid "WP Super Cache is disabled. Please go to the <a href=\"%s\">plugin admin page</a> to enable caching."
1294
  msgstr "WP Super Cache 停用。請前往 <a href=\"%s\">外掛管理員</a>啟用快取。"
1295
 
1296
+ #: wp-cache.php:2296
1297
  msgid "Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.<br /><br />Please edit %1$s/advanced-cache.php and make sure the path to %2$swp-cache-phase1.php is correct."
1298
+ msgstr "警告! WP Super Cache快取毀損! advanced-cache.php 腳本無法載入 wp-cache-phase1.php。<br /><br />請編輯 %1$s/advanced-cache.php 並且確認指向 %2$swp-cache-phase1.php 的路徑是正確的。"
1299
 
1300
+ #: wp-cache.php:2315
1301
  msgid "[%s] Front page is gzipped! Please clear cache!"
1302
+ msgstr "[%s] 首頁已使用gzip壓縮!請清除快取!"
1303
 
1304
+ #: wp-cache.php:2315
1305
  msgid "Please visit %s to clear the cache as the front page of your site is now downloading!"
1306
  msgstr "請前往 %s 清除快取,網站的首頁正在下載!"
1307
 
1308
+ #: wp-cache.php:2318
1309
  msgid "[%s] Front page is gzipped! Cache Cleared!"
1310
+ msgstr "[%s] 首頁已使用gzip壓縮!快取已清除!"
1311
 
1312
+ #: wp-cache.php:2318
1313
  msgid "The cache on your blog has been cleared because the front page of your site is now downloading. Please visit %s to verify the cache has been cleared."
1314
  msgstr "你的部落格快取已被清除。因為你的部落格首頁正在下載,請前往 %s 確認快取已被清除。"
1315
 
1316
+ #: wp-cache.php:2325
1317
  msgid "[%s] Front page is not correct! Please clear cache!"
1318
  msgstr "[%s] 首頁不正確!請清除快取!"
1319
 
1320
+ #: wp-cache.php:2325
1321
  msgid "Please visit %1$s to clear the cache as the front page of your site is not correct and missing the text, \"%2$s\"!"
1322
+ msgstr "請前往 %1$s 清除快取,部落格的首頁不正確,遺失文字,\"%2$s\"!"
1323
 
1324
+ #: wp-cache.php:2328
1325
  msgid "[%s] Front page is not correct! Cache Cleared!"
1326
  msgstr "[%s] 首頁不正確!快取已清除!"
1327
 
1328
+ #: wp-cache.php:2328
1329
  msgid "The cache on your blog has been cleared because the front page of your site is missing the text \"%2$s\". Please visit %1$s to verify the cache has been cleared."
1330
  msgstr "你的部落格已被清除快取,因為你的部落格首頁缺少文字 \"%2$s\"。請前往 %1$s 確認快取已被清除。"
1331
 
1332
+ #: wp-cache.php:2333
1333
  msgid "[%s] Front page check!"
1334
  msgstr "[%s] 首頁檢查!"
1335
 
1336
+ #: wp-cache.php:2333
1337
  msgid "WP Super Cache has checked the front page of your blog. Please visit %s if you would like to disable this."
1338
  msgstr "WP Super Cache 已檢查過你部落格的首頁。如果你想停用這項功能,請前往 %s 。"
1339
 
1340
+ #: wp-cache.php:2376
1341
  msgid "Cannot update .htaccess"
1342
  msgstr "無法更新 .htaccess"
1343
 
1344
+ #: wp-cache.php:2376
1345
  msgid "The file <code>%s.htaccess</code> cannot be modified by the web server. Please correct this using the chmod command or your ftp client."
1346
  msgstr "<code>%s.htaccess</code> 檔案無法被網頁伺服器更新。請使用 chmod 指令或透過 FTP 程式修正。"
1347
 
1348
+ #: wp-cache.php:2376
1349
  msgid "Refresh this page when the file permissions have been modified."
1350
  msgstr "在權限修改後請重新整理這個頁面。"
1351
 
1352
+ #: wp-cache.php:2376
1353
  msgid "Alternatively, you can edit your <code>%s.htaccess</code> file manually and add the following code (before any WordPress rules):"
1354
  msgstr "或者,你可以手動編輯 <code>%s.htaccess</code> 檔案並加入以下原始碼(在任何 WordPress 規則前):"
1355
 
1356
+ #: wp-cache.php:2380
1357
  msgid "To serve static html files your server must have the correct mod_rewrite rules added to a file called <code>%s.htaccess</code>"
1358
+ msgstr "為了使用靜態的HTML檔案,你的伺服器上必須有正確的mod_rewrite規則,新增到一個名為 <code>%s.htaccess</code> 的檔案。"
1359
 
1360
+ #: wp-cache.php:2381
1361
  msgid "You can edit the file yourself add the following rules."
1362
  msgstr "你可以自行編輯並新增以下規則。"
1363
 
1364
+ #: wp-cache.php:2382
1365
  msgid " Make sure they appear before any existing WordPress rules. "
1366
  msgstr "確認它們出現在任何已存在的 WordPress 規則之前。"
1367
 
1368
+ #: wp-cache.php:2390
1369
  msgid "Update Mod_Rewrite Rules"
1370
  msgstr "更新 Mod_Rewrite 規則"
1371
 
1372
+ #: wp-cache.php:2515
1373
  msgid "[%1$s] Cache Preload Started"
1374
  msgstr "[%1$s] 快取預載已經開始"
1375
 
1376
+ #: wp-cache.php:2517
 
 
 
 
1377
  msgid "[%1$s] Refreshing posts from %2$d to %3$d"
1378
  msgstr "[%1$s] 更新第 %2$d 到第 %3$d 篇文章"
1379
 
1380
+ #: wp-cache.php:2535
1381
  msgid "[%1$s] Cache Preload Stopped"
1382
  msgstr "[%1$s] 快取預載已停止"
1383
 
1384
+ #: wp-cache.php:2544
1385
  msgid "[%1$s] %2$d posts refreshed"
1386
  msgstr "[%1$s]%2$d 篇文章已被更新"
1387
 
1388
+ #: wp-cache.php:2544
1389
  msgid "Refreshed the following posts:"
1390
  msgstr "已更新下列文章:"
1391
 
1392
+ #: wp-cache.php:2553
1393
  msgid "Scheduling next preload refresh in %d minutes."
1394
  msgstr "下次更新預載快取時間:%d分鐘後"
1395
 
1396
+ #: wp-cache.php:2563
1397
  msgid "[%s] Cache Preload Completed"
1398
  msgstr "[%s] 預載快取完成"
1399
 
1400
+ #: wp-cache.php:2563
1401
  msgid "Cleaning up old supercache files."
1402
+ msgstr "清除舊的supercache檔案。"
1403
 
1404
+ #: wp-cache.php:2605
1405
  msgid "[%s] Preload may have stalled."
1406
  msgstr "[%s] 預先載入可能已經停止"
1407
 
1408
+ #: wp-cache.php:2605
1409
  msgid ""
1410
  "Preload has been restarted.\n"
1411
  "%s"
1413
  "預先載入已經被重新啟動.\n"
1414
  "%s"
1415
 
1416
+ #: wp-cache.php:2648
1417
  msgid "Supercache Uninstall Problems"
1418
+ msgstr "Supercache反安裝問題"
1419
 
1420
+ #: wp-cache.php:2648
1421
  msgid ""
1422
  "Dear User,\n"
1423
  "\n"
1435
  msgstr ""
1436
  "親愛的使用者,\n"
1437
  "\n"
1438
+ "WP Super Cache已從你的部落格被移除,但是.htaccess中的\n"
1439
  "mod_rewrite規則仍然存在。\n"
1440
  "\n"
1441
+ "請編輯下列檔案並移除'BEGIN WPSuperCache'及'END WPSupercache'之間的原始碼。\n"
1442
  "請先備份這個檔案!\n"
1443
  "\n"
1444
  "%s\n"
1445
  "\n"
1446
+ "WP Super Cache Plugin敬上\n"
1447
  "http://wordpress.org/extend/plugins/wp-super-cache/"
1448
 
1449
+ #: plugins/awaitingmoderation.php:4
1450
+ msgid "Your comment is awaiting moderation."
1451
+ msgstr "您的迴響正等待審核中。"
1452
 
1453
+ #: plugins/awaitingmoderation.php:32
1454
+ msgid "Awaiting Moderation"
1455
+ msgstr "Awaiting Moderation"
 
 
 
 
 
 
1456
 
1457
+ #: plugins/awaitingmoderation.php:36
1458
+ msgid "Enables or disables plugin to Remove the text \"Your comment is awaiting moderation.\" when someone leaves a moderated comment."
1459
+ msgstr "啟動或關閉此外掛,決定當有人發佈需審核的迴響時,是否去除「您的迴響正等待審核中」字樣。"
1460
 
1461
+ #: plugins/awaitingmoderation.php:42
1462
+ #: plugins/badbehaviour.php:73
1463
+ #: plugins/searchengine.php:67
1464
+ #: plugins/domain-mapping.php:68
1465
+ msgid "disabled"
1466
+ msgstr "已停用"
1467
 
1468
+ #: plugins/awaitingmoderation.php:43
1469
+ msgid "Awaiting Moderation is now %s"
1470
+ msgstr "Awaiting Moderation 外掛模組 %s"
 
 
 
1471
 
1472
+ #: plugins/awaitingmoderation.php:45
1473
+ #: plugins/badbehaviour.php:76
1474
+ #: plugins/domain-mapping.php:71
1475
+ msgid "Update"
1476
+ msgstr "更新"
1477
 
1478
+ #: plugins/badbehaviour.php:47
1479
+ msgid "Bad Behaviour not found. Please check your install."
1480
+ msgstr "找不到 Bad Behaviour. 請檢查你的安裝。"
1481
 
1482
+ #: plugins/badbehaviour.php:63
1483
+ msgid "Bad Behavior"
1484
+ msgstr "Bad Behavior"
 
 
 
1485
 
1486
+ #: plugins/badbehaviour.php:68
1487
+ msgid "(Only legacy caching supported, disabled compression and requires <a href=\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> in \"%s/plugins/bad-behavior/\") "
1488
+ msgstr "(只支援傳統模式,停用壓縮,<a href=\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> 路徑必須為 \"%s/plugins/bad-behavior/\")"
1489
 
1490
+ #: plugins/badbehaviour.php:74
1491
+ msgid "Bad Behavior support is now %s"
1492
+ msgstr "Bad Behaviour 外掛模組 %s"
1493
 
1494
+ #: plugins/searchengine.php:71
1495
+ msgid "<a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">No Adverts for Friends</a> plugin is %s."
1496
+ msgstr "<a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">No Adverts for Friends</a> 外掛模組 %s"
1497
+
1498
+ #: plugins/searchengine.php:72
1499
+ msgid "(requires <a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">friendsadverts.php</a> too) "
1500
+ msgstr "(必須有 <a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">friendsadverts.php</a>)"
1501
+
1502
+ #: plugins/domain-mapping.php:58
1503
+ msgid "Domain Mapping"
1504
+ msgstr "Domain Mapping"
1505
+
1506
+ #: plugins/domain-mapping.php:63
1507
+ msgid "Provides support for <a href=\"http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/\">Domain Mapping</a> plugin to map multiple domains to a blog."
1508
+ msgstr "<a href=\"http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/\">Domain Mapping</a>外掛支援,映射多個網域至一個blog。"
1509
+
1510
+ #: plugins/domain-mapping.php:69
1511
+ msgid "Domain Mapping support is now %s"
1512
+ msgstr "Domain Mapping 外掛模組 %s"
1513
+
1514
+ #: plugins/domain-mapping.php:83
1515
+ msgid "Domain Mapping plugin detected! Please go to the Supercache plugins page and enable the domain mapping helper plugin."
1516
+ msgstr "Domain Mapping外掛模組已被偵測到!請到Supercache外掛頁面啟用domain mapping支援外掛。"
1517
 
1518
  #~ msgid "Tester & Contents"
1519
  #~ msgstr "測試及內容"
1539
  #~ msgid "file"
1540
  #~ msgstr "檔案"
1541
 
1542
+ #~ msgid ""
1543
+ #~ "Scheduled preloading of cache cancelled. If a job is currently running it "
1544
+ #~ "will not shutdown until the current 100 pages are complete."
1545
+ #~ msgstr ""
1546
+ #~ "預載快取排程已取消。如果一個排程正在執行中,它會在目前的100頁執行完畢之後"
1547
+ #~ "才結束。"
1548
+
1549
  #~ msgid "(support for multiple domains on multisite websites) "
1550
  #~ msgstr "(在多站台網站上,支援複數網域名稱)"
ossdl-cdn.php CHANGED
@@ -14,8 +14,6 @@ if ( get_option( 'ossdl_off_exclude' ) == false )
14
  add_option('ossdl_off_exclude', '.php');
15
  $ossdl_off_exclude = trim(get_option('ossdl_off_exclude'));
16
  $arr_of_excludes = array_map('trim', explode(',', $ossdl_off_exclude));
17
- if ( !is_array( $arr_of_excludes ) )
18
- $arr_of_excludes = array();
19
 
20
  if ( get_option( 'ossdl_cname' ) == false )
21
  add_option('ossdl_cname', '');
@@ -67,7 +65,7 @@ function scossdl_off_rewriter($match) {
67
  if ( false == in_array( $ossdl_off_cdn_url, $arr_of_cnames ) )
68
  $arr_of_cnames[] = $ossdl_off_cdn_url;
69
 
70
- if ( scossdl_off_exclude_match( $match[0], $arr_of_excludes ) ) {
71
  return $match[0];
72
  } else {
73
  $include_dirs = scossdl_off_additional_directories();
@@ -149,6 +147,7 @@ function scossdl_off_options() {
149
  $example_cdn_uri .= '/wp-includes/js/prototype.js';
150
  ?>
151
  <p><?php _e( 'Your website probably uses lots of static files. Image, Javascript and CSS files are usually static files that could just as easily be served from another site or CDN. Therefore this plugin replaces any links in the <code>wp-content</code> and <code>wp-includes</code> directories (except for PHP files) on your site with the URL you provide below. That way you can either copy all the static content to a dedicated host or mirror the files to a CDN by <a href="http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull+work%3F" target="_blank">origin pull</a>.', 'wp-super-cache' ); ?></p>
 
152
  <p><?php printf( __( '<strong style="color: red">WARNING:</strong> Test some static urls e.g., %s to ensure your CDN service is fully working before saving changes.', 'wp-super-cache' ), '<code>' . $example_cdn_uri . '</code>' ); ?></p>
153
  <p><?php _e( 'You can define different CDN URLs for each site on a multsite network.', 'wp-super-cache' ); ?></p>
154
  <p><form method="post" action="">
@@ -195,7 +194,7 @@ function scossdl_off_options() {
195
  <input type="hidden" name="action" value="update_ossdl_off" />
196
  <p class="submit"><input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" /></p>
197
  </form></p>
198
- <p><?php _e( 'CDN functionality provided by <a href="http://wordpress.org/plugins/ossdl-cdn-off-linker/">OSSDL CDN Off Linker</a> by <a href="http://mark.ossdl.de/">Mark Kubacki</a>', 'wp-super-cache' ); ?></p>
199
  <?php
200
  }
201
  ?>
14
  add_option('ossdl_off_exclude', '.php');
15
  $ossdl_off_exclude = trim(get_option('ossdl_off_exclude'));
16
  $arr_of_excludes = array_map('trim', explode(',', $ossdl_off_exclude));
 
 
17
 
18
  if ( get_option( 'ossdl_cname' ) == false )
19
  add_option('ossdl_cname', '');
65
  if ( false == in_array( $ossdl_off_cdn_url, $arr_of_cnames ) )
66
  $arr_of_cnames[] = $ossdl_off_cdn_url;
67
 
68
+ if (scossdl_off_exclude_match($match[0], $arr_of_excludes)) {
69
  return $match[0];
70
  } else {
71
  $include_dirs = scossdl_off_additional_directories();
147
  $example_cdn_uri .= '/wp-includes/js/prototype.js';
148
  ?>
149
  <p><?php _e( 'Your website probably uses lots of static files. Image, Javascript and CSS files are usually static files that could just as easily be served from another site or CDN. Therefore this plugin replaces any links in the <code>wp-content</code> and <code>wp-includes</code> directories (except for PHP files) on your site with the URL you provide below. That way you can either copy all the static content to a dedicated host or mirror the files to a CDN by <a href="http://knowledgelayer.softlayer.com/questions/365/How+does+Origin+Pull+work%3F" target="_blank">origin pull</a>.', 'wp-super-cache' ); ?></p>
150
+ <p><?php printf( __( 'The <a href="%1$s">CDN Sync Tool</a> plugin will help upload files to Amazon S3/Cloudfront if you would rather not depend on origin pull. See the <a href="%2$s">plugin support forum</a> if you have any queries about this plugin.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/cdn-sync-tool/', 'http://wordpress.org/tags/cdn-sync-tool?forum_id=10' ); ?></p>
151
  <p><?php printf( __( '<strong style="color: red">WARNING:</strong> Test some static urls e.g., %s to ensure your CDN service is fully working before saving changes.', 'wp-super-cache' ), '<code>' . $example_cdn_uri . '</code>' ); ?></p>
152
  <p><?php _e( 'You can define different CDN URLs for each site on a multsite network.', 'wp-super-cache' ); ?></p>
153
  <p><form method="post" action="">
194
  <input type="hidden" name="action" value="update_ossdl_off" />
195
  <p class="submit"><input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" /></p>
196
  </form></p>
197
+ <p><?php _e( 'CDN functionality provided by <a href="http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/">OSSDL CDN Off Linker</a> by <a href="http://mark.ossdl.de/">Mark Kubacki</a>', 'wp-super-cache' ); ?></p>
198
  <?php
199
  }
200
  ?>
plugins/awaitingmoderation.php CHANGED
@@ -16,7 +16,7 @@ add_cacheaction( 'add_cacheaction', 'awaitingmoderation_actions' );
16
  //Your comment is awaiting moderation.
17
  function wp_supercache_awaitingmoderation_admin() {
18
  global $cache_awaitingmoderation, $wp_cache_config_file, $valid_nonce;
19
-
20
  $cache_awaitingmoderation = $cache_awaitingmoderation == '' ? '0' : $cache_awaitingmoderation;
21
 
22
  if(isset($_POST['cache_awaitingmoderation']) && $valid_nonce) {
@@ -28,9 +28,9 @@ function wp_supercache_awaitingmoderation_admin() {
28
  }
29
  $id = 'awaitingmoderation-section';
30
  ?>
31
- <fieldset id="<?php echo $id; ?>" class="options">
32
  <h4><?php _e( 'Awaiting Moderation', 'wp-super-cache' ); ?></h4>
33
- <form name="wp_manager" action="" method="post">
34
  <label><input type="radio" name="cache_awaitingmoderation" value="1" <?php if( $cache_awaitingmoderation ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
35
  <label><input type="radio" name="cache_awaitingmoderation" value="0" <?php if( !$cache_awaitingmoderation ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label>
36
  <p><?php _e( 'Enables or disables plugin to Remove the text "Your comment is awaiting moderation." when someone leaves a moderated comment.', 'wp-super-cache' ); ?></p>
@@ -42,7 +42,7 @@ function wp_supercache_awaitingmoderation_admin() {
42
  $status = __( "disabled" );
43
  echo "<p><strong>" . sprintf( __( "Awaiting Moderation is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
44
  }
45
- echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
46
  wp_nonce_field('wp-cache');
47
  ?>
48
  </form>
16
  //Your comment is awaiting moderation.
17
  function wp_supercache_awaitingmoderation_admin() {
18
  global $cache_awaitingmoderation, $wp_cache_config_file, $valid_nonce;
19
+
20
  $cache_awaitingmoderation = $cache_awaitingmoderation == '' ? '0' : $cache_awaitingmoderation;
21
 
22
  if(isset($_POST['cache_awaitingmoderation']) && $valid_nonce) {
28
  }
29
  $id = 'awaitingmoderation-section';
30
  ?>
31
+ <fieldset id="<?php echo $id; ?>" class="options">
32
  <h4><?php _e( 'Awaiting Moderation', 'wp-super-cache' ); ?></h4>
33
+ <form name="wp_manager" action="<?php echo $_SERVER[ "REQUEST_URI" ]; ?>" method="post">
34
  <label><input type="radio" name="cache_awaitingmoderation" value="1" <?php if( $cache_awaitingmoderation ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
35
  <label><input type="radio" name="cache_awaitingmoderation" value="0" <?php if( !$cache_awaitingmoderation ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label>
36
  <p><?php _e( 'Enables or disables plugin to Remove the text "Your comment is awaiting moderation." when someone leaves a moderated comment.', 'wp-super-cache' ); ?></p>
42
  $status = __( "disabled" );
43
  echo "<p><strong>" . sprintf( __( "Awaiting Moderation is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
44
  }
45
+ echo '<div class="submit"><input ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
46
  wp_nonce_field('wp-cache');
47
  ?>
48
  </form>
plugins/badbehaviour.php CHANGED
@@ -33,7 +33,7 @@ function get_bb_file_loc() {
33
 
34
  function wp_supercache_badbehaviour_admin() {
35
  global $cache_badbehaviour, $wp_cache_config_file, $valid_nonce;
36
-
37
  $cache_badbehaviour = $cache_badbehaviour == '' ? 0 : $cache_badbehaviour;
38
  if ( $cache_badbehaviour == 'no' )
39
  $cache_badbehaviour = 0;
@@ -59,21 +59,21 @@ function wp_supercache_badbehaviour_admin() {
59
  }
60
  $id = 'badbehavior-section';
61
  ?>
62
- <fieldset id="<?php echo $id; ?>" class="options">
63
  <h4><?php _e( 'Bad Behavior', 'wp-super-cache' ); ?></h4>
64
- <form name="wp_manager" action="" method="post">
65
  <label><input type="radio" name="cache_badbehaviour" value="1" <?php if( $cache_badbehaviour ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
66
  <label><input type="radio" name="cache_badbehaviour" value="0" <?php if( !$cache_badbehaviour ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label>
67
  <p><?php _e( '', 'wp-super-cache' ); ?></p><?php
68
  echo '<p>' . sprintf( __( '(Only legacy caching supported, disabled compression and requires <a href="http://www.bad-behavior.ioerror.us/">Bad Behavior</a> in "%s/plugins/bad-behavior/") ', 'wp-super-cache' ), WP_CONTENT_DIR ) . '</p>';
69
- if ( isset( $changed ) && $changed ) {
70
  if ( $cache_badbehaviour )
71
  $status = __( "enabled" );
72
  else
73
  $status = __( "disabled" );
74
  echo "<p><strong>" . sprintf( __( "Bad Behavior support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
75
  }
76
- echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
77
  wp_nonce_field('wp-cache');
78
  ?>
79
  </form>
33
 
34
  function wp_supercache_badbehaviour_admin() {
35
  global $cache_badbehaviour, $wp_cache_config_file, $valid_nonce;
36
+
37
  $cache_badbehaviour = $cache_badbehaviour == '' ? 0 : $cache_badbehaviour;
38
  if ( $cache_badbehaviour == 'no' )
39
  $cache_badbehaviour = 0;
59
  }
60
  $id = 'badbehavior-section';
61
  ?>
62
+ <fieldset id="<?php echo $id; ?>" class="options">
63
  <h4><?php _e( 'Bad Behavior', 'wp-super-cache' ); ?></h4>
64
+ <form name="wp_manager" action="<?php echo $_SERVER[ "REQUEST_URI" ]; ?>" method="post">
65
  <label><input type="radio" name="cache_badbehaviour" value="1" <?php if( $cache_badbehaviour ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
66
  <label><input type="radio" name="cache_badbehaviour" value="0" <?php if( !$cache_badbehaviour ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label>
67
  <p><?php _e( '', 'wp-super-cache' ); ?></p><?php
68
  echo '<p>' . sprintf( __( '(Only legacy caching supported, disabled compression and requires <a href="http://www.bad-behavior.ioerror.us/">Bad Behavior</a> in "%s/plugins/bad-behavior/") ', 'wp-super-cache' ), WP_CONTENT_DIR ) . '</p>';
69
+ if ($changed) {
70
  if ( $cache_badbehaviour )
71
  $status = __( "enabled" );
72
  else
73
  $status = __( "disabled" );
74
  echo "<p><strong>" . sprintf( __( "Bad Behavior support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
75
  }
76
+ echo '<div class="submit"><input ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
77
  wp_nonce_field('wp-cache');
78
  ?>
79
  </form>
plugins/domain-mapping.php CHANGED
@@ -10,7 +10,7 @@ function domain_mapping_gc_cache( $function, $directory ) {
10
  if ( !$siteurl )
11
  return false;
12
 
13
- $protocol = ( isset( $_SERVER['HTTPS' ] ) && 'on' == strtolower( $_SERVER['HTTPS' ] ) ) ? 'https://' : 'http://';
14
  $siteurl = trailingslashit( str_replace( $protocol, '', $siteurl ) );
15
 
16
  if ( $directory == 'homepage' )
@@ -22,32 +22,17 @@ function domain_mapping_gc_cache( $function, $directory ) {
22
  @wp_cache_rebuild_or_delete( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html.gz' );
23
  break;
24
  case "prune":
25
- prune_super_cache( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html', true, true );
26
- prune_super_cache( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html.gz', true, true );
27
  break;
28
  }
29
 
30
  return $directory;
31
  }
32
 
33
- function domain_mapping_supercachedir( $dir ) {
34
- global $cache_path;
35
- if ( !function_exists( 'domain_mapping_warning' ) )
36
- return $dir;
37
-
38
- $siteurl = domain_mapping_siteurl( false );
39
- if ( !$siteurl )
40
- return $dir;
41
-
42
- $protocol = ( isset( $_SERVER['HTTPS' ] ) && 'on' == strtolower( $_SERVER['HTTPS' ] ) ) ? 'https://' : 'http://';
43
- $siteurl = str_replace( $protocol, '', $siteurl );
44
- return $cache_path . 'supercache/' . $siteurl;
45
- }
46
-
47
  function domain_mapping_actions() {
48
  global $cache_domain_mapping;
49
  if( $cache_domain_mapping == '1' ) {
50
- add_filter( 'wp_super_cache_supercachedir', 'domain_mapping_supercachedir' );
51
  add_action( 'gc_cache', 'domain_mapping_gc_cache', 10, 2 );
52
  }
53
  }
@@ -55,7 +40,7 @@ add_cacheaction( 'add_cacheaction', 'domain_mapping_actions' );
55
 
56
  function wp_supercache_domain_mapping_admin() {
57
  global $cache_domain_mapping, $wp_cache_config_file, $valid_nonce;
58
-
59
  $cache_domain_mapping = $cache_domain_mapping == '' ? '0' : $cache_domain_mapping;
60
 
61
  if(isset($_POST['cache_domain_mapping']) && $valid_nonce) {
@@ -69,21 +54,21 @@ function wp_supercache_domain_mapping_admin() {
69
  }
70
  $id = 'domain_mapping-section';
71
  ?>
72
- <fieldset id="<?php echo $id; ?>" class="options">
73
  <h4><?php _e( 'Domain Mapping', 'wp-super-cache' ); ?></h4>
74
- <form name="wp_manager" action="" method="post">
75
  <label><input type="radio" name="cache_domain_mapping" value="1" <?php if( $cache_domain_mapping ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
76
  <label><input type="radio" name="cache_domain_mapping" value="0" <?php if( !$cache_domain_mapping ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label>
77
  <p><?php _e( '', 'wp-super-cache' ); ?></p><?php
78
  echo '<p>' . __( 'Provides support for <a href="http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/">Domain Mapping</a> plugin to map multiple domains to a blog.', 'wp-super-cache' ) . '</p>';
79
- if ( isset( $changed ) && $changed ) {
80
  if ( $cache_domain_mapping )
81
  $status = __( "enabled" );
82
  else
83
  $status = __( "disabled" );
84
  echo "<p><strong>" . sprintf( __( "Domain Mapping support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
85
  }
86
- echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
87
  wp_nonce_field('wp-cache');
88
  ?>
89
  </form>
10
  if ( !$siteurl )
11
  return false;
12
 
13
+ $protocol = ( 'on' == strtolower( $_SERVER['HTTPS' ] ) ) ? 'https://' : 'http://';
14
  $siteurl = trailingslashit( str_replace( $protocol, '', $siteurl ) );
15
 
16
  if ( $directory == 'homepage' )
22
  @wp_cache_rebuild_or_delete( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html.gz' );
23
  break;
24
  case "prune":
25
+ prune_super_cache( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html', true, true );
26
+ prune_super_cache( $cache_path . 'supercache/' . $siteurl . $directory . 'index.html.gz', true, true );
27
  break;
28
  }
29
 
30
  return $directory;
31
  }
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  function domain_mapping_actions() {
34
  global $cache_domain_mapping;
35
  if( $cache_domain_mapping == '1' ) {
 
36
  add_action( 'gc_cache', 'domain_mapping_gc_cache', 10, 2 );
37
  }
38
  }
40
 
41
  function wp_supercache_domain_mapping_admin() {
42
  global $cache_domain_mapping, $wp_cache_config_file, $valid_nonce;
43
+
44
  $cache_domain_mapping = $cache_domain_mapping == '' ? '0' : $cache_domain_mapping;
45
 
46
  if(isset($_POST['cache_domain_mapping']) && $valid_nonce) {
54
  }
55
  $id = 'domain_mapping-section';
56
  ?>
57
+ <fieldset id="<?php echo $id; ?>" class="options">
58
  <h4><?php _e( 'Domain Mapping', 'wp-super-cache' ); ?></h4>
59
+ <form name="wp_manager" action="<?php echo $_SERVER[ "REQUEST_URI" ]; ?>" method="post">
60
  <label><input type="radio" name="cache_domain_mapping" value="1" <?php if( $cache_domain_mapping ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
61
  <label><input type="radio" name="cache_domain_mapping" value="0" <?php if( !$cache_domain_mapping ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label>
62
  <p><?php _e( '', 'wp-super-cache' ); ?></p><?php
63
  echo '<p>' . __( 'Provides support for <a href="http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/">Domain Mapping</a> plugin to map multiple domains to a blog.', 'wp-super-cache' ) . '</p>';
64
+ if ($changed) {
65
  if ( $cache_domain_mapping )
66
  $status = __( "enabled" );
67
  else
68
  $status = __( "disabled" );
69
  echo "<p><strong>" . sprintf( __( "Domain Mapping support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
70
  }
71
+ echo '<div class="submit"><input ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
72
  wp_nonce_field('wp-cache');
73
  ?>
74
  </form>
plugins/dynamic-cache-test.php DELETED
@@ -1,182 +0,0 @@
1
- <?php
2
-
3
- /*
4
- * On the Advanced Settings page enable "Enable dynamic caching" and clear
5
- * the cache.
6
- *
7
- * Plugin authors: NEVER define the template tag for your users. Make them
8
- * choose one so it will be unique to their site.
9
- *
10
- * There are two examples in this file. Both use template tags that must be
11
- * kept secret.
12
- *
13
- * GLOSSARY:
14
- *
15
- * Dynamic content: the text or widget you want to show visitors to your site
16
- * that changes every time it's viewed.
17
- * Placeholder/template tag: the string of random characters placed in your
18
- * theme file or printed in an action where the dynamic content will go.
19
- * Output buffer (ob): any text that is printed by PHP to be sent to the browser
20
- * but captured by PHP for further manipulation.
21
- * OB Callback function: A function that is called when the output buffer is
22
- * filled with a html page. The contents of the page are passed to the function
23
- * for processing.
24
- *
25
- * **** MAKE SURE YOU KEEP THE TEMPLATE TAG SECRET ****
26
- */
27
-
28
- /*
29
- * EXAMPLE 1
30
- * http://ocaoimh.ie/2013/10/21/shiny-new-dynamic-content-wp-super-cache/
31
- * Replace a string in your theme with the dynamic content.
32
- *
33
- * dynamic_cache_test_init()
34
- * This function is the first one to be called. This function hooks
35
- * dynamic_cache_test_template() to the WordPress action, wp_footer.
36
- * This script is loaded before WordPress is and the add_action()
37
- * function isn't defined at this time.
38
- * This init function hooks onto the cache action "add_cacheaction"
39
- * that fires after WordPress (and add_action) is loaded.
40
- *
41
- *
42
- * dynamic_cache_test_template_tag()
43
- * This function hooks on to wp_footer and displays the secret template
44
- * tag that will be replaced by our dynamic content on each page view.
45
- *
46
- *
47
- * dynamic_cache_test_filter()
48
- * This function hooks on to the filter through which all the cached data
49
- * sent to visitors is sent.
50
- * In this simple example the template tag is replaced by a html comment
51
- * containing the text "Hello world at " and the current server time.
52
- * If you want to use the output of a WordPress plugin or command you
53
- * must enable "late init" on the settings page. Each time you reload
54
- * the cached page this time will change. View the page source to examine
55
- * this text.
56
- *
57
- * Chronology of a request:
58
- * 1. dynamic_cache_test_init() hooks dynamic_cache_test_template_tag() on
59
- * to the wp_footer action. dynamic_cache_test_filter() is hooked on to
60
- * the wpsc_cachedata filter.
61
- * 2. An output buffer is created by WP Super Cache.
62
- * 3. Most of the page is generated by WordPress.
63
- * 4. The wp_footer action fires and the TAG is printed to the page.
64
- * 5. Processing continues and the page is created.
65
- * 6. The output buffer finishes. A WP Super Cache callback function runs
66
- * and saves the output buffer to a cache file. The wpsc_cachedata
67
- * filter is called.
68
- * 7. The function dynamic_cache_test_filter() runs and replaces the TAG in
69
- * the buffer with the "Hello world" string.
70
- * 8. The output buffer is pushed to the browser to be displayed.
71
- */
72
- define( 'DYNAMIC_CACHE_TEST_TAG', '' ); // Change this to a secret placeholder tag
73
- if ( DYNAMIC_CACHE_TEST_TAG != '' ) {
74
- function dynamic_cache_test_safety( $safety ) {
75
- return 1;
76
- }
77
- add_cacheaction( 'wpsc_cachedata_safety', 'dynamic_cache_test_safety' );
78
-
79
- function dynamic_cache_test_filter( &$cachedata) {
80
- return str_replace( DYNAMIC_CACHE_TEST_TAG, "<!-- Hello world at " . date( 'H:i:s' ) . " -->", $cachedata );
81
- }
82
- add_cacheaction( 'wpsc_cachedata', 'dynamic_cache_test_filter' );
83
-
84
- function dynamic_cache_test_template_tag() {
85
- echo DYNAMIC_CACHE_TEST_TAG; // This is the template tag
86
- }
87
-
88
- function dynamic_cache_test_init() {
89
- add_action( 'wp_footer', 'dynamic_cache_test_template_tag' );
90
- }
91
- add_cacheaction( 'add_cacheaction', 'dynamic_cache_test_init' );
92
- }
93
-
94
- /*
95
- * EXAMPLE 2
96
- *
97
- * This is going to be complicated. Hang on!
98
- *
99
- * When the cache file for a new page is generated the plugin uses an output
100
- * buffer to capture the page. A callback function processes the buffer and
101
- * writes to the cache file. The placeholder tag for any dynamic content has
102
- * to be written to that cache file but also, it has to be replaced with
103
- * dynamic content before the page is shown to the user.
104
- * More on output buffers here: http://php.net/ob_start
105
- *
106
- * Unfortunately an extra output buffer is often required when capturing dynamic
107
- * content such as sidebar widgets. Due to a quirk of the way PHP works it's
108
- * not possible to have an output buffer run in an output buffer callback. That
109
- * dynamic content has to be generated before the callback function is reached.
110
- * The following error occurs when an output buffer is created in the
111
- * callback function of another output buffer:
112
- * "PHP Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in..."
113
- *
114
- * In this example the function add_action() isn't available when this file is
115
- * loaded so dynamic_output_buffer_init() is hooked on to the "add_cacheaction"
116
- * cacheaction. That function then hooks dynamic_output_buffer_test() on to the
117
- * familiar wp_footer action.
118
- *
119
- * The first time dynamic_output_buffer_test() runs it generates the dynamic
120
- * content and captures it with ob_start() in the DYNAMIC_OB_TEXT constant.
121
- *
122
- * When the main WP Super Cache output buffer is ready the callback is called.
123
- * This fires the wpsc_cachedata_safety filter. If the DYNAMIC_OB_TEXT constant
124
- * is set, which means dynamic content is ready, then it returns 1, a signal
125
- * that everything is ok.
126
- * Finally, the wpsc_cachedata filter is run. The function
127
- * dynamic_output_buffer_test() is hooked on to it. Since DYNAMIC_OB_TEXT is
128
- * set it replaces the placeholder text with that constant.
129
- * The resulting html is then sent to the browser.
130
- *
131
- * Already cached pages call the safety filter, and then the wpsc_cachedata
132
- * filter so any hooked function must be ready to generate dynamic content. The
133
- * very last line of dynamic_output_buffer_test() replaces the placeholder tag
134
- * with the dynamic content in the cache file.
135
- *
136
- *
137
- * Use an output buffer to capture dynamic content while the page is generated
138
- * and insert into the right place:
139
- * Remember to add the DYNAMIC_OUTPUT_BUFFER_TAG text (as defined below) to
140
- * your theme where the dynamic content should be.
141
- *
142
- * dynamic_output_buffer_test() is a function that uses the wpsc_cachedata
143
- * filter to add a small message and the current server time to every web
144
- * page. The time increments on every reload.
145
- *
146
- */
147
-
148
- define( 'DYNAMIC_OUTPUT_BUFFER_TAG', '' ); // Change this to a secret placeholder tag
149
-
150
- if ( DYNAMIC_OUTPUT_BUFFER_TAG != '' ) {
151
- function dynamic_output_buffer_test( &$cachedata = 0 ) {
152
- if ( defined( 'DYNAMIC_OB_TEXT' ) )
153
- return str_replace( DYNAMIC_OUTPUT_BUFFER_TAG, DYNAMIC_OB_TEXT, $cachedata );
154
-
155
- ob_start();
156
- // call the sidebar function, do something dynamic
157
- echo "<p>This is a test. The current time on the server is: " . date( 'H:i:s' ) . "</p>";
158
- $text = ob_get_contents();
159
- ob_end_clean();
160
-
161
- if ( $cachedata === 0 ) { // called directly from the theme so store the output
162
- define( 'DYNAMIC_OB_TEXT', $text );
163
- } else // called via the wpsc_cachedata filter. We only get here in cached pages in wp-cache-phase1.php
164
- return str_replace( DYNAMIC_OUTPUT_BUFFER_TAG, $text, $cachedata );
165
-
166
- }
167
- add_cacheaction( 'wpsc_cachedata', 'dynamic_output_buffer_test' );
168
-
169
- function dynamic_output_buffer_init() {
170
- add_action( 'wp_footer', 'dynamic_output_buffer_test' );
171
- }
172
- add_cacheaction( 'add_cacheaction', 'dynamic_output_buffer_init' );
173
-
174
- function dynamic_output_buffer_test_safety( $safety ) {
175
- if ( defined( 'DYNAMIC_OB_TEXT' ) ) // this is set when you call dynamic_output_buffer_test() from the theme
176
- return 1; // ready to replace tag with dynamic content.
177
- else
178
- return 0; // tag cannot be replaced.
179
- }
180
- add_cacheaction( 'wpsc_cachedata_safety', 'dynamic_output_buffer_test_safety' );
181
- }
182
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugins/jetpack.php DELETED
@@ -1,70 +0,0 @@
1
- <?php
2
-
3
- function wp_super_cache_jetpack_admin() {
4
- global $cache_jetpack, $wp_cache_config_file, $valid_nonce;
5
-
6
- $cache_jetpack = $cache_jetpack == '' ? '0' : $cache_jetpack;
7
-
8
- if(isset($_POST['cache_jetpack']) && $valid_nonce) {
9
- if ( $cache_jetpack == (int)$_POST['cache_jetpack'] ) {
10
- $changed = false;
11
- } else {
12
- $changed = true;
13
- }
14
- $cache_jetpack = (int)$_POST['cache_jetpack'];
15
- wp_cache_replace_line('^ *\$cache_jetpack', "\$cache_jetpack = '$cache_jetpack';", $wp_cache_config_file);
16
- if ( $changed && $cache_jetpack ) {
17
- wp_cache_replace_line('^ *\$wp_cache_mobile_enabled', '$wp_cache_mobile_enabled = 1;', $wp_cache_config_file);
18
- wp_cache_replace_line('^ *\$wp_cache_mod_rewrite', '$wp_cache_mod_rewrite = 0;', $wp_cache_config_file);
19
- wp_cache_replace_line('^ *\$super_cache_enabled', '$super_cache_enabled = 1;', $wp_cache_config_file);
20
- }
21
- }
22
- $id = 'jetpack-section';
23
- ?>
24
- <fieldset id="<?php echo $id; ?>" class="options">
25
- <h4><?php _e( 'Jetpack Mobile Theme', 'wp-super-cache' ); ?></h4>
26
- <?php
27
- if ( false == file_exists( dirname( WPCACHEHOME ) . '/jetpack/class.jetpack-user-agent.php' ) ) {
28
- echo "<strong>" . sprintf( __( "Jetpack not found in %s. Install it and enable the mobile theme and this helper plugin to cache visits by mobile visitors." ), dirname( WPCACHEHOME ) ) . "</strong>>";
29
- } else { ?>
30
- <form name="wp_manager" action="" method="post">
31
- <label><input type="radio" name="cache_jetpack" value="1" <?php if( $cache_jetpack ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
32
- <label><input type="radio" name="cache_jetpack" value="0" <?php if( !$cache_jetpack ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label>
33
- <?php
34
- echo '<p>' . __( 'Provides support for the <a href="http://wordpress.org/extend/plugins/jetpack/">Jetpack</a> mobile theme and plugin. PHP caching mode and mobile support will be enabled too.', 'wp-super-cache' ) . '</p>';
35
- if ( isset( $changed ) && $changed ) {
36
- if ( $cache_jetpack )
37
- $status = __( "enabled" );
38
- else
39
- $status = __( "disabled" );
40
- echo "<p><strong>" . sprintf( __( "Jetpack Mobile Theme support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
41
- }
42
- echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
43
- wp_nonce_field('wp-cache');
44
- ?>
45
- </form>
46
- <?php } ?>
47
- </fieldset>
48
- <?php
49
- }
50
- add_cacheaction( 'cache_admin_page', 'wp_super_cache_jetpack_admin' );
51
-
52
- function wp_super_cache_jetpack_cookie_check( $cache_key ) {
53
- if ( file_exists( dirname( WPCACHEHOME ) . '/jetpack/class.jetpack-user-agent.php' ) ) {
54
- if ( function_exists( "jetpack_is_mobile" ) == false )
55
- include( dirname( WPCACHEHOME ) . '/jetpack/class.jetpack-user-agent.php' );
56
-
57
- if ( jetpack_is_mobile() )
58
- return 'mobile';
59
- else
60
- return 'normal';
61
- } else {
62
- wp_cache_debug( "wp_super_cache_jetpack_cookie_check: jetpack UA file not found." );
63
- return "normal";
64
- }
65
- }
66
-
67
- if ( isset( $cache_jetpack ) && $cache_jetpack == 1 ) {
68
- add_cacheaction( 'wp_cache_check_mobile', 'wp_super_cache_jetpack_cookie_check' );
69
- }
70
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugins/multisite.php DELETED
@@ -1,57 +0,0 @@
1
- <?php
2
-
3
- if ( defined( 'WP_ALLOW_MULTISITE' ) )
4
- add_cacheaction( 'add_cacheaction', 'wp_super_cache_multisite_init' );
5
-
6
- function wp_super_cache_multisite_init() {
7
- add_filter( 'wpmu_blogs_columns', 'wp_super_cache_blogs_col' );
8
- add_action( 'manage_sites_custom_column', 'wp_super_cache_blogs_field', 10, 2 );
9
- add_action( 'init', 'wp_super_cache_override_on_flag' );
10
- }
11
-
12
- function wp_super_cache_blogs_col( $col ) {
13
- $col[ 'wp_super_cache' ] = __( 'Cached', 'wp-super-cache' );
14
- return $col;
15
- }
16
-
17
- function wp_super_cache_blogs_field( $name, $blog_id ) {
18
- if ( $name != 'wp_super_cache' )
19
- return false;
20
-
21
- if ( isset( $_GET[ 'id' ] ) && $blog_id == $_GET[ 'id' ] ) {
22
- $valid_nonce = isset( $_GET[ '_wpnonce' ] ) ? wp_verify_nonce( $_GET[ '_wpnonce' ], 'wp-cache' . $_GET[ 'id' ] ) : false;
23
- if ( $valid_nonce && isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'disable_cache' ) {
24
- add_blog_option( $_GET[ 'id' ], 'wp_super_cache_disabled', 1 );
25
- } elseif ( $valid_nonce && isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'enable_cache' ) {
26
- delete_blog_option( $_GET[ 'id' ], 'wp_super_cache_disabled' );
27
- }
28
- }
29
-
30
- if ( get_blog_option( $blog_id, 'wp_super_cache_disabled' ) == 1 ) {
31
- echo "<a href='" . wp_nonce_url( add_query_arg( array( 'action' => 'enable_cache', 'id' => $blog_id ) ), 'wp-cache' . $blog_id ) . "'>" . __( 'Enable', 'wp-super-cache' ) . "</a>";
32
- } else {
33
- echo "<a href='" . wp_nonce_url( add_query_arg( array( 'action' => 'disable_cache', 'id' => $blog_id ) ), 'wp-cache' . $blog_id ) . "'>" . __( 'Disable', 'wp-super-cache' ) . "</a>";
34
- }
35
- }
36
-
37
- function wp_super_cache_multisite_notice() {
38
- if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'wpsupercache' )
39
- echo '<div class="error"><p><strong>' . __( 'Caching has been disabled on this blog on the Network Admin Sites page.', 'wp-super-cache' ) . '</strong></p></div>';
40
- }
41
-
42
- function wp_super_cache_override_on_flag() {
43
- global $cache_enabled, $super_cache_enabled;
44
- if ( $cache_enabled != true )
45
- return false;
46
-
47
- if ( get_option( 'wp_super_cache_disabled' ) ) {
48
- $cache_enabled = false;
49
- $super_cache_enabled = false;
50
- define( 'DONOTCACHEPAGE', 1 );
51
- define( "SUBMITDISABLED", 'disabled style="color: #aaa" ' );
52
- if ( is_admin() )
53
- add_action( 'admin_notices', 'wp_super_cache_multisite_notice' );
54
- }
55
- }
56
-
57
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugins/searchengine.php CHANGED
@@ -8,9 +8,9 @@ function wp_supercache_searchengine( $string ) {
8
  if( $string != '' )
9
  return $string;
10
 
11
- if( isset( $_COOKIE[ '7a1254cba80da02d5478d91cfd0a873a' ] ) && $_COOKIE[ '7a1254cba80da02d5478d91cfd0a873a' ] == 1 ) {
12
  $string = 'searchengine';
13
- } elseif( isset( $_SERVER[ 'HTTP_REFERER' ] ) && $_SERVER[ 'HTTP_REFERER' ] != '' ) {
14
  if( is_array( $passingthrough ) == false )
15
  return $string;
16
 
@@ -54,35 +54,28 @@ add_cacheaction( 'add_cacheaction', 'searchengine_phase2_actions' );
54
 
55
  function wp_supercache_searchengine_admin() {
56
  global $cache_no_adverts_for_friends, $wp_cache_config_file, $valid_nonce;
57
-
58
  $cache_no_adverts_for_friends = $cache_no_adverts_for_friends == '' ? 'no' : $cache_no_adverts_for_friends;
59
 
60
  if(isset($_POST['cache_no_adverts_for_friends']) && $valid_nonce) {
61
  $cache_no_adverts_for_friends = $_POST['cache_no_adverts_for_friends'] == __( 'Disable', 'wp-super-cache' ) ? 'no' : 'yes';
62
  wp_cache_replace_line('^ *\$cache_no_adverts_for_friends', "\$cache_no_adverts_for_friends = '$cache_no_adverts_for_friends';", $wp_cache_config_file);
63
  }
64
- $id = 'no_adverts_for_friends-section';
65
- ?>
66
- <fieldset id="<?php echo $id; ?>" class="options">
67
- <h4><?php _e( 'No Adverts for Friends', 'wp-super-cache' ); ?></h4>
68
- <form name="wp_manager" action="" method="post">
69
- <label><input type="radio" name="cache_no_adverts_for_friends" value="1" <?php if( $cache_no_adverts_for_friends == 'yes' ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
70
- <label><input type="radio" name="cache_no_adverts_for_friends" value="0" <?php if( $cache_no_adverts_for_friends == 'no' ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label>
71
- <p><?php _e( '', 'wp-super-cache' ); ?></p><?php
72
- echo '<p>' . __( 'Provides support for <a href="http://ocaoimh.ie/no-adverts-for-friends/">No Adverts for Friends</a>.', 'wp-super-cache' ) . '</p>';
73
- if ( isset( $changed ) && $changed ) {
74
- if ( 'yes' == $cache_no_adverts_for_friends )
75
- $status = __( "enabled" );
76
- else
77
- $status = __( "disabled" );
78
- echo "<p><strong>" . sprintf( __( "No Adverts for Friends support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
79
- }
80
- echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
81
  wp_nonce_field('wp-cache');
82
- ?>
83
- </form>
84
- </fieldset>
85
- <?php
 
 
 
 
 
 
 
 
 
86
 
87
  }
88
  add_cacheaction( 'cache_admin_page', 'wp_supercache_searchengine_admin' );
8
  if( $string != '' )
9
  return $string;
10
 
11
+ if( $_COOKIE[ '7a1254cba80da02d5478d91cfd0a873a' ] == 1 ) {
12
  $string = 'searchengine';
13
+ } elseif( $_SERVER[ 'HTTP_REFERER' ] != '' ) {
14
  if( is_array( $passingthrough ) == false )
15
  return $string;
16
 
54
 
55
  function wp_supercache_searchengine_admin() {
56
  global $cache_no_adverts_for_friends, $wp_cache_config_file, $valid_nonce;
57
+
58
  $cache_no_adverts_for_friends = $cache_no_adverts_for_friends == '' ? 'no' : $cache_no_adverts_for_friends;
59
 
60
  if(isset($_POST['cache_no_adverts_for_friends']) && $valid_nonce) {
61
  $cache_no_adverts_for_friends = $_POST['cache_no_adverts_for_friends'] == __( 'Disable', 'wp-super-cache' ) ? 'no' : 'yes';
62
  wp_cache_replace_line('^ *\$cache_no_adverts_for_friends', "\$cache_no_adverts_for_friends = '$cache_no_adverts_for_friends';", $wp_cache_config_file);
63
  }
64
+ echo '<li><form name="wp_supercache_searchengine_admin" action="'. $_SERVER["REQUEST_URI"] . '" method="post">';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  wp_nonce_field('wp-cache');
66
+ if( $cache_no_adverts_for_friends == 'no' ) {
67
+ $status = __( 'disabled', 'wp-super-cache' );
68
+ } else {
69
+ $status = __( 'enabled', 'wp-super-cache' );
70
+ }
71
+ echo '<strong>' . sprintf( __( '<a href="http://ocaoimh.ie/no-adverts-for-friends/">No Adverts for Friends</a> plugin is %s.', 'wp-super-cache' ), $status );
72
+ echo '</strong> ' . __( '(requires <a href="http://ocaoimh.ie/no-adverts-for-friends/">friendsadverts.php</a> too) ', 'wp-super-cache' );
73
+ if( $cache_no_adverts_for_friends == 'no' ) {
74
+ echo '<input type="submit" name="cache_no_adverts_for_friends" value="' . __( 'Enable', 'wp-super-cache' ) . '" />';
75
+ } else {
76
+ echo '<input type="submit" name="cache_no_adverts_for_friends" value="' . __( 'Disable', 'wp-super-cache' ) . '" />';
77
+ }
78
+ echo "</form></li>\n";
79
 
80
  }
81
  add_cacheaction( 'cache_admin_page', 'wp_supercache_searchengine_admin' );
plugins/wptouch.php DELETED
@@ -1,122 +0,0 @@
1
- <?php
2
-
3
- function wp_super_cache_wptouch_admin() {
4
- global $cache_wptouch, $wp_cache_config_file, $valid_nonce;
5
-
6
- $cache_wptouch = $cache_wptouch == '' ? '0' : $cache_wptouch;
7
-
8
- if(isset($_POST['cache_wptouch']) && $valid_nonce) {
9
- if ( $cache_wptouch == (int)$_POST['cache_wptouch'] ) {
10
- $changed = false;
11
- } else {
12
- $changed = true;
13
- }
14
- $cache_wptouch = (int)$_POST['cache_wptouch'];
15
- wp_cache_replace_line('^ *\$cache_wptouch', "\$cache_wptouch = '$cache_wptouch';", $wp_cache_config_file);
16
- }
17
- $id = 'wptouch-section';
18
- ?>
19
- <fieldset id="<?php echo $id; ?>" class="options">
20
- <h4><?php _e( 'WPTouch', 'wp-super-cache' ); ?></h4>
21
- <form name="wp_manager" action="" method="post">
22
- <label><input type="radio" name="cache_wptouch" value="1" <?php if( $cache_wptouch ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Enabled', 'wp-super-cache' ); ?></label>
23
- <label><input type="radio" name="cache_wptouch" value="0" <?php if( !$cache_wptouch ) { echo 'checked="checked" '; } ?>/> <?php _e( 'Disabled', 'wp-super-cache' ); ?></label>
24
- <?php
25
- echo '<p>' . __( 'Provides support for <a href="http://wordpress.org/extend/plugins/wptouch/">WPTouch</a> mobile theme and plugin.', 'wp-super-cache' ) . '</p>';
26
- if ( isset( $changed ) && $changed ) {
27
- if ( $cache_wptouch )
28
- $status = __( "enabled" );
29
- else
30
- $status = __( "disabled" );
31
- echo "<p><strong>" . sprintf( __( "WPTouch support is now %s", 'wp-super-cache' ), $status ) . "</strong></p>";
32
- }
33
- echo '<div class="submit"><input class="button-primary" ' . SUBMITDISABLED . 'type="submit" value="' . __( 'Update', 'wp-super-cache' ) . '" /></div>';
34
- wp_nonce_field('wp-cache');
35
- ?>
36
- </form>
37
- </fieldset>
38
- <?php
39
- }
40
- add_cacheaction( 'cache_admin_page', 'wp_super_cache_wptouch_admin' );
41
-
42
- function wp_super_cache_wptouch_notice() {
43
- global $cache_enabled, $cache_wptouch;
44
- if( $cache_enabled )
45
- echo '<div class="error"><p><strong>' . __('WPTouch plugin detected! Please go to the Supercache plugins page and enable the WPTouch helper plugin.', 'wp-super-cache' ) . '</strong></p></div>';
46
- }
47
- function wp_super_cache_wptouch_exists() {
48
- global $cache_wptouch;
49
- if ( $cache_wptouch == 1 )
50
- return false;
51
-
52
- if ( is_admin() && function_exists( 'wptouch_get_plugin_dir_name' ) )
53
- add_action( 'admin_notices', 'wp_super_cache_wptouch_notice' );
54
- }
55
-
56
- if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'wpsupercache' ) {
57
- add_cacheaction( 'add_cacheaction', 'wp_super_cache_wptouch_exists' );
58
- }
59
-
60
- // disable mobile checking if
61
- function wp_super_cache_maybe_disable_wptouch( $t ) {
62
- global $cache_wptouch, $wptouch_exclude_ua;
63
- if ( $cache_wptouch != 1 )
64
- return false;
65
-
66
- if ( ( isset( $_COOKIE[ 'wptouch_switch_toggle' ] ) && $_COOKIE[ 'wptouch_switch_toggle' ] == 'normal' ) ||
67
- ( isset( $_COOKIE[ 'wptouch-pro-view' ] ) && $_COOKIE[ 'wptouch-pro-view' ] == 'desktop' ) )
68
- return true;
69
-
70
- $ua = explode( ",", $wptouch_exclude_ua );
71
- foreach( $ua as $agent ) {
72
- if ( preg_match( "#$agent#i", $_SERVER[ 'HTTP_HOST' ] ) )
73
- return true; // disable mobile ua check if matches the exclude list in wptouch
74
- }
75
-
76
- return false;
77
-
78
- }
79
-
80
- add_cacheaction( 'disable_mobile_check', 'wp_super_cache_maybe_disable_wptouch' );
81
-
82
- function wp_super_cache_wptouch_browsers( $browsers ) {
83
- global $cache_wptouch, $wptouch_exclude_ua, $wp_cache_config_file;
84
-
85
- if ( false == function_exists( 'bnc_wptouch_get_exclude_user_agents' ) || false == function_exists( 'bnc_wptouch_get_user_agents' ) )
86
- return $browsers;
87
-
88
- $browsers = implode( ',', bnc_wptouch_get_exclude_user_agents() ); // hack, support exclude agents too
89
- if ( $browsers != $wptouch_exclude_ua ) {
90
- wp_cache_replace_line('^ *\$wptouch_exclude_ua', "\$wptouch_exclude_ua = '$browsers';", $wp_cache_config_file);
91
- $wptouch_exclude_ua = $browsers;
92
- }
93
-
94
- return bnc_wptouch_get_user_agents();
95
- }
96
-
97
- function wp_super_cache_wptouch_prefixes( $prefixes ) {
98
- return array(); // wptouch doesn't support UA prefixes
99
- }
100
-
101
- function wp_super_cache_wptouch_cookie_check( $cache_key ) {
102
- if ( false == isset( $_COOKIE[ 'wptouch_switch_toggle' ] ) )
103
- return $cache_key;
104
- if ( $_COOKIE[ 'wptouch_switch_toggle' ] == 'normal' || $_COOKIE[ 'wptouch_switch_toggle' ] == 'mobile' )
105
- return $_COOKIE[ 'wptouch_switch_toggle' ];
106
-
107
- if ( isset( $_COOKIE[ 'wptouch-pro-view' ] ) ) {
108
- if ( $_COOKIE[ 'wptouch-pro-view' ] == 'desktop' )
109
- return 'normal';
110
- else
111
- return $_COOKIE[ 'wptouch-pro-view' ];
112
- }
113
-
114
- return $cache_key;
115
- }
116
-
117
- if ( isset( $cache_wptouch ) && $cache_wptouch == 1 ) {
118
- add_cacheaction( 'wp_super_cache_mobile_browsers', 'wp_super_cache_wptouch_browsers' );
119
- add_cacheaction( 'wp_super_cache_mobile_prefixes', 'wp_super_cache_wptouch_prefixes' );
120
- add_cacheaction( 'wp_cache_check_mobile', 'wp_super_cache_wptouch_cookie_check' );
121
- }
122
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === WP Super Cache ===
2
  Contributors: donncha, automattic
3
  Tags: performance,caching,wp-cache,wp-super-cache,cache
4
- Tested up to: 4.1.1
5
- Stable tag: 1.4.3
6
  Requires at least: 3.0
7
 
8
  A very fast caching engine for WordPress that produces static html files.
@@ -48,95 +48,19 @@ With preloading on cached files will still be deleted when posts are made or edi
48
 
49
  See the [WP Super Cache homepage](http://ocaoimh.ie/wp-super-cache/) for further information. [Developer documentation](http://ocaoimh.ie/wp-super-cache-developers/) is also available for those who need to interact with the cache or write plugins.
50
 
51
- There's a [GIT repository](https://github.com/Automattic/wp-super-cache) too if you want to contribute a patch.
52
-
53
  The [changelog](http://svn.wp-plugins.org/wp-super-cache/trunk/Changelog.txt) is a good place to start if you want to know what has changed since you last downloaded the plugin.
54
 
55
  Interested in translating WP Super Cache to your language? Grab the [development version](http://downloads.wordpress.org/plugin/wp-super-cache.zip) where you will find an up to date wp-super-cache.pot. Send any translation files to donncha @ ocaoimh.ie and thank you!
56
 
57
- The cache directory, usually wp-content/cache/ is only for temporary files. Do not ever put important files or symlinks to important files or directories in that directory. They will be deleted if the plugin has write access to them.
58
-
59
  == Upgrade Notice ==
60
 
61
- = 1.4.3 =
62
- Security release fixing an XSS bug in the settings page.
63
 
64
  == Changelog ==
65
- = 1.4.3 =
66
- * Security release fixing an XSS bug in the settings page. Props Marc Montpas from Sucuri.
67
- * Added wp_debug_log(). Props Jen Heilemann.
68
- * Minor fixes.
69
-
70
- = 1.4.2 =
71
- * Fixed "acceptable file list".
72
- * Fixed "Don't cache GET requests" feature.
73
- * Maybe fixed "304 not modified" problem for some users.
74
- * Fixed some PHP warnings.
75
-
76
- = 1.4.1 =
77
- * Fixed XSS in settings page. Props Simon Waters, Surevine Limited.
78
- * Fix to object cache so entries may now be deleted when posts updated. (object cache still experimental)
79
- * Documentation updates and cleanup of settings page.
80
-
81
- = 1.4 =
82
- * Replace legacy mfunc/mnclude/dynamic-cached-content functionality with a "wpsc_cachedata" cacheaction filter.
83
- * Added dynamic-cache-test.php plugin example wpsc_cachedata filter plugin.
84
- * Delete post, tag and category cache when a post changes from draft to publish or vice versa. Props @Biranit.
85
- * Update advanced-cache.php and wp-config.php if wp-cache-phase1.php doesn't load, usually happening after migrating to a new hosting service.
86
- * Misc bugfixes.
87
-
88
- = 1.3.2 =
89
- * Any mfunc/mclude/dynamic-cached-content tags in comments are now removed.
90
- * Dynamic cached content feature disabled by default and must be enabled on the Advanced Settings page.
91
- * Support for the mobile theme in Jetpack via helper plugin on script's Plugins tab.
92
-
93
- = 1.3.1 =
94
- * Minor updates to documentation
95
- * Fixed XSS in settings page.
96
-
97
- = 1.3 =
98
- * mfunc tags could be executed in comments. Fixed.
99
- * More support for sites that use the LOGGED_IN_COOKIE constant and custom cookies.
100
-
101
- = 1.2 =
102
- * Garbage collection of old cache files is significantly improved. I added a scheduled job that keeps an eye on things and restarts the job if necessary. Also, if you enable caching from the Easy page garbage collection will be enabled too.
103
- * Editors can delete single cached files from the admin bar now.
104
- * Fixed the cached page counter on the settings page.
105
- * Some sites that updated to 1.0 experienced too much garbage collection. There are still stragglers out there who haven't upgraded but that's fixed now!
106
- * Supercached mobile files are now used as there was a tiny little typo that needed fixing.
107
- * If your site is in a directory and you saw problems updating a page then that should be fixed now.
108
- * The deactivate hook has been changed so your configuration isn.t hosed when you upgrade. Unfortunately this will only happen after you do this upgrade.
109
- * Some sites use custom cookies with the LOGGED_IN_COOKIE constant. Added support for that.
110
- * Added support for WPTouch Pro, but it appears to be flaky still. Anyone have time to work on that? I don.t.
111
- * Some sites had problems with scheduled posts. For some reason the plugin thought the post was in draft mode and then because it only checked the same post once, when the post magically became published the cache wasn.t cleared. That.s fixed, thanks to the debug logging of several patient users.
112
- * And more bug fixes and translation updates.
113
-
114
- = 1.1 =
115
- * Use $_SERVER[ 'SERVER_NAME' ] to create cache directories.
116
- * Only create blogs cached directories if valid requests and blogs exist.
117
- * Only clear current blog's cache files if navigation menu is modified
118
- * Added clean_post_cache action to clear cache on post actions
119
- * Removed garbage collection details on Contents tab
120
- * Added wp_cache_check_mobile cacheaction filter to shortcircuit mobile device check.
121
- * Don't delete cache files for draft posts
122
- * Added action on wp_trash_post to clear the cache when trashed posts are deleted
123
- * Show a warning when 304 browser caching is disabled (because mod_rewrite caching is on)
124
- * New check for safe mode if using less that PHP 5.3.0
125
- * Added wp_supercache_remove_cookies filter to disable anonymous browsing mode.
126
- * Fixed garbage collection schedule dropdown
127
- * Fixed preload problem clearing site's cache on "page on front" sites.
128
- * Fix for PHP variable not defined warnings
129
- * Fixed problem refreshing cache when comments made as siteurl() sometimes didn't work
130
- * Preloading of taxonomies is now optional
131
- * Domain mapping fixes.
132
- * Better support for https sites. Remove https:// to get cache paths.
133
- * Added AddDefaultCharset .htaccess rule back in and added an option to remove it if required.
134
- * Added multisite plugin that adds a "Cached" column to Network->Sites to disable caching on a per site basis.
135
- * Added WPTouch plugin to modify browser and prefix list in mobile detection code. Added support for that plugin's exclude list.
136
- * Fixed cache tester
137
- * Filter the tags that are used to detect end-of-page using the wp_cache_eof_tags filter.
138
- * Removed debug level from logging as it wasn't helpful.
139
- * Removed mention of wp-minify.
140
 
141
  = 1.0 =
142
  * Removed AddDefaultCharset .htaccess rule
@@ -291,7 +215,7 @@ Security release fixing an XSS bug in the settings page.
291
 
292
  == Installation ==
293
  1. You should have the Apache mod mime and mod rewrite modules installed and WordPress custom permalinks (Settings->Permalinks) enabled. PHP safe mode should be disabled. If any of those are missing or off you can still use PHP or legacy caching.
294
- 2. If you have WP-Cache installed already, please disable it. Edit wp-config.php and make sure the WP_CACHE and WPCACHEHOME defines are deleted, and remove the files wp-content/wp-cache-config.php and wp-content/advanced-cache.php. These will be recreated when you install this plugin.
295
  3. Upload this directory to your plugins directory. It will create a 'wp-content/plugins/wp-super-cache/' directory.
296
  4. If you are using WordPress MU or WordPress Multisite you can install the plugin in the ordinary plugins folder and activate it "network wide".
297
  5. WordPress users should go to their Plugins page and activate "WP Super Cache".
@@ -350,7 +274,7 @@ Security release fixing an XSS bug in the settings page.
350
  `<Directory /home/www/>`
351
  `AllowOverride All`
352
  `</Directory>`
353
- 10. wp-content/advanced-cache.php loads the caching engine. This file is generated by the plugin. It uses the constant WPCACHEHOME to load the caching engine.
354
 
355
  == How to uninstall WP Super Cache ==
356
 
@@ -399,27 +323,58 @@ No, it will do the opposite. Super Cache files are compressed and stored that wa
399
 
400
  = How do I make certain parts of the page stay dynamic? =
401
 
402
- Note: this functionality is disabled by default. You will have to enable it on the Advanced Settings page.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
403
 
404
- There are 2 ways of doing this. You can use Javascript to draw the part of the page you want to keep dynamic. That's what Google Adsense and many widgets from external sites do and is the recommended way. Or you can use a WP Super Cache filter to do the job but you can't use mod_rewrite mode caching. You have to switch to PHP or legacy caching.
 
 
405
 
406
- WP Super Cache 1.4 introduced a cacheaction filter called wpsc_cachedata. The cached page to be displayed goes through this filter and allows modification of the page. If the page contains a placeholder tag the filter can be used to replace that tag with your dynamically generated html.
407
- The function that hooks on to the wpsc_cachedata filter should be put in a file in the WP Super Cache plugins folder unless you use the late_init feature. An example plugin is included. Edit [dynamic-cache-test.php](http://svn.wp-plugins.org/wp-super-cache/trunk/plugins/dynamic-cache-test.php) to see the example code.
408
- There are two example functions there. There's a simple function that replaces a string (or tag) you define when the cached page is served. The other example function uses an output buffer to generate the dynamic content. Due to a limitation in how PHP works the output buffer code MUST run before the wpsc_cachedata filter is hit, at least for when a page is cached. It doesn't matter when serving cached pages. See [this post](http://ocaoimh.ie/y/6j) for a more technical and longer explanation.
409
- To execute WordPress functions you must enable the 'Late init' feature on the advanced settings page.
 
 
 
 
 
 
 
 
 
410
 
411
  = How do I use WordPress functions in cached dynamic pages? =
412
- = How do I delay serving the cache until the "init" action fires? =
413
 
414
- Cached files are served before almost all of WordPress is loaded. While that's great for performance it's a pain when you want to extend the plugin using a core part of WordPress. Enable 'Late init' mode on the Advanced settings page and cached files will be served when "init" fires. WordPress and it's plugins will be loaded now.
415
 
416
- = Why don't WP UserOnline, Popularity Contest, WP Postratings or plugin X not work or update on my blog now? =
417
 
418
- This plugin caches entire pages but some plugins think they can run PHP code every time a page loads. To fix this, the plugin needs to use Javascript/AJAX methods or the wpsc_cachedata filter described in the previous answer to update or display dynamic information.
419
 
420
- = Why do my WP Super Cache plugin disappear when I upgrade the plugin? =
421
 
422
- WordPress deletes the plugin folder when it updates a plugin. This is the same with WP Super Cache so any modified files in wp-super-cache/plugins/ will be deleted. You can define the variable $wp_cache_plugins_dir in wp-config.php or wp-content/wp-cache-config.php and point it at a directory outside of the wp-super-cache folder. The plugin will look there for it's plugins.
423
 
424
  = What does the Cache Rebuild feature do? =
425
 
@@ -478,11 +433,10 @@ The only real limit are limits defined by your server. For example, EXT2 and EXT
478
  = How do I serve cached mobile pages to clients on small screens like phones and tablets? =
479
 
480
  You'll have to use a separate mobile plugin to render a page formatted for those visitors. The following plugins have been tested but YMMV depending on mobile client.
 
 
 
481
 
482
- * [Jetpack's Mobile Theme Module](http://wordpress.org/plugins/jetpack)
483
- * [WPTouch](http://wordpress.org/plugins/wptouch/)
484
- * [WordPress Mobile Edition](http://wordpress.org/plugins/wordpress-mobile-edition/)
485
- * [WordPress Mobile Pack](http://wordpress.org/plugins/wordpress-mobile-pack/) (can't have "Don't cache pages for known users." enabled)
486
 
487
  = Troubleshooting =
488
 
@@ -505,9 +459,10 @@ If things don't work when you installed the plugin here are a few things to chec
505
  13. File locking errors such as "failed to acquire key 0x152b: Permission denied in..." or "Page not cached by WP Super Cache. Could not get mutex lock." are a sign that you may have to use file locking. Edit wp-content/wp-cache-config.php and uncomment "$use_flock = true" or set $sem_id to a different value. You can also disable file locking from the Admin screen as a last resort.
506
  14. Make sure cache/wp_cache_mutex.lock is writable by the web server if using coarse file locking.
507
  15. The cache folder cannot be put on an NFS or Samba or NAS share. It has to be on a local disk. File locking and deleting expired files will not work properly unless the cache folder is on the local machine.
508
- 16. Garbage collection of old cache files won't work if WordPress can't find wp-cron.php. If your hostname resolves to 127.0.0.1 it could be preventing the garbage collection from working. Check your access_logs for wp-cron.php entries. Do they return a 404 (file not found) or 200 code? If it's 404 or you don't see wp-cron.php anywhere WordPress may be looking for that script in the wrong place. You should speak to your server administator to correct this or edit /etc/hosts on Unix servers and remove the following line. Your hostname must resolve to the external IP address other servers on the network/Internet use. See http://yoast.com/wp-cron-issues/ for more. A line like "127.0.0.1 localhost localhost.localdomain" is ok.
509
 
510
  `127.0.0.1 myhostname.com`
 
511
  17. If old pages are being served to your visitors via the supercache, you may be missing Apache modules (or their equivalents if you don't use Apache). 3 modules are required: mod_mime, mod_headers and mod_expires. The last two are especially important for making sure browsers load new versions of existing pages on your site.
512
  18. The error message, "WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed!" appears at the end of every page. Open the file wp-content/advanced-cache.php in your favourite editor. Is the path to wp-cache-phase1.php correct? This file will normally be in wp-content/plugins/wp-super-cache/. If it is not correct the caching engine will not load.
513
  19. Caching doesn't work. The timestamp on my blog keeps changing when I reload. Check that the path in your .htaccess rules matches where the supercache directory is. You may have to hardcode it. Or use the plugin in PHP or legacy caching mode.
@@ -517,6 +472,7 @@ If things don't work when you installed the plugin here are a few things to chec
517
  21. If you see garbage in your browser after enabling compression in the plugin, compression may already be enabled in your web server. In Apache you must disable mod_deflate, or in PHP zlib compression may be enabled. You can disable that in three ways. If you have root access, edit your php.ini and find the zlib.output_compression setting and make sure it's "Off" or add this line to your .htaccess:
518
 
519
  `php_flag zlib.output_compression off`
 
520
  If that doesn't work, add this line to your wp-config.php:
521
 
522
  `ini_set('zlib.output_compression', 0);`
@@ -527,15 +483,13 @@ If that doesn't work, add this line to your wp-config.php:
527
  26. If certain characters do not appear correctly on your website your server may not be configured correctly. You need to tell visitors what character set is used. Go to Settings->Reading and copy the 'Encoding for pages and feeds' value. Edit the .htaccess file with all your Supercache and WordPress rewrite rules and add this at the top, replacing CHARSET with the copied value. (for example, 'UTF-8')
528
 
529
  `AddDefaultCharset CHARSET`
530
- 27. Use [Cron View](http://wordpress.org/plugins/cron-view/) to help diagnose garbage collection and preload problems. Use the plugin to make sure jobs are scheduled and for what time. Look for the wp_cache_gc and wp_cache_full_preload_hook jobs.
531
- 18. The error message, "WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory." appears at the end of every page. You can delete wp-content/advanced-cache.php and reload the plugin settings page or edit wp-config.php and look for WPCACHEHOME and make sure it points at the wp-super-cache folder. This will normally be wp-content/plugins/wp-super-cache/ but you'll likely need the full path to that file (so it's easier to let the settings page fix it). If it is not correct the caching engine will not load.
532
 
533
 
534
  == CDN ==
535
 
536
  A Content Delivery Network (CDN) is usually a network of computers situated around the world that will serve the content of your website faster by using servers close to you. Static files like images, Javascript and CSS files can be served through these networks to speed up how fast your site loads. You can also create a "poor man's CDN" by using a sub domain of your domain to serve static files too.
537
 
538
- [OSSDL CDN off-linker](http://wordpress.org/plugins/ossdl-cdn-off-linker/) has been integrated into WP Super Cache to provide basic CDN support. It works by rewriting the URLs of files (excluding .php files) in wp-content and wp-includes on your server so they point at a different hostname. Many CDNs support [origin pull](http://www.google.com/search?hl=en&q=%22origin+pull%22). This means the CDN will download the file automatically from your server when it's first requested, and will continue to serve it for a configurable length of time before downloading it again from your server.
539
 
540
  Configure this on the "CDN" tab of the plugin settings page. This is an advanced technique and requires a basic understanding of how your webserver or CDNs work. Please be sure to clear the file cache after you configure the CDN.
541
 
@@ -555,7 +509,7 @@ The output of WP-Cache's wp_cache_get_cookies_values() function.
555
  See plugins/searchengine.php as an example I use for my [No Adverts for Friends](http://ocaoimh.ie/no-adverts-for-friends/) plugin.
556
 
557
  == Links ==
558
- [WP Widget Cache](http://wordpress.org/plugins/wp-widget-cache/) is another caching plugin for WordPress. This plugin caches the output of widgets and may significantly speed up dynamic page generation times.
559
 
560
  == Updates ==
561
  Updates to the plugin will be posted here, to [Holy Shmoly!](http://ocaoimh.ie/) and the [WP Super Cache homepage](http://ocaoimh.ie/wp-super-cache/) will always link to the newest version.
@@ -569,7 +523,7 @@ Translators who did a great job converting the text of the plugin to their nativ
569
 
570
  * [Gianni Diurno](http://gidibao.net/) (Italian)
571
  * [Omi](http://equipajedemano.info/) (Spanish)
572
- * [tomchen1989](http://emule-fans.com/) and [Christopher Meng](http://cicku.me) (Simplified Chinese)
573
  * Tai (Japanese)
574
  * [Vitaly](http://pressword.com.ua/wordpress/) (Ukranian)
575
  * [Pseric](http://pseric.com/) and [Priv](http://priv.tw/blog) (Traditional Chinese)
@@ -582,4 +536,3 @@ Translators who did a great job converting the text of the plugin to their nativ
582
  * [Nata Strazda](http://www.webhostingrating.com/) (Lithuanian)
583
  * [Alexander Alexandrov](http://www.designcontest.com/) (Belarusian)
584
  * [Michail Bogdanov](http://www.webhostinghub.com/) (Romanian)
585
- * [Anja Skrba](http://science.webhostinggeeks.com/wordpress-super-cache) (Serbo-Croatian)
1
  === WP Super Cache ===
2
  Contributors: donncha, automattic
3
  Tags: performance,caching,wp-cache,wp-super-cache,cache
4
+ Tested up to: 3.3.1
5
+ Stable tag: 1.0.1
6
  Requires at least: 3.0
7
 
8
  A very fast caching engine for WordPress that produces static html files.
48
 
49
  See the [WP Super Cache homepage](http://ocaoimh.ie/wp-super-cache/) for further information. [Developer documentation](http://ocaoimh.ie/wp-super-cache-developers/) is also available for those who need to interact with the cache or write plugins.
50
 
 
 
51
  The [changelog](http://svn.wp-plugins.org/wp-super-cache/trunk/Changelog.txt) is a good place to start if you want to know what has changed since you last downloaded the plugin.
52
 
53
  Interested in translating WP Super Cache to your language? Grab the [development version](http://downloads.wordpress.org/plugin/wp-super-cache.zip) where you will find an up to date wp-super-cache.pot. Send any translation files to donncha @ ocaoimh.ie and thank you!
54
 
 
 
55
  == Upgrade Notice ==
56
 
57
+ = 1.0.1 =
58
+ Backported fix for XSS in cache file listing from version 1.4.3
59
 
60
  == Changelog ==
61
+
62
+ = 1.0.1 =
63
+ * Backported fix for XSS in cache file listing from version 1.4.3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
  = 1.0 =
66
  * Removed AddDefaultCharset .htaccess rule
215
 
216
  == Installation ==
217
  1. You should have the Apache mod mime and mod rewrite modules installed and WordPress custom permalinks (Settings->Permalinks) enabled. PHP safe mode should be disabled. If any of those are missing or off you can still use PHP or legacy caching.
218
+ 2. If you have WP-Cache installed already, please disable it. Edit wp-config.php and make sure the WP_CACHE define is deleted, and remove the files wp-content/wp-cache-config.php and wp-content/advanced-cache.php. These will be recreated when you install this plugin.
219
  3. Upload this directory to your plugins directory. It will create a 'wp-content/plugins/wp-super-cache/' directory.
220
  4. If you are using WordPress MU or WordPress Multisite you can install the plugin in the ordinary plugins folder and activate it "network wide".
221
  5. WordPress users should go to their Plugins page and activate "WP Super Cache".
274
  `<Directory /home/www/>`
275
  `AllowOverride All`
276
  `</Directory>`
277
+ 10. wp-content/advanced-cache.php loads the caching engine. This file is generated by the plugin. Make sure the path in the include_once() is correct.
278
 
279
  == How to uninstall WP Super Cache ==
280
 
323
 
324
  = How do I make certain parts of the page stay dynamic? =
325
 
326
+ There are 2 ways of doing this. You can use Javascript to draw the part of the page you want to keep dynamic. That's what Google Adsense and many widgets from external sites do. Or you can use a WP Super Cache tag to do the job but you can't use mod_rewrite mode caching. You have to switch to PHP or legacy caching.
327
+
328
+ There are a few ways to do this, you can have functions that stay dynamic or you can include other files on every page load. To execute PHP code on every page load you can use either the "dynamic-cached-content", "mfunc", or "mclude" tags. The "dynamic-cached-content" tag is easier to use but the other tags can still be used. Make sure you duplicate the PHP code when using these tags. The first code is executed when the page is cached, while the second chunk of code is executed when the cached page is served to the next visitor.
329
+ To execute WordPress functions you must define $wp_super_cache_late_init in your config file.
330
+
331
+ = dynamic-cached-content example =
332
+
333
+ This code will include the file adverts.php and will execute the functions "print_sidebar_ad()" and "do_more_stuff()". Make sure there's no space before or after the PHP tags.
334
+
335
+ `<!--dynamic-cached-content--><?php
336
+ include_once( ABSPATH . '/scripts/adverts.php' );
337
+ print_sidebar_ad();
338
+ do_more_stuff();
339
+ ?><!--
340
+ include_once( ABSPATH . '/scripts/adverts.php' );
341
+ print_sidebar_ad();
342
+ do_more_stuff();
343
+ --><!--/dynamic-cached-content-->`
344
+
345
+ = mfunc example =
346
+
347
+ To execute the function "function_name()":
348
 
349
+ `<!--mfunc function_name( 'parameter', 'another_parameter' ) -->
350
+ <?php function_name( 'parameter', 'another_parameter' ) ?>
351
+ <!--/mfunc-->`
352
 
353
+ = mclude example =
354
+ To include another file:
355
+
356
+ `<!--mclude file.php-->
357
+ <?php include_once( ABSPATH . 'file.php' ); ?>
358
+ <!--/mclude-->`
359
+
360
+ That will include file.php under the ABSPATH directory, which is the same as where your wp-config.php file is located.
361
+
362
+ Example:
363
+ `<!--mfunc date( 'Y-m-d H:i:s' ) -->
364
+ <?php date( 'Y-m-d H:i:s' ) ?>
365
+ <!--/mfunc-->`
366
 
367
  = How do I use WordPress functions in cached dynamic pages? =
 
368
 
369
+ See the next qestion, you have to load WordPress before the cached file is served.
370
 
371
+ = How do I delay serving the cache until the "init" action fires? =
372
 
373
+ Cached files are served before almost all of WordPress is loaded. While that's great for performance it's a pain when you want to extend the plugin using a core part of WordPress. Set $wp_super_cache_late_init to "1" in wp-content/wp-cache-config.php and cached files will be served when "init" fires. WordPress and it's plugins will be loaded now. This is very useful when you are using the mfunc tag in your theme.
374
 
375
+ = Why don't WP UserOnline, Popularity Contest, WP Postratings or plugin X not work or update on my blog now? =
376
 
377
+ This plugin caches entire pages but some plugins think they can run PHP code every time a page loads. To fix this, the plugin needs to use Javascript/AJAX methods or the dynamic-cached-content/mfunc/mclude code described in the previous answer to update or display dynamic information.
378
 
379
  = What does the Cache Rebuild feature do? =
380
 
433
  = How do I serve cached mobile pages to clients on small screens like phones and tablets? =
434
 
435
  You'll have to use a separate mobile plugin to render a page formatted for those visitors. The following plugins have been tested but YMMV depending on mobile client.
436
+ * [WPTouch] (http://wordpress.org/extend/plugins/wptouch/)
437
+ * [WordPress Mobile Edition] (http://wordpress.org/extend/plugins/wordpress-mobile-edition/)
438
+ * [WordPress Mobile Pack] (http://wordpress.org/extend/plugins/wordpress-mobile-pack/) (can't have "Don't cache pages for known users." enabled)
439
 
 
 
 
 
440
 
441
  = Troubleshooting =
442
 
459
  13. File locking errors such as "failed to acquire key 0x152b: Permission denied in..." or "Page not cached by WP Super Cache. Could not get mutex lock." are a sign that you may have to use file locking. Edit wp-content/wp-cache-config.php and uncomment "$use_flock = true" or set $sem_id to a different value. You can also disable file locking from the Admin screen as a last resort.
460
  14. Make sure cache/wp_cache_mutex.lock is writable by the web server if using coarse file locking.
461
  15. The cache folder cannot be put on an NFS or Samba or NAS share. It has to be on a local disk. File locking and deleting expired files will not work properly unless the cache folder is on the local machine.
462
+ 16. Garbage collection of old cache files won't work if WordPress can't find wp-cron.php. If your hostname resolves to 127.0.0.1 it could be preventing the garbage collection from working. Check your access_logs for wp-cron.php entries. Do they return a 404 (file not found) or 200 code? If it's 404 or you don't see wp-cron.php anywhere WordPress may be looking for that script in the wrong place. You should speak to your server administator to correct this or edit /etc/hosts on Unix servers and remove the following line. Your hostname must resolve to the external IP address other servers on the network/Internet use. See http://yoast.com/wp-cron-issues/ for more.
463
 
464
  `127.0.0.1 myhostname.com`
465
+ A line like "127.0.0.1 localhost localhost.localdomain" is ok.
466
  17. If old pages are being served to your visitors via the supercache, you may be missing Apache modules (or their equivalents if you don't use Apache). 3 modules are required: mod_mime, mod_headers and mod_expires. The last two are especially important for making sure browsers load new versions of existing pages on your site.
467
  18. The error message, "WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed!" appears at the end of every page. Open the file wp-content/advanced-cache.php in your favourite editor. Is the path to wp-cache-phase1.php correct? This file will normally be in wp-content/plugins/wp-super-cache/. If it is not correct the caching engine will not load.
468
  19. Caching doesn't work. The timestamp on my blog keeps changing when I reload. Check that the path in your .htaccess rules matches where the supercache directory is. You may have to hardcode it. Or use the plugin in PHP or legacy caching mode.
472
  21. If you see garbage in your browser after enabling compression in the plugin, compression may already be enabled in your web server. In Apache you must disable mod_deflate, or in PHP zlib compression may be enabled. You can disable that in three ways. If you have root access, edit your php.ini and find the zlib.output_compression setting and make sure it's "Off" or add this line to your .htaccess:
473
 
474
  `php_flag zlib.output_compression off`
475
+
476
  If that doesn't work, add this line to your wp-config.php:
477
 
478
  `ini_set('zlib.output_compression', 0);`
483
  26. If certain characters do not appear correctly on your website your server may not be configured correctly. You need to tell visitors what character set is used. Go to Settings->Reading and copy the 'Encoding for pages and feeds' value. Edit the .htaccess file with all your Supercache and WordPress rewrite rules and add this at the top, replacing CHARSET with the copied value. (for example, 'UTF-8')
484
 
485
  `AddDefaultCharset CHARSET`
 
 
486
 
487
 
488
  == CDN ==
489
 
490
  A Content Delivery Network (CDN) is usually a network of computers situated around the world that will serve the content of your website faster by using servers close to you. Static files like images, Javascript and CSS files can be served through these networks to speed up how fast your site loads. You can also create a "poor man's CDN" by using a sub domain of your domain to serve static files too.
491
 
492
+ [OSSDL CDN off-linker](http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/) has been integrated into WP Super Cache to provide basic CDN support. It works by rewriting the URLs of files (excluding .php files) in wp-content and wp-includes on your server so they point at a different hostname. Many CDNs support [origin pull](http://www.google.com/search?hl=en&q=%22origin+pull%22). This means the CDN will download the file automatically from your server when it's first requested, and will continue to serve it for a configurable length of time before downloading it again from your server.
493
 
494
  Configure this on the "CDN" tab of the plugin settings page. This is an advanced technique and requires a basic understanding of how your webserver or CDNs work. Please be sure to clear the file cache after you configure the CDN.
495
 
509
  See plugins/searchengine.php as an example I use for my [No Adverts for Friends](http://ocaoimh.ie/no-adverts-for-friends/) plugin.
510
 
511
  == Links ==
512
+ [WP Widget Cache](http://wordpress.org/extend/plugins/wp-widget-cache/) is another caching plugin for WordPress. This plugin caches the output of widgets and may significantly speed up dynamic page generation times.
513
 
514
  == Updates ==
515
  Updates to the plugin will be posted here, to [Holy Shmoly!](http://ocaoimh.ie/) and the [WP Super Cache homepage](http://ocaoimh.ie/wp-super-cache/) will always link to the newest version.
523
 
524
  * [Gianni Diurno](http://gidibao.net/) (Italian)
525
  * [Omi](http://equipajedemano.info/) (Spanish)
526
+ * [tomchen1989](http://emule-fans.com/) (Simplified Chinese)
527
  * Tai (Japanese)
528
  * [Vitaly](http://pressword.com.ua/wordpress/) (Ukranian)
529
  * [Pseric](http://pseric.com/) and [Priv](http://priv.tw/blog) (Traditional Chinese)
536
  * [Nata Strazda](http://www.webhostingrating.com/) (Lithuanian)
537
  * [Alexander Alexandrov](http://www.designcontest.com/) (Belarusian)
538
  * [Michail Bogdanov](http://www.webhostinghub.com/) (Romanian)
 
wp-cache-base.php CHANGED
@@ -10,25 +10,20 @@ if (!class_exists('CacheMeta')) {
10
  }
11
  }
12
 
13
- $WPSC_HTTP_HOST = htmlentities( $_SERVER[ 'HTTP_HOST' ] );
14
-
15
  // We want to be able to identify each blog in a WordPress MU install
16
  $blogcacheid = '';
17
- if ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) ) {
18
  $blogcacheid = 'blog'; // main blog
19
  if( defined( 'SUBDOMAIN_INSTALL' ) && constant( 'SUBDOMAIN_INSTALL' ) == true ) {
20
- $blogcacheid = $WPSC_HTTP_HOST;
21
  } else {
22
- if ( isset( $base ) == false )
23
- $base = '';
24
  $request_uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '..', '', $_SERVER['REQUEST_URI'] ) );
25
  if( strpos( $request_uri, '/', 1 ) ) {
26
  if( $base == '/' ) {
27
  $blogcacheid = substr( $request_uri, 1, strpos( $request_uri, '/', 1 ) - 1 );
28
  } else {
29
  $blogcacheid = str_replace( $base, '', $request_uri );
30
- if ( $blogcacheid != '' )
31
- $blogcacheid = substr( $blogcacheid, 0, strpos( $blogcacheid, '/', 1 ) );
32
  }
33
  if ( '/' == substr($blogcacheid, -1))
34
  $blogcacheid = substr($blogcacheid, 0, -1);
10
  }
11
  }
12
 
 
 
13
  // We want to be able to identify each blog in a WordPress MU install
14
  $blogcacheid = '';
15
+ if( defined( 'WP_ALLOW_MULTISITE' ) ) {
16
  $blogcacheid = 'blog'; // main blog
17
  if( defined( 'SUBDOMAIN_INSTALL' ) && constant( 'SUBDOMAIN_INSTALL' ) == true ) {
18
+ $blogcacheid = $_SERVER['HTTP_HOST'];
19
  } else {
 
 
20
  $request_uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '..', '', $_SERVER['REQUEST_URI'] ) );
21
  if( strpos( $request_uri, '/', 1 ) ) {
22
  if( $base == '/' ) {
23
  $blogcacheid = substr( $request_uri, 1, strpos( $request_uri, '/', 1 ) - 1 );
24
  } else {
25
  $blogcacheid = str_replace( $base, '', $request_uri );
26
+ $blogcacheid = substr( $blogcacheid, 0, strpos( $blogcacheid, '/', 1 ) );
 
27
  }
28
  if ( '/' == substr($blogcacheid, -1))
29
  $blogcacheid = substr($blogcacheid, 0, -1);
wp-cache-config-sample.php CHANGED
@@ -17,7 +17,7 @@ $cache_path = WP_CONTENT_DIR . '/cache/';
17
  $file_prefix = 'wp-cache-';
18
  $ossdlcdn = 0;
19
 
20
- // Array of files that have 'wp-' but should still be cached
21
  $cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' );
22
 
23
  $cache_rejected_uri = array('wp-.*\\.php', 'index\\.php');
@@ -44,7 +44,7 @@ $wp_cache_mobile_browsers = 'Android, 2.0 MMP, 240x320, AvantGo, BlackBerry, Bla
44
  // change to relocate the supercache plugins directory
45
  $wp_cache_plugins_dir = WPCACHEHOME . 'plugins';
46
  // set to 1 to do garbage collection during normal process shutdown instead of wp-cron
47
- $wp_cache_shutdown_gc = 0;
48
  $wp_super_cache_late_init = 0;
49
 
50
  // uncomment the next line to enable advanced debugging features
@@ -72,7 +72,6 @@ $wp_cache_pages[ "tag" ] = 0;
72
  $wp_cache_pages[ "archives" ] = 0;
73
  $wp_cache_pages[ "pages" ] = 0;
74
  $wp_cache_pages[ "single" ] = 0;
75
- $wp_cache_pages[ "author" ] = 0;
76
  $wp_cache_hide_donation = 0;
77
  $wp_cache_not_logged_in = 0;
78
  $wp_cache_clear_on_post_edit = 0;
17
  $file_prefix = 'wp-cache-';
18
  $ossdlcdn = 0;
19
 
20
+ // Array of files that have 'wp-' but should still be cached
21
  $cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' );
22
 
23
  $cache_rejected_uri = array('wp-.*\\.php', 'index\\.php');
44
  // change to relocate the supercache plugins directory
45
  $wp_cache_plugins_dir = WPCACHEHOME . 'plugins';
46
  // set to 1 to do garbage collection during normal process shutdown instead of wp-cron
47
+ $wp_cache_shutdown_gc = 0;
48
  $wp_super_cache_late_init = 0;
49
 
50
  // uncomment the next line to enable advanced debugging features
72
  $wp_cache_pages[ "archives" ] = 0;
73
  $wp_cache_pages[ "pages" ] = 0;
74
  $wp_cache_pages[ "single" ] = 0;
 
75
  $wp_cache_hide_donation = 0;
76
  $wp_cache_not_logged_in = 0;
77
  $wp_cache_clear_on_post_edit = 0;
wp-cache-phase1.php CHANGED
@@ -10,7 +10,6 @@ if( !include( WP_CONTENT_DIR . '/wp-cache-config.php' ) )
10
  if( !defined( 'WPCACHEHOME' ) )
11
  define('WPCACHEHOME', dirname(__FILE__).'/');
12
 
13
-
14
  include( WPCACHEHOME . 'wp-cache-base.php');
15
 
16
  if( $blogcacheid != '' ) {
@@ -19,8 +18,6 @@ if( $blogcacheid != '' ) {
19
  $blog_cache_dir = $cache_path;
20
  }
21
 
22
- $wp_cache_phase1_loaded = true;
23
-
24
  $mutex_filename = 'wp_cache_mutex.lock';
25
  $new_cache = false;
26
 
@@ -33,6 +30,8 @@ if ( isset( $_GET[ 'donotcachepage' ] ) && isset( $cache_page_secret ) && $_GET[
33
  $cache_enabled = false;
34
  define( 'DONOTCACHEPAGE', 1 );
35
  }
 
 
36
 
37
  $plugins = glob( $wp_cache_plugins_dir . '/*.php' );
38
  if( is_array( $plugins ) ) {
@@ -42,12 +41,9 @@ if( is_array( $plugins ) ) {
42
  }
43
  }
44
 
45
- if ( isset( $wp_cache_make_known_anon ) && $wp_cache_make_known_anon )
46
- wp_supercache_cache_for_admins();
47
-
48
  do_cacheaction( 'cache_init' );
49
 
50
- if (!$cache_enabled || $_SERVER["REQUEST_METHOD"] == 'POST')
51
  return true;
52
 
53
  $file_expired = false;
@@ -62,7 +58,7 @@ function gzip_accepted(){
62
  if ( 1 == ini_get( 'zlib.output_compression' ) || "on" == strtolower( ini_get( 'zlib.output_compression' ) ) ) // don't compress WP-Cache data files when PHP is already doing it
63
  return false;
64
 
65
- if ( !isset( $_SERVER[ 'HTTP_ACCEPT_ENCODING' ] ) || ( isset( $_SERVER[ 'HTTP_ACCEPT_ENCODING' ] ) && strpos( $_SERVER[ 'HTTP_ACCEPT_ENCODING' ], 'gzip' ) === false ) ) return false;
66
  return 'gzip';
67
  }
68
 
@@ -77,35 +73,33 @@ $wp_cache_request_uri = $_SERVER[ 'REQUEST_URI' ]; // Cache this in case any plu
77
  if ( $wp_cache_object_cache ) {
78
  if ( ! include_once( WP_CONTENT_DIR . '/object-cache.php' ) )
79
  return;
80
-
81
  wp_cache_init(); // Note: wp-settings.php calls wp_cache_init() which clobbers the object made here.
82
-
83
  if ( ! is_object( $wp_object_cache ) )
84
  return;
85
  }
86
 
87
- function setup_blog_cache_dir() {
88
- global $blog_cache_dir, $cache_path;
89
- if( false == @is_dir( $blog_cache_dir ) ) {
90
- @mkdir( $cache_path . "blogs" );
91
- @mkdir( $blog_cache_dir );
92
- }
93
-
94
- if( false == @is_dir( $blog_cache_dir . 'meta' ) )
95
- @mkdir( $blog_cache_dir . 'meta' );
96
  }
97
 
 
 
 
 
98
  $wp_start_time = microtime();
99
 
100
  function get_wp_cache_key( $url = false ) {
101
- global $wp_cache_request_uri, $wp_cache_gzip_encoding, $WPSC_HTTP_HOST;
102
  if ( !$url )
103
  $url = $wp_cache_request_uri;
104
- return do_cacheaction( 'wp_cache_key', $WPSC_HTTP_HOST . intval( $_SERVER[ 'SERVER_PORT' ] ) . preg_replace('/#.*$/', '', str_replace( '/index.php', '/', $url ) ) . $wp_cache_gzip_encoding . wp_cache_get_cookies_values() );
105
  }
106
 
107
  function wp_super_cache_init() {
108
- global $wp_cache_key, $key, $blogcacheid, $wp_cache_request_uri, $file_prefix, $blog_cache_dir, $meta_file, $cache_file, $cache_filename, $meta_pathname, $wp_cache_gzip_encoding, $meta;
109
 
110
  $wp_cache_key = get_wp_cache_key();
111
  $key = $blogcacheid . md5( $wp_cache_key );
@@ -119,25 +113,19 @@ function wp_super_cache_init() {
119
  }
120
 
121
  function wp_cache_serve_cache_file() {
122
- global $key, $blogcacheid, $wp_cache_request_uri, $file_prefix, $blog_cache_dir, $meta_file, $cache_file, $cache_filename, $meta_pathname, $wp_cache_gzip_encoding, $meta;
123
- global $wp_cache_object_cache, $cache_compression, $wp_cache_slash_check, $wp_supercache_304, $wp_cache_home_path, $wp_cache_no_cache_for_get;
124
- global $wp_cache_disable_utf8, $wp_cache_mfunc_enabled;
125
 
126
  extract( wp_super_cache_init() );
127
 
128
  if ( wp_cache_user_agent_is_rejected() ) {
129
- wp_cache_debug( "No wp-cache file served as user agent rejected.", 5 );
130
- return false;
131
- }
132
-
133
- if ( $wp_cache_no_cache_for_get && false == empty( $_GET ) ) {
134
- wp_cache_debug( "Non empty GET request. Caching disabled on settings page. " . print_r( $_GET, 1 ), 1 );
135
  return false;
136
  }
137
 
138
- if ( $wp_cache_object_cache && wp_cache_get_cookies_values() == '' ) {
139
  if ( !empty( $_GET ) ) {
140
- wp_cache_debug( "Non empty GET request. Not serving request from object cache. " . print_r( $_GET, 1 ), 1 );
141
  return false;
142
  }
143
 
@@ -150,17 +138,17 @@ function wp_cache_serve_cache_file() {
150
  $cache = wp_cache_get( $oc_key, 'supercache' );
151
  $meta = unserialize( wp_cache_get( $meta_filename, 'supercache' ) );
152
  if ( is_array( $meta ) == false ) {
153
- wp_cache_debug( "Meta array from object cache corrupt. Ignoring cache.", 1 );
154
  return true;
155
  }
156
  } elseif ( file_exists( $cache_file ) ) {
157
- wp_cache_debug( "wp-cache file exists: $cache_file", 5 );
158
- if ( !( $meta = unserialize( @file_get_contents( $meta_pathname) ) ) ) {
159
- wp_cache_debug( "couldn't load wp-cache meta file", 5 );
160
  return true;
161
  }
162
  if ( is_array( $meta ) == false ) {
163
- wp_cache_debug( "meta array corrupt, deleting $meta_pathname and $cache_file", 1 );
164
  @unlink( $meta_pathname );
165
  @unlink( $cache_file );
166
  return true;
@@ -169,150 +157,129 @@ function wp_cache_serve_cache_file() {
169
  // last chance, check if a supercache file exists. Just in case .htaccess rules don't work on this host
170
  $filename = supercache_filename();
171
  $file = get_current_url_supercache_dir() . $filename;
172
- if ( false == file_exists( $file ) ) {
173
- wp_cache_debug( "No Super Cache file found for current URL: $file" );
174
- return false;
175
- } elseif ( false == empty( $_GET ) ) {
176
- wp_cache_debug( "GET array not empty. Cannot serve a supercache file. " . print_r( $_GET, 1 ) );
177
- return false;
178
- } elseif ( wp_cache_get_cookies_values() != '' ) {
179
- wp_cache_debug( "Cookies found. Cannot serve a supercache file. " . wp_cache_get_cookies_values() );
180
- return false;
181
  }
182
-
183
- if ( isset( $wp_cache_mfunc_enabled ) == false )
184
- $wp_cache_mfunc_enabled = 0;
185
-
186
  if ( false == isset( $wp_cache_home_path ) )
187
  $wp_cache_home_path = '/';
188
-
189
- // make sure ending slashes are ok
190
- if ( $wp_cache_request_uri == $wp_cache_home_path || ( $wp_cache_slash_check && substr( $wp_cache_request_uri, -1 ) == '/' ) || ( $wp_cache_slash_check == 0 && substr( $wp_cache_request_uri, -1 ) != '/' ) ) {
191
-
192
- if ( $wp_cache_mfunc_enabled == 0 ) {
193
- // get data from file
194
- if ( $wp_cache_gzip_encoding ) {
195
- if ( file_exists( $file . '.gz' ) ) {
196
- $cachefiledata = file_get_contents( $file . '.gz' );
197
- wp_cache_debug( "Fetched gzip static page data from supercache file using PHP. File: $file.gz" );
198
- } else {
199
- $cachefiledata = gzencode( file_get_contents( $file ), 6, FORCE_GZIP );
200
- wp_cache_debug( "Fetched static page data from supercache file using PHP and gzipped it. File: $file" );
201
- }
202
- } else {
203
- $cachefiledata = file_get_contents( $file );
204
- wp_cache_debug( "Fetched static page data from supercache file using PHP. File: $file" );
205
- }
206
- } else {
207
- // get dynamic data from filtered file
208
- $cachefiledata = do_cacheaction( 'wpsc_cachedata', file_get_contents( $file ) );
209
- if ( $wp_cache_gzip_encoding ) {
210
- $cachefiledata = gzencode( $cachefiledata, 6, FORCE_GZIP );
211
- wp_cache_debug( "Fetched dynamic page data from supercache file using PHP and gzipped it. File: $file" );
212
- } else {
213
- wp_cache_debug( "Fetched dynamic page data from supercache file using PHP. File: $file" );
214
- }
215
- }
216
-
217
- if ( isset( $wp_cache_disable_utf8 ) == false || $wp_cache_disable_utf8 == 0 )
218
- header( "Content-type: text/html; charset=UTF-8" );
219
-
220
  header( "Vary: Accept-Encoding, Cookie" );
221
  header( "Cache-Control: max-age=3, must-revalidate" );
222
  header( "WP-Super-Cache: Served supercache file from PHP" );
223
- $size = function_exists( 'mb_strlen' ) ? mb_strlen( $cachefiledata, '8bit' ) : strlen( $cachefiledata );
224
- if ( $wp_cache_gzip_encoding ) {
225
  header( 'Content-Encoding: ' . $wp_cache_gzip_encoding );
226
- header( 'Content-Length: ' . $size );
227
- } elseif ( $wp_supercache_304 ) {
228
- header( 'Content-Length: ' . $size );
229
  }
230
 
231
- // don't try to match modified dates if using dynamic code.
232
- if ( $wp_cache_mfunc_enabled == 0 && $wp_supercache_304 ) {
233
  if ( function_exists( 'apache_request_headers' ) ) {
234
  $request = apache_request_headers();
235
  $remote_mod_time = $request[ 'If-Modified-Since' ];
236
  } else {
237
- if ( isset( $_SERVER[ 'HTTP_IF_MODIFIED_SINCE' ] ) )
238
- $remote_mod_time = $_SERVER[ 'HTTP_IF_MODIFIED_SINCE' ];
239
- else
240
- $remote_mod_time = 0;
241
  }
242
  $local_mod_time = gmdate("D, d M Y H:i:s",filemtime( $file )).' GMT';
243
- if ( $remote_mod_time != 0 && $remote_mod_time == $local_mod_time ) {
244
  header("HTTP/1.0 304 Not Modified");
245
  exit();
246
  }
247
  header( 'Last-Modified: ' . $local_mod_time );
248
  }
249
- echo $cachefiledata;
250
- exit();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  } else {
252
- wp_cache_debug( "No wp-cache file exists. Must generate a new one." );
253
  return false;
254
  }
255
  }
256
-
257
  $cache_file = do_cacheaction( 'wp_cache_served_cache_file', $cache_file );
258
  // Sometimes the gzip headers are lost. Make sure html returned isn't compressed!
259
  if ( $cache_compression && $wp_cache_gzip_encoding && !in_array( 'Content-Encoding: ' . $wp_cache_gzip_encoding, $meta[ 'headers' ] ) ) {
260
  $ungzip = true;
261
- wp_cache_debug( "GZIP headers not found. Force uncompressed output.", 1 );
262
  } else {
263
  $ungzip = false;
264
  }
265
  foreach ($meta[ 'headers' ] as $t => $header) {
266
  // godaddy fix, via http://blog.gneu.org/2008/05/wp-supercache-on-godaddy/ and http://www.littleredrails.com/blog/2007/09/08/using-wp-cache-on-godaddy-500-error/
267
- if( strpos( $header, 'Last-Modified:' ) === false )
268
  header($header);
269
  }
270
  header( 'WP-Super-Cache: Served legacy cache file' );
271
- if ( $wp_cache_object_cache ) {
272
  if ( $cache ) {
273
  if ( $ungzip ) {
274
- // attempt to uncompress the cached file just in case it's gzipped
275
  $uncompressed = gzuncompress( $cache );
276
  if ( $uncompressed ) {
277
- wp_cache_debug( "Uncompressed gzipped cache file from object cache", 1 );
278
  $cache = $uncompressed;
279
  unset( $uncompressed );
280
  }
281
  }
282
  if ( isset( $meta[ 'dynamic' ] ) && $meta[ 'dynamic' ] ) {
283
- wp_cache_debug( "Serving wp-cache dynamic file from object cache", 5 );
284
- echo do_cacheaction( 'wpsc_cachedata', $cache );
285
  } else {
286
- wp_cache_debug( "Serving wp-cache static file from object cache", 5 );
287
  echo $cache;
288
  }
289
- wp_cache_debug( "exit request", 5 );
290
  die();
291
  }
292
  } else {
293
- if ( isset( $meta[ 'dynamic' ] ) ) {
294
- wp_cache_debug( "Serving wp-cache dynamic file", 5 );
295
  if ( $ungzip ) {
296
- // attempt to uncompress the cached file just in case it's gzipped
297
  $cache = file_get_contents( $cache_file );
298
  $uncompressed = @gzuncompress( $cache );
299
  if ( $uncompressed ) {
300
- wp_cache_debug( "Uncompressed gzipped cache file from wp-cache", 1 );
301
  unset( $cache );
302
- echo do_cacheaction( 'wpsc_cachedata', $uncompressed );
303
  } else {
304
- echo do_cacheaction( 'wpsc_cachedata', $cache );
305
  }
306
  } else {
307
- echo do_cacheaction( 'wpsc_cachedata', file_get_contents( $cache_file ) );
308
  }
309
  } else {
310
- wp_cache_debug( "Serving wp-cache static file", 5 );
311
  if ( $ungzip ) {
312
  $cache = file_get_contents( $cache_file );
313
  $uncompressed = gzuncompress( $cache );
314
  if ( $uncompressed ) {
315
- wp_cache_debug( "Uncompressed gzipped cache file from wp-cache", 1 );
316
  echo $uncompressed;
317
  } else {
318
  echo $cache;
@@ -321,7 +288,7 @@ function wp_cache_serve_cache_file() {
321
  readfile( $cache_file );
322
  }
323
  }
324
- wp_cache_debug( "exit request", 5 );
325
  die();
326
  }
327
  }
@@ -336,13 +303,13 @@ if ( !isset( $wp_super_cache_late_init ) || ( isset( $wp_super_cache_late_init )
336
  }
337
 
338
  function wp_cache_postload() {
339
- global $cache_enabled, $wp_super_cache_late_init;
340
 
341
- if ( !$cache_enabled )
342
  return true;
343
 
344
  if ( isset( $wp_super_cache_late_init ) && true == $wp_super_cache_late_init ) {
345
- wp_cache_debug( "Supercache Late Init: add wp_cache_serve_cache_file to init", 3 );
346
  add_action( 'init', 'wp_cache_late_loader', 9999 );
347
  } else {
348
  wp_super_cache_init();
@@ -351,22 +318,17 @@ function wp_cache_postload() {
351
  }
352
 
353
  function wp_cache_late_loader() {
354
- wp_cache_debug( "Supercache Late Loader running on init", 3 );
 
355
  wp_cache_serve_cache_file();
356
  wp_cache_phase2();
357
  }
358
 
359
  function wp_cache_get_cookies_values() {
360
  $string = '';
361
- $regex = "/^wp-postpass|^comment_author_";
362
- if ( defined( 'LOGGED_IN_COOKIE' ) )
363
- $regex .= "|^" . preg_quote( constant( 'LOGGED_IN_COOKIE' ) );
364
- else
365
- $regex .= "|^wordpress_logged_in_";
366
- $regex .= "/";
367
  while ($key = key($_COOKIE)) {
368
- if ( preg_match( $regex, $key ) ) {
369
- wp_cache_debug( "wp_cache_get_cookies_values: $regex Cookie detected: $key", 5 );
370
  $string .= $_COOKIE[ $key ] . ",";
371
  }
372
  next($_COOKIE);
@@ -395,7 +357,7 @@ function do_cacheaction( $action, $value = '' ) {
395
  if ( is_array( $func ) ) {
396
  $value = $func[0]->{$func[1]}( $value );
397
  } else {
398
- $value = $func( $value );
399
  }
400
  }
401
  }
@@ -416,44 +378,25 @@ function wp_cache_mobile_group( $user_agent ) {
416
  return "mobile";
417
  }
418
 
419
- // From http://wordpress.org/plugins/wordpress-mobile-edition/ by Alex King
420
  function wp_cache_check_mobile( $cache_key ) {
421
  global $wp_cache_mobile_enabled, $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes;
422
  if ( !isset( $wp_cache_mobile_enabled ) || false == $wp_cache_mobile_enabled )
423
  return $cache_key;
424
 
425
- wp_cache_debug( "wp_cache_check_mobile: $cache_key" );
426
-
427
- // allow plugins to short circuit mobile check. Cookie, extra UA checks?
428
- switch( do_cacheaction( 'wp_cache_check_mobile', $cache_key ) ) {
429
- case "normal":
430
- wp_cache_debug( "wp_cache_check_mobile: desktop user agent detected by wp_cache_check_mobile action" );
431
- return $cache_key;
432
- break;
433
- case "mobile":
434
- wp_cache_debug( "wp_cache_check_mobile: mobile user agent detected by wp_cache_check_mobile action" );
435
- return $cache_key . "-mobile";
436
- break;
437
- }
438
-
439
  if ( !isset( $_SERVER[ "HTTP_USER_AGENT" ] ) ) {
440
  return $cache_key;
441
  }
442
 
443
- if ( do_cacheaction( 'disable_mobile_check', false ) ) {
444
- wp_cache_debug( "wp_cache_check_mobile: disable_mobile_check disabled mobile check" );
445
- return $cache_key;
446
- }
447
-
448
  $browsers = explode( ',', $wp_cache_mobile_browsers );
449
  $user_agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
450
  foreach ($browsers as $browser) {
451
  if ( strstr( $user_agent, trim( strtolower( $browser ) ) ) ) {
452
- wp_cache_debug( "mobile browser detected: " . $_SERVER[ "HTTP_USER_AGENT" ], 5 );
453
  return $cache_key . '-' . wp_cache_mobile_group( $user_agent );
454
  }
455
  }
456
- if (isset($_SERVER['HTTP_X_WAP_PROFILE']) )
457
  return $cache_key . '-' . $_SERVER['HTTP_X_WAP_PROFILE'];
458
  if (isset($_SERVER['HTTP_PROFILE']) )
459
  return $cache_key . '-' . $_SERVER['HTTP_PROFILE'];
@@ -462,12 +405,12 @@ function wp_cache_check_mobile( $cache_key ) {
462
  $browsers = explode( ',', $wp_cache_mobile_prefixes );
463
  foreach ($browsers as $browser_prefix) {
464
  if ( substr($user_agent, 0, 4) == $browser_prefix ) {
465
- wp_cache_debug( "mobile browser (prefix) detected: " . $_SERVER[ "HTTP_USER_AGENT" ], 5 );
466
  return $cache_key . '-' . $browser_prefix;
467
  }
468
  }
469
  }
470
- $accept = isset( $_SERVER[ 'HTTP_ACCEPT' ] ) ? strtolower( $_SERVER[ 'HTTP_ACCEPT' ] ) : '';
471
  if (strpos($accept, 'wap') !== false) {
472
  return $cache_key . '-' . 'wap';
473
  }
@@ -475,42 +418,29 @@ function wp_cache_check_mobile( $cache_key ) {
475
  if (isset($_SERVER['ALL_HTTP']) && strpos(strtolower($_SERVER['ALL_HTTP']), 'operamini') !== false) {
476
  return $cache_key . '-' . 'operamini';
477
  }
478
-
479
  return $cache_key;
480
  }
481
 
482
- /**
483
- * Add a log message to the file, if debugging is turned on
484
- *
485
- * @param $message string The message that should be added to the log
486
- * @param $level int
487
- */
488
  function wp_cache_debug( $message, $level = 1 ) {
489
- global $wp_cache_debug_log, $cache_path, $wp_cache_debug_ip, $wp_super_cache_debug;
490
 
491
- // If either of the debug or log globals aren't set, then we can stop
492
- if ( !isset($wp_super_cache_debug)
493
- || !isset($wp_cache_debug_log) )
494
  return false;
495
 
496
- // If either the debug or log globals are false or empty, we can stop
497
- if ( $wp_super_cache_debug == false
498
- || $wp_cache_debug_log == '' )
499
  return false;
500
 
501
- // If the debug_ip has been set, but it doesn't match the ip of the requester
502
- // then we can stop.
503
- if ( isset($wp_cache_debug_ip)
504
- && $wp_cache_debug_ip != ''
505
- && $wp_cache_debug_ip != $_SERVER[ 'REMOTE_ADDR' ] )
506
  return false;
507
 
508
- // Log message: Date URI Message
509
- $log_messase = date('H:i:s') . " {$_SERVER['REQUEST_URI']} {$message}\n\r";
510
- // path to the log file in the cache folder
511
- $log_file = $cache_path . str_replace('/', '', str_replace('..', '', $wp_cache_debug_log));
512
 
513
- error_log($log_message, 3, $log_file);
 
 
514
  }
515
 
516
  function wp_cache_user_agent_is_rejected() {
@@ -519,8 +449,6 @@ function wp_cache_user_agent_is_rejected() {
519
  if (!function_exists('apache_request_headers')) return false;
520
  $headers = apache_request_headers();
521
  if (!isset($headers["User-Agent"])) return false;
522
- if ( false == is_array( $cache_rejected_user_agent ) )
523
- return false;
524
  foreach ($cache_rejected_user_agent as $expr) {
525
  if (strlen($expr) > 0 && stristr($headers["User-Agent"], $expr))
526
  return true;
@@ -528,63 +456,26 @@ function wp_cache_user_agent_is_rejected() {
528
  return false;
529
  }
530
 
531
- function get_supercache_dir( $blog_id = 0 ) {
532
  global $cache_path;
533
- if ( $blog_id == 0 ) {
534
- $home = get_option( 'home' );
535
- } else {
536
- $home = get_blog_option( $blog_id, 'home' );
537
- }
538
- return apply_filters( 'wp_super_cache_supercachedir', $cache_path . 'supercache/' . trailingslashit( strtolower( preg_replace( '/:.*$/', '', str_replace( 'http://', '', str_replace( 'https://', '', $home ) ) ) ) ) );
539
  }
540
  function get_current_url_supercache_dir( $post_id = 0 ) {
541
- global $cached_direct_pages, $cache_path, $wp_cache_request_uri, $WPSC_HTTP_HOST, $wp_cache_home_path;
542
  static $saved_supercache_dir = array();
543
 
544
  if ( isset( $saved_supercache_dir[ $post_id ] ) ) {
545
  return $saved_supercache_dir[ $post_id ];
546
  }
547
 
548
- $DONOTREMEMBER = 0;
549
  if ( $post_id != 0 ) {
550
- $site_url = site_url();
551
- $permalink = get_permalink( $post_id );
552
- if ( false === strpos( $permalink, $site_url ) ) {
553
- /*
554
- * Sometimes site_url doesn't return the siteurl. See http://wordpress.org/support/topic/wp-super-cache-not-refreshing-post-after-comments-made
555
- */
556
- $DONOTREMEMBER = 1;
557
- wp_cache_debug( "get_current_url_supercache_dir: warning! site_url ($site_url) not found in permalink ($permalink).", 1 );
558
- if ( false === strpos( $permalink, $WPSC_HTTP_HOST ) ) {
559
- wp_cache_debug( "get_current_url_supercache_dir: WARNING! SERVER_NAME ({$WPSC_HTTP_HOST}) not found in permalink ($permalink). ", 1 );
560
- $p = parse_url( $permalink );
561
- if ( is_array( $p ) ) {
562
- $uri = $p[ 'path' ];
563
- wp_cache_debug( "get_current_url_supercache_dir: WARNING! Using $uri as permalink. Used parse_url.", 1 );
564
- } else {
565
- wp_cache_debug( "get_current_url_supercache_dir: WARNING! Permalink ($permalink) could not be understood by parse_url. Using front page.", 1 );
566
- $uri = '';
567
- }
568
- } else {
569
- if ( isset( $_SERVER[ 'HTTPS' ] ) )
570
- $protocol = ( 'on' == strtolower( $_SERVER[ 'HTTPS' ] ) ) ? 'https://' : 'http://';
571
- else
572
- $protocol = 'http://';
573
- wp_cache_debug( "get_current_url_supercache_dir: Removing SERVER_NAME ({$WPSC_HTTP_HOST}) and $protocol from permalink ($permalink). Is the url right?", 1 );
574
- $uri = str_replace( $WPSC_HTTP_HOST, '', $permalink );
575
- $uri = str_replace( $protocol, '', $uri );
576
- }
577
- } else {
578
- $uri = str_replace( $site_url, '', $permalink );
579
- if ( strpos( $uri, $wp_cache_home_path ) !== 0 )
580
- $uri = rtrim( $wp_cache_home_path, '/' ) . $uri;
581
- }
582
  } else {
583
  $uri = strtolower( $wp_cache_request_uri );
584
  }
585
  $uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '/index.php', '/', str_replace( '..', '', preg_replace("/(\?.*)?$/", '', $uri ) ) ) );
586
  $uri = str_replace( '\\', '', $uri );
587
- $dir = preg_replace( '/:.*$/', '', $WPSC_HTTP_HOST ) . $uri; // To avoid XSS attacks
588
  if ( function_exists( "apply_filters" ) ) {
589
  $dir = apply_filters( 'supercache_dir', $dir );
590
  } else {
@@ -595,9 +486,8 @@ function get_current_url_supercache_dir( $post_id = 0 ) {
595
  $dir = ABSPATH . $uri . '/';
596
  }
597
  $dir = str_replace( '//', '/', $dir );
598
- wp_cache_debug( "supercache dir: $dir", 5 );
599
- if ( $DONOTREMEMBER == 0 )
600
- $saved_supercache_dir[ $post_id ] = $dir;
601
  return $dir;
602
  }
603
 
@@ -608,7 +498,7 @@ function get_all_supercache_filenames( $dir = '' ) {
608
 
609
  if ( $dir != '' && isset( $wp_cache_mobile_enabled ) && $wp_cache_mobile_enabled ) {
610
  // open directory and look for index-*.html files
611
- if ( is_dir( $dir ) && $dh = @opendir( $dir ) ) {
612
  while ( ( $file = readdir( $dh ) ) !== false ) {
613
  if ( substr( $file, 0, 6 ) == 'index-' && strpos( $file, '.html' ) )
614
  $filenames[] = $file;
@@ -633,7 +523,7 @@ function get_all_supercache_filenames( $dir = '' ) {
633
 
634
  function supercache_filename() {
635
  //Add support for https and http caching
636
- $is_https = ( ( isset( $_SERVER[ 'HTTPS' ] ) && 'on' == strtolower( $_SERVER[ 'HTTPS' ] ) ) || ( isset( $_SERVER[ 'HTTP_X_FORWARDED_PROTO' ] ) && 'https' == strtolower( $_SERVER[ 'HTTP_X_FORWARDED_PROTO' ] ) ) ); //Also supports https requests coming from an nginx reverse proxy
637
  $extra_str = $is_https ? '-https' : '';
638
 
639
  if ( function_exists( "apply_filters" ) ) {
@@ -664,10 +554,10 @@ function reset_oc_version( $version = 1 ) {
664
  }
665
 
666
  function get_oc_key( $url = false ) {
667
- global $wp_cache_gzip_encoding, $WPSC_HTTP_HOST;
668
 
669
  if ( $url ) {
670
- $key = intval( $_SERVER[ 'SERVER_PORT' ] ) . strtolower( preg_replace( '/:.*$/', '', $WPSC_HTTP_HOST ) ) . $url;
671
  } else {
672
  $key = get_current_url_supercache_dir();
673
  }
@@ -676,20 +566,15 @@ function get_oc_key( $url = false ) {
676
 
677
  function wp_supercache_cache_for_admins() {
678
  if ( isset( $_GET[ 'preview' ] ) || function_exists( "is_admin" ) && is_admin() )
679
- return true;
680
-
681
- if ( false == do_cacheaction( 'wp_supercache_remove_cookies', true ) )
682
- return true;
683
 
684
  $cookie_keys = array( 'wordpress_logged_in', 'comment_author_' );
685
- if ( defined( 'LOGGED_IN_COOKIE' ) )
686
- $cookie_keys[] = constant( 'LOGGED_IN_COOKIE' );
687
  reset( $_COOKIE );
688
  foreach( $_COOKIE as $cookie => $val ) {
689
  reset( $cookie_keys );
690
  foreach( $cookie_keys as $key ) {
691
  if ( strpos( $cookie, $key ) !== FALSE ) {
692
- wp_cache_debug( 'Removing auth from $_COOKIE to allow caching for logged in user (' . $cookie . ')', 5 );
693
  unset( $_COOKIE[ $cookie ] );
694
  }
695
  }
10
  if( !defined( 'WPCACHEHOME' ) )
11
  define('WPCACHEHOME', dirname(__FILE__).'/');
12
 
 
13
  include( WPCACHEHOME . 'wp-cache-base.php');
14
 
15
  if( $blogcacheid != '' ) {
18
  $blog_cache_dir = $cache_path;
19
  }
20
 
 
 
21
  $mutex_filename = 'wp_cache_mutex.lock';
22
  $new_cache = false;
23
 
30
  $cache_enabled = false;
31
  define( 'DONOTCACHEPAGE', 1 );
32
  }
33
+ if ( isset( $wp_cache_make_known_anon ) && $wp_cache_make_known_anon )
34
+ wp_supercache_cache_for_admins();
35
 
36
  $plugins = glob( $wp_cache_plugins_dir . '/*.php' );
37
  if( is_array( $plugins ) ) {
41
  }
42
  }
43
 
 
 
 
44
  do_cacheaction( 'cache_init' );
45
 
46
+ if (!$cache_enabled || $_SERVER["REQUEST_METHOD"] == 'POST')
47
  return true;
48
 
49
  $file_expired = false;
58
  if ( 1 == ini_get( 'zlib.output_compression' ) || "on" == strtolower( ini_get( 'zlib.output_compression' ) ) ) // don't compress WP-Cache data files when PHP is already doing it
59
  return false;
60
 
61
+ if (strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') === false) return false;
62
  return 'gzip';
63
  }
64
 
73
  if ( $wp_cache_object_cache ) {
74
  if ( ! include_once( WP_CONTENT_DIR . '/object-cache.php' ) )
75
  return;
76
+
77
  wp_cache_init(); // Note: wp-settings.php calls wp_cache_init() which clobbers the object made here.
78
+
79
  if ( ! is_object( $wp_object_cache ) )
80
  return;
81
  }
82
 
83
+ if( false == @is_dir( $blog_cache_dir ) ) {
84
+ @mkdir( $cache_path . "blogs" );
85
+ @mkdir( $blog_cache_dir );
 
 
 
 
 
 
86
  }
87
 
88
+ if( false == @is_dir( $blog_cache_dir . 'meta' ) )
89
+ @mkdir( $blog_cache_dir . 'meta' );
90
+
91
+
92
  $wp_start_time = microtime();
93
 
94
  function get_wp_cache_key( $url = false ) {
95
+ global $wp_cache_request_uri, $wp_cache_gzip_encoding;
96
  if ( !$url )
97
  $url = $wp_cache_request_uri;
98
+ return do_cacheaction( 'wp_cache_key', $_SERVER['HTTP_HOST'] . intval( $_SERVER[ 'SERVER_PORT' ] ) . preg_replace('/#.*$/', '', str_replace( '/index.php', '/', $url ) ) . $wp_cache_gzip_encoding . wp_cache_get_cookies_values() );
99
  }
100
 
101
  function wp_super_cache_init() {
102
+ global $wp_cache_key, $key, $blogcacheid, $wp_cache_request_uri, $file_prefix, $blog_cache_dir, $meta_file, $cache_file, $cache_filename, $wp_super_cache_debug, $meta_pathname, $wp_cache_gzip_encoding, $meta;
103
 
104
  $wp_cache_key = get_wp_cache_key();
105
  $key = $blogcacheid . md5( $wp_cache_key );
113
  }
114
 
115
  function wp_cache_serve_cache_file() {
116
+ global $key, $blogcacheid, $wp_cache_request_uri, $file_prefix, $blog_cache_dir, $meta_file, $cache_file, $cache_filename, $wp_super_cache_debug, $meta_pathname, $wp_cache_gzip_encoding, $meta;
117
+ global $wp_cache_object_cache, $cache_compression, $wp_cache_slash_check, $wp_supercache_304, $wp_cache_home_path;
 
118
 
119
  extract( wp_super_cache_init() );
120
 
121
  if ( wp_cache_user_agent_is_rejected() ) {
122
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "No wp-cache file served as user agent rejected.", 5 );
 
 
 
 
 
123
  return false;
124
  }
125
 
126
+ if ( $wp_cache_object_cache && wp_cache_get_cookies_values() == '' ) {
127
  if ( !empty( $_GET ) ) {
128
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Non empty GET request. Not serving request from object cache", 1 );
129
  return false;
130
  }
131
 
138
  $cache = wp_cache_get( $oc_key, 'supercache' );
139
  $meta = unserialize( wp_cache_get( $meta_filename, 'supercache' ) );
140
  if ( is_array( $meta ) == false ) {
141
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Meta array from object cache corrupt. Ignoring cache.", 1 );
142
  return true;
143
  }
144
  } elseif ( file_exists( $cache_file ) ) {
145
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "wp-cache file exists: $cache_file", 5 );
146
+ if ( !( $meta = unserialize( @file_get_contents( $meta_pathname) ) ) ) {
147
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "couldn't load wp-cache meta file", 5 );
148
  return true;
149
  }
150
  if ( is_array( $meta ) == false ) {
151
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "meta array corrupt, deleting $meta_pathname and $cache_file", 1 );
152
  @unlink( $meta_pathname );
153
  @unlink( $cache_file );
154
  return true;
157
  // last chance, check if a supercache file exists. Just in case .htaccess rules don't work on this host
158
  $filename = supercache_filename();
159
  $file = get_current_url_supercache_dir() . $filename;
160
+ $phpfile = get_current_url_supercache_dir() . $filename . ".php";
161
+ $serving_supercache = false;
162
+ if ( file_exists( $file ) ) {
163
+ $serving_supercache = 'html';
164
+ } elseif ( file_exists( $phpfile ) ) {
165
+ $serving_supercache = 'php';
 
 
 
166
  }
 
 
 
 
167
  if ( false == isset( $wp_cache_home_path ) )
168
  $wp_cache_home_path = '/';
169
+ if (
170
+ (
171
+ $wp_cache_request_uri == $wp_cache_home_path ||
172
+ ( $wp_cache_slash_check && substr( $wp_cache_request_uri, -1 ) == '/' ) ||
173
+ ( $wp_cache_slash_check == 0 && substr( $wp_cache_request_uri, -1 ) != '/' )
174
+ ) &&
175
+ ( wp_cache_get_cookies_values() == '' && empty( $_GET ) && $serving_supercache ) )
176
+ {
177
+ header( "Content-type: text/html; charset=UTF-8" ); // UTF-8 hard coded is bad but we don't know what it is this early in the process
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  header( "Vary: Accept-Encoding, Cookie" );
179
  header( "Cache-Control: max-age=3, must-revalidate" );
180
  header( "WP-Super-Cache: Served supercache file from PHP" );
181
+ if ( file_exists( $file . '.gz' ) && $wp_cache_gzip_encoding ) {
182
+ $file = $file . '.gz';
183
  header( 'Content-Encoding: ' . $wp_cache_gzip_encoding );
184
+ header( 'Content-Length: ' . filesize( $file ) );
185
+ } elseif ( $serving_supercache == 'html' && $wp_supercache_304 ) {
186
+ header( 'Content-Length: ' . filesize( $file ) );
187
  }
188
 
189
+ if ( $serving_supercache == 'html' && $wp_supercache_304 ) {
 
190
  if ( function_exists( 'apache_request_headers' ) ) {
191
  $request = apache_request_headers();
192
  $remote_mod_time = $request[ 'If-Modified-Since' ];
193
  } else {
194
+ $remote_mod_time = $_SERVER[ 'HTTP_IF_MODIFIED_SINCE' ];
 
 
 
195
  }
196
  $local_mod_time = gmdate("D, d M Y H:i:s",filemtime( $file )).' GMT';
197
+ if ( $remote_mod_time == $local_mod_time ) {
198
  header("HTTP/1.0 304 Not Modified");
199
  exit();
200
  }
201
  header( 'Last-Modified: ' . $local_mod_time );
202
  }
203
+ if ( $serving_supercache == 'html' ) {
204
+ readfile( $file );
205
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Served page from supercache file using PHP.", 5 );
206
+ exit();
207
+ } elseif ( $serving_supercache == 'php' ) {
208
+ $cachefiledata = file_get_contents($phpfile);
209
+ if ( $cache_compression and $wp_cache_gzip_encoding ) {
210
+ ob_start("ob_gzhandler");
211
+ eval( '?>' . $cachefiledata . '<?php ' );
212
+ echo "\n<!-- Compression = gzip -->\n";
213
+ ob_end_flush();
214
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Served compressed dynamic page from supercache file using PHP. File: $file", 5 );
215
+ } else {
216
+ eval( '?>' . $cachefiledata . '<?php ' );
217
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Served dynamic page from supercache file using PHP. File: $file", 5 );
218
+ }
219
+ exit();
220
+ }
221
  } else {
222
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "No wp-cache file exists. Must generate a new one.", 5 );
223
  return false;
224
  }
225
  }
 
226
  $cache_file = do_cacheaction( 'wp_cache_served_cache_file', $cache_file );
227
  // Sometimes the gzip headers are lost. Make sure html returned isn't compressed!
228
  if ( $cache_compression && $wp_cache_gzip_encoding && !in_array( 'Content-Encoding: ' . $wp_cache_gzip_encoding, $meta[ 'headers' ] ) ) {
229
  $ungzip = true;
230
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "GZIP headers not found. Force uncompressed output.", 1 );
231
  } else {
232
  $ungzip = false;
233
  }
234
  foreach ($meta[ 'headers' ] as $t => $header) {
235
  // godaddy fix, via http://blog.gneu.org/2008/05/wp-supercache-on-godaddy/ and http://www.littleredrails.com/blog/2007/09/08/using-wp-cache-on-godaddy-500-error/
236
+ if( strpos( $header, 'Last-Modified:' ) === false )
237
  header($header);
238
  }
239
  header( 'WP-Super-Cache: Served legacy cache file' );
240
+ if ( $wp_cache_object_cache ) {
241
  if ( $cache ) {
242
  if ( $ungzip ) {
 
243
  $uncompressed = gzuncompress( $cache );
244
  if ( $uncompressed ) {
245
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Uncompressed gzipped cache file from object cache", 1 );
246
  $cache = $uncompressed;
247
  unset( $uncompressed );
248
  }
249
  }
250
  if ( isset( $meta[ 'dynamic' ] ) && $meta[ 'dynamic' ] ) {
251
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Serving wp-cache dynamic file from object cache", 5 );
252
+ eval( '?>' . $cache . '<?php ' );
253
  } else {
254
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Serving wp-cache static file from object cache", 5 );
255
  echo $cache;
256
  }
257
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "exit request", 5 );
258
  die();
259
  }
260
  } else {
261
+ if ( $meta[ 'dynamic' ] ) {
262
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Serving wp-cache dynamic file", 5 );
263
  if ( $ungzip ) {
 
264
  $cache = file_get_contents( $cache_file );
265
  $uncompressed = @gzuncompress( $cache );
266
  if ( $uncompressed ) {
267
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Uncompressed gzipped cache file from wp-cache", 1 );
268
  unset( $cache );
269
+ eval( '?>' . $uncompressed . '<?php ' );
270
  } else {
271
+ eval( '?>' . $cache . '<?php ' );
272
  }
273
  } else {
274
+ include( $cache_file );
275
  }
276
  } else {
277
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Serving wp-cache static file", 5 );
278
  if ( $ungzip ) {
279
  $cache = file_get_contents( $cache_file );
280
  $uncompressed = gzuncompress( $cache );
281
  if ( $uncompressed ) {
282
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Uncompressed gzipped cache file from wp-cache", 1 );
283
  echo $uncompressed;
284
  } else {
285
  echo $cache;
288
  readfile( $cache_file );
289
  }
290
  }
291
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "exit request", 5 );
292
  die();
293
  }
294
  }
303
  }
304
 
305
  function wp_cache_postload() {
306
+ global $cache_enabled, $wp_super_cache_late_init, $wp_super_cache_debug;
307
 
308
+ if ( !$cache_enabled || isset( $_GET[ 'preview' ] ) )
309
  return true;
310
 
311
  if ( isset( $wp_super_cache_late_init ) && true == $wp_super_cache_late_init ) {
312
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Supercache Late Init: add wp_cache_serve_cache_file to init", 3 );
313
  add_action( 'init', 'wp_cache_late_loader', 9999 );
314
  } else {
315
  wp_super_cache_init();
318
  }
319
 
320
  function wp_cache_late_loader() {
321
+ global $wp_super_cache_debug;
322
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug ) wp_cache_debug( "Supercache Late Loader running on init", 3 );
323
  wp_cache_serve_cache_file();
324
  wp_cache_phase2();
325
  }
326
 
327
  function wp_cache_get_cookies_values() {
328
  $string = '';
 
 
 
 
 
 
329
  while ($key = key($_COOKIE)) {
330
+ if ( preg_match( "/^wp-postpass|^wordpress_logged_in|^comment_author_/", $key ) ) {
331
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Cookie detected: $key", 5 );
332
  $string .= $_COOKIE[ $key ] . ",";
333
  }
334
  next($_COOKIE);
357
  if ( is_array( $func ) ) {
358
  $value = $func[0]->{$func[1]}( $value );
359
  } else {
360
+ $value = $func( $value );
361
  }
362
  }
363
  }
378
  return "mobile";
379
  }
380
 
381
+ // From http://wordpress.org/extend/plugins/wordpress-mobile-edition/ by Alex King
382
  function wp_cache_check_mobile( $cache_key ) {
383
  global $wp_cache_mobile_enabled, $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes;
384
  if ( !isset( $wp_cache_mobile_enabled ) || false == $wp_cache_mobile_enabled )
385
  return $cache_key;
386
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  if ( !isset( $_SERVER[ "HTTP_USER_AGENT" ] ) ) {
388
  return $cache_key;
389
  }
390
 
 
 
 
 
 
391
  $browsers = explode( ',', $wp_cache_mobile_browsers );
392
  $user_agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );
393
  foreach ($browsers as $browser) {
394
  if ( strstr( $user_agent, trim( strtolower( $browser ) ) ) ) {
395
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "mobile browser detected: " . $_SERVER[ "HTTP_USER_AGENT" ], 5 );
396
  return $cache_key . '-' . wp_cache_mobile_group( $user_agent );
397
  }
398
  }
399
+ if (isset($_SERVER['HTTP_X_WAP_PROFILE']) )
400
  return $cache_key . '-' . $_SERVER['HTTP_X_WAP_PROFILE'];
401
  if (isset($_SERVER['HTTP_PROFILE']) )
402
  return $cache_key . '-' . $_SERVER['HTTP_PROFILE'];
405
  $browsers = explode( ',', $wp_cache_mobile_prefixes );
406
  foreach ($browsers as $browser_prefix) {
407
  if ( substr($user_agent, 0, 4) == $browser_prefix ) {
408
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "mobile browser (prefix) detected: " . $_SERVER[ "HTTP_USER_AGENT" ], 5 );
409
  return $cache_key . '-' . $browser_prefix;
410
  }
411
  }
412
  }
413
+ $accept = strtolower($_SERVER['HTTP_ACCEPT']);
414
  if (strpos($accept, 'wap') !== false) {
415
  return $cache_key . '-' . 'wap';
416
  }
418
  if (isset($_SERVER['ALL_HTTP']) && strpos(strtolower($_SERVER['ALL_HTTP']), 'operamini') !== false) {
419
  return $cache_key . '-' . 'operamini';
420
  }
 
421
  return $cache_key;
422
  }
423
 
 
 
 
 
 
 
424
  function wp_cache_debug( $message, $level = 1 ) {
425
+ global $wp_cache_debug_level, $wp_cache_debug_log, $cache_path, $wp_cache_debug_ip, $wp_super_cache_debug;
426
 
427
+ if ( isset( $wp_super_cache_debug ) && $wp_super_cache_debug == false )
 
 
428
  return false;
429
 
430
+ if ( isset( $wp_cache_debug_log ) == false )
 
 
431
  return false;
432
 
433
+ if ( isset( $wp_cache_debug_level ) == false )
434
+ $wp_cache_debug_level = 1;
435
+ if ( $wp_cache_debug_level < $level )
 
 
436
  return false;
437
 
438
+ if ( isset( $wp_cache_debug_ip ) && $wp_cache_debug_ip != '' && $wp_cache_debug_ip != $_SERVER[ 'REMOTE_ADDR' ] )
439
+ return false;
 
 
440
 
441
+ if ( isset( $wp_cache_debug_log ) && $wp_cache_debug_log != '' ) {
442
+ error_log( date( 'H:i:s' ) . " " . $_SERVER[ 'REQUEST_URI' ] . " " . $message . "\n", 3, $cache_path . str_replace( '/', '', str_replace( '..', '', $wp_cache_debug_log ) ) );
443
+ }
444
  }
445
 
446
  function wp_cache_user_agent_is_rejected() {
449
  if (!function_exists('apache_request_headers')) return false;
450
  $headers = apache_request_headers();
451
  if (!isset($headers["User-Agent"])) return false;
 
 
452
  foreach ($cache_rejected_user_agent as $expr) {
453
  if (strlen($expr) > 0 && stristr($headers["User-Agent"], $expr))
454
  return true;
456
  return false;
457
  }
458
 
459
+ function get_supercache_dir() {
460
  global $cache_path;
461
+ return $cache_path . 'supercache/' . trailingslashit( strtolower( preg_replace( '/:.*$/', '', str_replace( 'http://', '', get_option( 'home' ) ) ) ) );
 
 
 
 
 
462
  }
463
  function get_current_url_supercache_dir( $post_id = 0 ) {
464
+ global $cached_direct_pages, $cache_path, $wp_cache_request_uri;
465
  static $saved_supercache_dir = array();
466
 
467
  if ( isset( $saved_supercache_dir[ $post_id ] ) ) {
468
  return $saved_supercache_dir[ $post_id ];
469
  }
470
 
 
471
  if ( $post_id != 0 ) {
472
+ $uri = str_replace( site_url(), '', get_permalink( $post_id ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
473
  } else {
474
  $uri = strtolower( $wp_cache_request_uri );
475
  }
476
  $uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '/index.php', '/', str_replace( '..', '', preg_replace("/(\?.*)?$/", '', $uri ) ) ) );
477
  $uri = str_replace( '\\', '', $uri );
478
+ $dir = preg_replace( '/:.*$/', '', $_SERVER["HTTP_HOST"] ) . $uri; // To avoid XSS attacks
479
  if ( function_exists( "apply_filters" ) ) {
480
  $dir = apply_filters( 'supercache_dir', $dir );
481
  } else {
486
  $dir = ABSPATH . $uri . '/';
487
  }
488
  $dir = str_replace( '//', '/', $dir );
489
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "supercache dir: $dir", 5 );
490
+ $saved_supercache_dir[ $post_id ] = $dir;
 
491
  return $dir;
492
  }
493
 
498
 
499
  if ( $dir != '' && isset( $wp_cache_mobile_enabled ) && $wp_cache_mobile_enabled ) {
500
  // open directory and look for index-*.html files
501
+ if ( is_dir( $dir ) && $dh = opendir( $dir ) ) {
502
  while ( ( $file = readdir( $dh ) ) !== false ) {
503
  if ( substr( $file, 0, 6 ) == 'index-' && strpos( $file, '.html' ) )
504
  $filenames[] = $file;
523
 
524
  function supercache_filename() {
525
  //Add support for https and http caching
526
+ $is_https = ('on' == strtolower($_SERVER['HTTPS']) || 'https' == strtolower($_SERVER['HTTP_X_FORWARDED_PROTO'])); //Also supports https requests coming from an nginx reverse proxy
527
  $extra_str = $is_https ? '-https' : '';
528
 
529
  if ( function_exists( "apply_filters" ) ) {
554
  }
555
 
556
  function get_oc_key( $url = false ) {
557
+ global $wp_cache_gzip_encoding;
558
 
559
  if ( $url ) {
560
+ $key = intval( $_SERVER[ 'SERVER_PORT' ] ) . strtolower( preg_replace( '/:.*$/', '', $_SERVER[ "HTTP_HOST" ] ) ) . $url;
561
  } else {
562
  $key = get_current_url_supercache_dir();
563
  }
566
 
567
  function wp_supercache_cache_for_admins() {
568
  if ( isset( $_GET[ 'preview' ] ) || function_exists( "is_admin" ) && is_admin() )
569
+ return $cookies;
 
 
 
570
 
571
  $cookie_keys = array( 'wordpress_logged_in', 'comment_author_' );
 
 
572
  reset( $_COOKIE );
573
  foreach( $_COOKIE as $cookie => $val ) {
574
  reset( $cookie_keys );
575
  foreach( $cookie_keys as $key ) {
576
  if ( strpos( $cookie, $key ) !== FALSE ) {
577
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Removing auth from $_COOKIE to allow caching for logged user (' . $cookie . ')', 5 );
578
  unset( $_COOKIE[ $cookie ] );
579
  }
580
  }
wp-cache-phase2.php CHANGED
@@ -1,28 +1,23 @@
1
  <?php
2
 
3
  function wp_cache_phase2() {
 
4
  global $cache_filename, $cache_acceptable_files, $wp_cache_gzip_encoding, $super_cache_enabled, $cache_rebuild_files, $wp_cache_last_gc;
5
  global $cache_max_time, $wp_cache_request_uri, $super_cache_enabled, $wp_cache_object_cache, $cache_time_interval;
6
  global $cache_enabled, $wp_cache_gmt_offset, $wp_cache_blog_charset, $cache_schedule_type, $cache_scheduled_time, $cache_schedule_interval;
7
 
8
- if ( $cache_enabled == false ) {
9
- wp_cache_debug( "Caching disabled! quiting!", 1 );
10
  return false;
11
- }
12
 
13
- wp_cache_debug( 'In WP Cache Phase 2', 5 );
14
 
15
  $wp_cache_gmt_offset = get_option( 'gmt_offset' ); // caching for later use when wpdb is gone. http://wordpress.org/support/topic/224349
16
  $wp_cache_blog_charset = get_option( 'blog_charset' );
17
 
18
  wp_cache_mutex_init();
19
  if(function_exists('add_action') && ( !defined( 'WPLOCKDOWN' ) || ( defined( 'WPLOCKDOWN' ) && constant( 'WPLOCKDOWN' ) == '0' ) ) ) {
20
- wp_cache_debug( 'Setting up WordPress actions', 5 );
21
-
22
- add_action( 'template_redirect', 'wp_super_cache_query_vars' );
23
-
24
  // Post ID is received
25
- add_action('wp_trash_post', 'wp_cache_post_edit', 0);
26
  add_action('publish_post', 'wp_cache_post_edit', 0);
27
  add_action('edit_post', 'wp_cache_post_change', 0); // leaving a comment called edit_post
28
  add_action('delete_post', 'wp_cache_post_edit', 0);
@@ -36,32 +31,53 @@ function wp_cache_phase2() {
36
  // No post_id is available
37
  add_action('switch_theme', 'wp_cache_no_postid', 99);
38
  add_action('edit_user_profile_update', 'wp_cache_no_postid', 99);
39
- add_action( 'wp_update_nav_menu', 'wp_cache_clear_cache_on_menu' );
40
  add_action('wp_cache_gc','wp_cache_gc_cron');
41
- add_action( 'clean_post_cache', 'wp_cache_post_edit' );
42
  add_filter( 'supercache_filename_str', 'wp_cache_check_mobile' );
43
- add_action( 'wp_cache_gc_watcher', 'wp_cache_gc_watcher' );
44
- add_action( 'transition_post_status', 'wpsc_post_transition', 10, 3 );
45
 
46
  do_cacheaction( 'add_cacheaction' );
47
  }
48
 
49
  if ( is_admin() ) {
50
- wp_cache_debug( 'Not caching wp-admin requests.', 5 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  return false;
52
  }
53
 
54
  if ( !empty( $_GET ) ) {
55
- wp_cache_debug( 'Supercache caching disabled. Only using wp-cache. Non empty GET request. ' . print_r( $_GET, 1 ), 5 );
56
  $super_cache_enabled = false;
57
  }
58
 
 
 
 
 
 
 
 
 
 
59
  if($wp_cache_gzip_encoding)
60
  header('Vary: Accept-Encoding, Cookie');
61
  else
62
  header('Vary: Cookie');
63
  ob_start( 'wp_cache_ob_callback' );
64
- wp_cache_debug( 'Created output buffer', 4 );
65
 
66
  // restore old supercache file temporarily
67
  if( $super_cache_enabled && $cache_rebuild_files ) {
@@ -83,12 +99,12 @@ function wpcache_do_rebuild( $dir ) {
83
  continue;
84
  $mtime = @filemtime($cache_file . '.needs-rebuild');
85
  if( $mtime && (time() - $mtime) < 30 ) {
86
- wp_cache_debug( "Rebuild file renamed to cache file temporarily: $cache_file", 3 );
87
  @rename( $cache_file . '.needs-rebuild', $cache_file );
88
  }
89
  // cleanup old files or if rename fails
90
  if( @file_exists( $cache_file . '.needs-rebuild' ) ) {
91
- wp_cache_debug( "Rebuild file deleted: {$cache_file}.needs-rebuild", 3 );
92
  @unlink( $cache_file . '.needs-rebuild' );
93
  }
94
  }
@@ -105,8 +121,6 @@ if ( !function_exists( 'wp_cache_user_agent_is_rejected' ) ) {
105
  if (!function_exists('apache_request_headers')) return false;
106
  $headers = apache_request_headers();
107
  if (!isset($headers["User-Agent"])) return false;
108
- if ( false == is_array( $cache_rejected_user_agent ) )
109
- return false;
110
  foreach ($cache_rejected_user_agent as $expr) {
111
  if (strlen($expr) > 0 && stristr($headers["User-Agent"], $expr))
112
  return true;
@@ -139,8 +153,6 @@ function wp_cache_is_rejected($uri) {
139
  if( strstr( $uri, $u ) )
140
  return true; // we don't allow caching of wp-admin for security reasons
141
  }
142
- if ( false == is_array( $cache_rejected_uri ) )
143
- return false;
144
  foreach ( $cache_rejected_uri as $expr ) {
145
  if( $expr != '' && @preg_match( "~$expr~", $uri ) )
146
  return true;
@@ -163,11 +175,10 @@ function wp_cache_mutex_init() {
163
 
164
  $mutex = false;
165
  if ($use_flock ) {
166
- setup_blog_cache_dir();
167
- wp_cache_debug( "Created mutex lock on filename: {$blog_cache_dir}{$mutex_filename}", 5 );
168
  $mutex = @fopen( $blog_cache_dir . $mutex_filename, 'w' );
169
  } else {
170
- wp_cache_debug( "Created mutex lock on semaphore: {$sem_id}", 5 );
171
  $mutex = @sem_get( $sem_id, 1, 0644 | IPC_CREAT, 1 );
172
  }
173
  }
@@ -179,15 +190,15 @@ function wp_cache_writers_entry() {
179
  return true;
180
 
181
  if( !$mutex ) {
182
- wp_cache_debug( "(writers entry) mutex lock not created. not caching.", 2 );
183
  return false;
184
  }
185
 
186
  if ( $use_flock ) {
187
- wp_cache_debug( "grabbing lock using flock()", 5 );
188
  flock($mutex, LOCK_EX);
189
  } else {
190
- wp_cache_debug( "grabbing lock using sem_acquire()", 5 );
191
  sem_acquire($mutex);
192
  }
193
 
@@ -201,175 +212,86 @@ function wp_cache_writers_exit() {
201
  return true;
202
 
203
  if( !$mutex ) {
204
- wp_cache_debug( "(writers exit) mutex lock not created. not caching.", 2 );
205
  return false;
206
  }
207
 
208
  if ( $use_flock ) {
209
- wp_cache_debug( "releasing lock using flock()", 5 );
210
  flock($mutex, LOCK_UN);
211
  } else {
212
- wp_cache_debug( "releasing lock using sem_release()", 5 );
213
  sem_release($mutex);
214
  }
215
  }
216
 
217
- function wp_super_cache_query_vars() {
218
- global $wp_super_cache_query;
219
- if ( is_search() )
220
- $wp_super_cache_query[ 'is_search' ] = 1;
221
- if ( is_page() )
222
- $wp_super_cache_query[ 'is_page' ] = 1;
223
- if ( is_archive() )
224
- $wp_super_cache_query[ 'is_archive' ] = 1;
225
- if ( is_tag() )
226
- $wp_super_cache_query[ 'is_tag' ] = 1;
227
- if ( is_single() )
228
- $wp_super_cache_query[ 'is_single' ] = 1;
229
- if ( is_category() )
230
- $wp_super_cache_query[ 'is_category' ] = 1;
231
- if ( is_front_page() )
232
- $wp_super_cache_query[ 'is_front_page' ] = 1;
233
- if ( is_home() )
234
- $wp_super_cache_query[ 'is_home' ] = 1;
235
- if ( is_author() )
236
- $wp_super_cache_query[ 'is_author' ] = 1;
237
- if ( is_feed() )
238
- $wp_super_cache_query[ 'is_feed' ] = 1;
239
- }
240
-
241
  function wp_cache_ob_callback( $buffer ) {
242
- global $wp_cache_pages, $wp_query, $wp_super_cache_query, $cache_acceptable_files, $wp_cache_no_cache_for_get, $wp_cache_object_cache, $wp_cache_request_uri;
243
  $buffer = apply_filters( 'wp_cache_ob_callback_filter', $buffer );
244
-
245
- $script = basename($_SERVER['PHP_SELF']);
246
-
247
- // All the things that can stop a page being cached
248
- $cache_this_page = true;
249
- if ( defined( 'DONOTCACHEPAGE' ) ) {
250
- wp_cache_debug( 'DONOTCACHEPAGE defined. Caching disabled.', 2 );
251
- $cache_this_page = false;
252
- } elseif ( $wp_cache_no_cache_for_get && false == empty( $_GET ) && false == defined( 'DOING_CRON' ) ) {
253
- wp_cache_debug( "Non empty GET request. Caching disabled on settings page. " . print_r( $_GET, 1 ), 1 );
254
- $cache_this_page = false;
255
- } elseif ( $_SERVER["REQUEST_METHOD"] == 'POST' || !empty( $_POST ) || get_option( 'gzipcompression' ) ) {
256
- wp_cache_debug( 'Not caching POST request.', 5 );
257
- $cache_this_page = false;
258
- } elseif ( $wp_cache_object_cache && !empty( $_GET ) ) {
259
- wp_cache_debug( 'Not caching GET request while object cache storage enabled.', 5 );
260
- $cache_this_page = false;
261
- } elseif ( isset( $_GET[ 'preview' ] ) ) {
262
- wp_cache_debug( 'Not caching preview post.', 2 );
263
- $cache_this_page = false;
264
- } elseif ( !in_array($script, $cache_acceptable_files) && wp_cache_is_rejected( $wp_cache_request_uri ) ) {
265
- wp_cache_debug( 'URI rejected. Not Caching', 2 );
266
- $cache_this_page = false;
267
- } elseif ( wp_cache_user_agent_is_rejected() ) {
268
- wp_cache_debug( "USER AGENT ({$_SERVER[ 'HTTP_USER_AGENT' ]}) rejected. Not Caching", 4 );
269
- $cache_this_page = false;
270
- } elseif ( isset( $wp_cache_pages[ 'single' ] ) && $wp_cache_pages[ 'single' ] == 1 && isset( $wp_super_cache_query[ 'is_single' ] ) ) {
271
- wp_cache_debug( 'Not caching single post.', 2 );
272
- $cache_this_page = false;
273
- } elseif ( isset( $wp_cache_pages[ 'pages' ] ) && $wp_cache_pages[ 'pages' ] == 1 && isset( $wp_super_cache_query[ 'is_page' ] ) ) {
274
- wp_cache_debug( 'Not caching single page.', 2 );
275
- $cache_this_page = false;
276
- } elseif ( isset( $wp_cache_pages[ 'archives' ] ) && $wp_cache_pages[ 'archives' ] == 1 && isset( $wp_super_cache_query[ 'is_archive' ] ) ) {
277
- wp_cache_debug( 'Not caching archive page.', 2 );
278
- $cache_this_page = false;
279
- } elseif ( isset( $wp_cache_pages[ 'tag' ] ) && $wp_cache_pages[ 'tag' ] == 1 && isset( $wp_super_cache_query[ 'is_tag' ] ) ) {
280
- wp_cache_debug( 'Not caching tag page.', 2 );
281
- $cache_this_page = false;
282
- } elseif ( isset( $wp_cache_pages[ 'category' ] ) && $wp_cache_pages[ 'category' ] == 1 && isset( $wp_super_cache_query[ 'is_category' ] ) ) {
283
- wp_cache_debug( 'Not caching category page.', 2 );
284
- $cache_this_page = false;
285
- } elseif ( isset( $wp_cache_pages[ 'frontpage' ] ) && $wp_cache_pages[ 'frontpage' ] == 1 && isset( $wp_super_cache_query[ 'is_front_page' ] ) ) {
286
- wp_cache_debug( 'Not caching front page.', 2 );
287
- $cache_this_page = false;
288
- } elseif ( isset( $wp_cache_pages[ 'home' ] ) && $wp_cache_pages[ 'home' ] == 1 && isset( $wp_super_cache_query[ 'is_home' ] ) ) {
289
- wp_cache_debug( 'Not caching home page.', 2 );
290
- $cache_this_page = false;
291
- } elseif ( isset( $wp_cache_pages[ 'search' ] ) && $wp_cache_pages[ 'search' ] == 1 && isset( $wp_super_cache_query[ 'is_search' ] ) ) {
292
- wp_cache_debug( 'Not caching search page.', 2 );
293
- $cache_this_page = false;
294
- } elseif ( isset( $wp_cache_pages[ 'author' ] ) && $wp_cache_pages[ 'author' ] == 1 && isset( $wp_super_cache_query[ 'is_author' ] ) ) {
295
- wp_cache_debug( 'Not caching author page.', 2 );
296
- $cache_this_page = false;
297
- } elseif ( isset( $wp_cache_pages[ 'feed' ] ) && $wp_cache_pages[ 'feed' ] == 1 && isset( $wp_super_cache_query[ 'is_feed' ] ) ) {
298
- wp_cache_debug( 'Not caching feed.', 2 );
299
- $cache_this_page = false;
300
  }
301
 
302
- if ( !isset( $wp_query ) )
303
- wp_cache_debug( 'wp_cache_ob_callback: WARNING! $query not defined but the plugin has worked around that problem.', 4 );
304
-
305
- if ( $cache_this_page ) {
306
-
307
- wp_cache_debug( 'Output buffer callback', 4 );
308
-
309
- $buffer = wp_cache_get_ob( $buffer );
310
- wp_cache_shutdown_callback();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
  return $buffer;
312
- } else {
313
- return wp_cache_maybe_dynamic( $buffer );
314
  }
 
 
 
 
 
 
315
  }
316
 
317
  function wp_cache_append_tag( &$buffer ) {
318
- global $wp_cache_gmt_offset, $wp_super_cache_comments;
319
  global $cache_enabled, $super_cache_enabled;
320
-
321
- if ( false == isset( $wp_super_cache_comments ) )
322
- $wp_super_cache_comments = 1;
323
-
324
- if ( $wp_super_cache_comments == 0 )
325
- return false;
326
-
327
  $timestamp = gmdate('Y-m-d H:i:s', (time() + ( $wp_cache_gmt_offset * 3600)));
328
  if ( $cache_enabled || $super_cache_enabled ) {
329
- $buffer .= "\n<!-- Cached page generated by WP-Super-Cache on $timestamp -->\n";
330
- } else {
331
- $buffer .= "\n<!-- Live page served on $timestamp -->\n";
332
- }
333
- }
334
-
335
- function wp_cache_add_to_buffer( &$buffer, $text ) {
336
- global $wp_super_cache_comments;
337
-
338
- if ( false == isset( $wp_super_cache_comments ) )
339
- $wp_super_cache_comments = 1;
340
-
341
- if ( $wp_super_cache_comments == 0 )
342
- return false;
343
-
344
- $buffer .= "\n<!-- $text -->";
345
- }
346
-
347
- /*
348
- * If dynamic caching is enabled then run buffer through wpsc_cachedata filter before returning it.
349
- * or we'll return template tags to visitors.
350
- */
351
- function wp_cache_maybe_dynamic( &$buffer ) {
352
- global $wp_cache_mfunc_enabled;
353
- if ( $wp_cache_mfunc_enabled == 1 && do_cacheaction( 'wpsc_cachedata_safety', 0 ) === 1 ) {
354
- wp_cache_debug( 'wp_cache_maybe_dynamic: filtered $buffer through wpsc_cachedata', 4 );
355
- return do_cacheaction( 'wpsc_cachedata', $buffer ); // dynamic content for display
356
  } else {
357
- wp_cache_debug( 'wp_cache_maybe_dynamic: returned $buffer', 4 );
358
- return $buffer;
359
  }
360
  }
361
 
362
  function wp_cache_get_ob(&$buffer) {
 
363
  global $cache_enabled, $cache_path, $cache_filename, $meta_file, $wp_start_time, $supercachedir;
364
  global $new_cache, $wp_cache_meta, $file_expired, $blog_id, $cache_compression;
365
  global $wp_cache_gzip_encoding, $super_cache_enabled, $cached_direct_pages;
366
  global $wp_cache_404, $gzsize, $supercacheonly;
367
  global $blog_cache_dir, $wp_cache_request_uri, $wp_supercache_cache_list;
368
  global $wp_cache_not_logged_in, $wp_cache_object_cache, $cache_max_time;
369
- global $wp_cache_is_home, $wp_cache_front_page_checks, $wp_cache_mfunc_enabled;
370
-
371
- if ( isset( $wp_cache_mfunc_enabled ) == false )
372
- $wp_cache_mfunc_enabled = 0;
373
 
374
  $new_cache = true;
375
  $wp_cache_meta = '';
@@ -380,7 +302,7 @@ function wp_cache_get_ob(&$buffer) {
380
  $new_cache = false;
381
  if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) {
382
  wp_cache_debug( "Buffer is blank. Output buffer may have been corrupted by another plugin or this is a redirected URL. Look for text 'ob_start' in the files of your plugins directory.", 2 );
383
- wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. Blank Page. Check output buffer usage by plugins." );
384
  }
385
  }
386
 
@@ -388,37 +310,37 @@ function wp_cache_get_ob(&$buffer) {
388
  $new_cache = false;
389
  if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) {
390
  wp_cache_debug( "404 file not found not cached", 2 );
391
- wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. 404." );
392
  }
393
  }
394
 
395
- if ( !preg_match( apply_filters( 'wp_cache_eof_tags', '/(<\/html>|<\/rss>|<\/feed>|<\/urlset|<\?xml)/i' ), $buffer ) ) {
396
  $new_cache = false;
397
  if( false === strpos( $_SERVER[ 'REQUEST_URI' ], 'robots.txt' ) ) {
398
  if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) {
399
  wp_cache_debug( "No closing html tag. Not caching.", 2 );
400
- wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. No closing HTML tag. Check your theme." );
401
  }
402
  } else {
403
- wp_cache_debug( "robots.txt detected. Not caching.", 2 );
404
  }
405
  }
406
 
407
  if( !$new_cache )
408
- return wp_cache_maybe_dynamic( $buffer );
409
 
410
  $duration = wp_cache_microtime_diff($wp_start_time, microtime());
411
  $duration = sprintf("%0.3f", $duration);
412
- wp_cache_add_to_buffer( $buffer, "Dynamic page generated in $duration seconds." );
413
 
414
  if( !wp_cache_writers_entry() ) {
415
- wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. Could not get mutex lock." );
416
- wp_cache_debug( "Could not get mutex lock. Not caching.", 1 );
417
- return wp_cache_maybe_dynamic( $buffer );
418
  }
419
 
420
  if ( $wp_cache_not_logged_in && is_feed() ) {
421
- wp_cache_debug( "Feed detected. Writing legacy cache files.", 5 );
422
  $wp_cache_not_logged_in = false;
423
  }
424
 
@@ -427,7 +349,7 @@ function wp_cache_get_ob(&$buffer) {
427
  $dir = get_current_url_supercache_dir();
428
  $supercachedir = $cache_path . 'supercache/' . preg_replace('/:.*$/', '', $home_url[ 'host' ]);
429
  if( !empty( $_GET ) || is_feed() || ( $super_cache_enabled == true && is_dir( substr( $supercachedir, 0, -1 ) . '.disabled' ) ) ) {
430
- wp_cache_debug( "Supercache disabled: GET or feed detected or disabled by config.", 2 );
431
  $super_cache_enabled = false;
432
  }
433
 
@@ -435,8 +357,8 @@ function wp_cache_get_ob(&$buffer) {
435
 
436
  $supercacheonly = false;
437
  if( $super_cache_enabled ) {
438
- if ( wp_cache_get_cookies_values() == '' && empty( $_GET ) ) {
439
- wp_cache_debug( "Anonymous user detected. Only creating Supercache file.", 3 );
440
  $supercacheonly = true;
441
  }
442
  }
@@ -446,7 +368,7 @@ function wp_cache_get_ob(&$buffer) {
446
  $super_cache_enabled = false;
447
  $cache_enabled = false;
448
  $cache_error = 'Not caching requests by known users. (See Advanced Settings page)';
449
- wp_cache_debug( 'Not caching for known user.', 5 );
450
  }
451
 
452
  if ( $wp_cache_object_cache ) { // half on mode when using the object cache
@@ -460,16 +382,9 @@ function wp_cache_get_ob(&$buffer) {
460
  }
461
 
462
  if ( !$cache_enabled ) {
463
- wp_cache_debug( 'Cache is not enabled. Sending buffer to browser.', 5 );
464
  wp_cache_writers_exit();
465
- wp_cache_add_to_buffer( $buffer, "Page not cached by WP Super Cache. Check your settings page. $cache_error" );
466
- if ( $wp_cache_mfunc_enabled == 1 ) {
467
- global $wp_super_cache_late_init;
468
- if ( false == isset( $wp_super_cache_late_init ) || ( isset( $wp_super_cache_late_init ) && $wp_super_cache_late_init == 0 ) )
469
- wp_cache_add_to_buffer( $buffer, 'Super Cache dynamic page detected but $wp_super_cache_late_init not set. See the readme.txt for further details.' );
470
- }
471
-
472
- return wp_cache_maybe_dynamic( $buffer );
473
  }
474
 
475
  if( @is_dir( $dir ) == false )
@@ -477,42 +392,42 @@ function wp_cache_get_ob(&$buffer) {
477
 
478
  $fr = $fr2 = $gz = false;
479
  // Open wp-cache cache file
480
- if ( false == $wp_cache_object_cache ) {
481
- if ( !$supercacheonly ) {
482
  $fr = @fopen($tmp_wpcache_filename, 'w');
483
  if (!$fr) {
484
- wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $cache_path ) . $cache_filename, 1 );
485
- wp_cache_add_to_buffer( $buffer, "File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $cache_path ) . $cache_filename );
486
  wp_cache_writers_exit();
487
- return wp_cache_maybe_dynamic( $buffer );
488
  }
489
- } else {
490
- $user_info = wp_cache_get_cookies_values();
491
- $do_cache = apply_filters( 'do_createsupercache', $user_info );
492
- if ( $super_cache_enabled && ( $user_info == '' || $do_cache === true ) ) {
493
-
494
- $cache_fname = $dir . supercache_filename();
495
- $tmp_cache_filename = $dir . uniqid( mt_rand(), true ) . '.tmp';
496
- $fr2 = @fopen( $tmp_cache_filename, 'w' );
497
- if ( !$fr2 ) {
498
- wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $tmp_cache_filename ), 1 );
499
- wp_cache_add_to_buffer( $buffer, "File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $tmp_cache_filename ) );
 
 
 
 
 
 
 
 
 
 
500
  @fclose( $fr );
501
  @unlink( $tmp_wpcache_filename );
 
 
502
  wp_cache_writers_exit();
503
- return wp_cache_maybe_dynamic( $buffer );
504
- } elseif ( ( !isset( $wp_cache_mfunc_enabled ) || $wp_cache_mfunc_enabled == 0 ) && $cache_compression ) { // don't want to store compressed files if using dynamic content
505
- $gz = @fopen( $tmp_cache_filename . ".gz", 'w');
506
- if (!$gz) {
507
- wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $tmp_cache_filename ) . ".gz", 1 );
508
- wp_cache_add_to_buffer( $buffer, "File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $tmp_cache_filename ) . ".gz" );
509
- @fclose( $fr );
510
- @unlink( $tmp_wpcache_filename );
511
- @fclose( $fr2 );
512
- @unlink( $tmp_cache_filename );
513
- wp_cache_writers_exit();
514
- return wp_cache_maybe_dynamic( $buffer );
515
- }
516
  }
517
  }
518
  }
@@ -520,98 +435,112 @@ function wp_cache_get_ob(&$buffer) {
520
 
521
  $added_cache = 0;
522
  $oc_key = get_oc_key();
523
- $buffer = apply_filters( 'wpsupercache_buffer', $buffer );
524
- wp_cache_append_tag( $buffer );
525
-
526
- /*
527
- * Dynamic content enabled: write the buffer to a file and then process any templates found using
528
- * the wpsc_cachedata filter. Buffer is then returned to the visitor.
529
- */
530
- if ( $wp_cache_mfunc_enabled == 1 ) {
531
- if ( preg_match( '/<!--mclude|<!--mfunc|<!--dynamic-cached-content-->/', $buffer ) ) { //Dynamic content
532
- wp_cache_debug( "mfunc/mclude/dynamic-cached-content tags have been retired. Please update your theme. See docs for updates." );
533
- wp_cache_add_to_buffer( $buffer, "Warning! Obsolete mfunc/mclude/dynamic-cached-content tags found. Please update your theme. See http://ocaoimh.ie/y/5b for more information." );
534
- }
535
-
 
 
 
 
 
536
  global $wp_super_cache_late_init;
537
  if ( false == isset( $wp_super_cache_late_init ) || ( isset( $wp_super_cache_late_init ) && $wp_super_cache_late_init == 0 ) )
538
- wp_cache_add_to_buffer( $buffer, 'Super Cache dynamic page detected but late init not set. See the readme.txt for further details.' );
539
-
540
- if ( $fr ) { // legacy caching
541
- wp_cache_debug( "Writing dynamic buffer to legacy file." );
542
- wp_cache_add_to_buffer( $buffer, "Dynamic Legacy Super Cache" );
543
- fputs( $fr, $buffer );
544
- } elseif ( isset( $fr2 ) ) { // supercache active
545
- wp_cache_debug( "Writing dynamic buffer to supercache file." );
546
- wp_cache_add_to_buffer( $buffer, "Dynamic Super Cache" );
547
- fputs( $fr2, $buffer );
548
- } elseif ( true == $wp_cache_object_cache ) {
549
- wp_cache_set( $oc_key, $buffer, 'supercache', $cache_max_time );
 
 
 
 
 
 
 
 
 
550
  }
551
- $wp_cache_meta[ 'dynamic' ] = true;
552
- if ( do_cacheaction( 'wpsc_cachedata_safety', 0 ) === 1 )
553
- $buffer = do_cacheaction( 'wpsc_cachedata', $buffer ); // dynamic content for display
554
-
555
  if ( $cache_compression && $wp_cache_gzip_encoding ) {
556
- wp_cache_debug( "Gzipping dynamic buffer for display.", 5 );
557
- wp_cache_add_to_buffer( $buffer, "Compression = gzip" );
558
- $gzdata = gzencode( $buffer, 6, FORCE_GZIP );
559
  $gzsize = function_exists( 'mb_strlen' ) ? mb_strlen( $gzdata, '8bit' ) : strlen( $gzdata );
560
  }
561
  } else {
562
- if ( $gz || $wp_cache_gzip_encoding ) {
563
- wp_cache_debug( "Gzipping buffer.", 5 );
564
- wp_cache_add_to_buffer( $buffer, "Compression = gzip" );
565
- $gzdata = gzencode( $buffer, 6, FORCE_GZIP );
 
 
566
  $gzsize = function_exists( 'mb_strlen' ) ? mb_strlen( $gzdata, '8bit' ) : strlen( $gzdata );
567
-
 
568
  $wp_cache_meta[ 'headers' ][ 'Content-Encoding' ] = 'Content-Encoding: ' . $wp_cache_gzip_encoding;
569
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Accept-Encoding, Cookie';
570
  // Return uncompressed data & store compressed for later use
571
- if ( $fr ) {
572
- wp_cache_debug( "Writing gzipped buffer to wp-cache cache file.", 5 );
573
- fputs($fr, $gzdata);
574
- } elseif ( $cache_enabled && $wp_cache_object_cache ) {
 
 
575
  wp_cache_set( $oc_key . ".gz", $gzdata, 'supercache', $cache_max_time );
576
  $added_cache = 1;
577
  }
578
  } else { // no compression
579
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Cookie';
580
- if ( $cache_enabled && $wp_cache_object_cache ) {
 
 
 
 
 
581
  wp_cache_set( $oc_key, $buffer, 'supercache', $cache_max_time );
582
  $added_cache = 1;
583
- } elseif ( $fr ) {
584
- wp_cache_debug( "Writing non-gzipped buffer to wp-cache cache file." );
585
- fputs($fr, $buffer);
586
  }
587
  }
588
- if ( $fr2 ) {
589
- wp_cache_debug( "Writing non-gzipped buffer to supercache file." );
590
- wp_cache_add_to_buffer( $buffer, "super cache" );
591
- fputs($fr2, $buffer );
592
- }
593
- if ( isset( $gzdata ) && $gz ) {
594
- wp_cache_debug( "Writing gzipped buffer to supercache file." );
595
- fwrite($gz, $gzdata );
 
596
  }
597
  }
598
-
599
  $new_cache = true;
600
  if ( false == $wp_cache_object_cache ) {
601
  if( $fr ) {
602
  $supercacheonly = false;
603
  fclose($fr);
604
  if ( filesize( $tmp_wpcache_filename ) == 0 ) {
605
- wp_cache_debug( "Warning! The file $tmp_wpcache_filename was empty. Did not rename to {$blog_cache_dir}{$cache_filename}", 5 );
606
  @unlink( $tmp_wpcache_filename );
607
  } else {
608
- if ( !@rename( $tmp_wpcache_filename, $blog_cache_dir . $cache_filename ) ) {
609
- if ( false == is_dir( $blog_cache_dir ) )
610
- @wp_mkdir_p( $blog_cache_dir );
611
- @unlink( $blog_cache_dir . $cache_filename );
612
- @rename( $tmp_wpcache_filename, $blog_cache_dir . $cache_filename );
613
  }
614
- wp_cache_debug( "Renamed temp wp-cache file to {$blog_cache_dir}$cache_filename", 5 );
615
  $added_cache = 1;
616
  }
617
  }
@@ -619,31 +548,49 @@ function wp_cache_get_ob(&$buffer) {
619
  fclose($fr2);
620
  if ( $wp_cache_front_page_checks && $cache_fname == $supercachedir . $home_url[ 'path' ] . supercache_filename() && !( $wp_cache_is_home ) ) {
621
  wp_cache_writers_exit();
622
- wp_cache_debug( "Warning! Not writing another page to front page cache.", 1 );
623
  return $buffer;
624
  } elseif ( filesize( $tmp_cache_filename ) == 0 ) {
625
- wp_cache_debug( "Warning! The file $tmp_cache_filename was empty. Did not rename to {$cache_fname}", 5 );
626
  @unlink( $tmp_cache_filename );
627
  } else {
628
  if ( !@rename( $tmp_cache_filename, $cache_fname ) ) {
629
  @unlink( $cache_fname );
630
  @rename( $tmp_cache_filename, $cache_fname );
631
  }
632
- wp_cache_debug( "Renamed temp supercache file to $cache_fname", 5 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
633
  $added_cache = 1;
634
  }
635
  }
636
  if( $gz ) {
637
  fclose($gz);
638
  if ( filesize( $tmp_cache_filename . '.gz' ) == 0 ) {
639
- wp_cache_debug( "Warning! The file {$tmp_cache_filename}.gz was empty. Did not rename to {$cache_fname}.gz", 5 );
640
  @unlink( $tmp_cache_filename . '.gz' );
641
  } else {
642
  if ( !@rename( $tmp_cache_filename . '.gz', $cache_fname . '.gz' ) ) {
643
  @unlink( $cache_fname . '.gz' );
644
  @rename( $tmp_cache_filename . '.gz', $cache_fname . '.gz' );
645
  }
646
- wp_cache_debug( "Renamed temp supercache gz file to {$cache_fname}.gz", 5 );
647
  $added_cache = 1;
648
  }
649
  }
@@ -653,18 +600,18 @@ function wp_cache_get_ob(&$buffer) {
653
  $last_urls = (array)get_option( 'supercache_last_cached' );
654
  if ( count( $last_urls ) >= 10 )
655
  $last_urls = array_slice( $last_urls, 1, 9 );
656
- $last_urls[] = array( 'url' => preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', $_SERVER[ 'REQUEST_URI' ] ), 'date' => date( 'Y-m-d H:i:s' ) );
657
  update_option( 'supercache_last_cached', $last_urls );
658
  }
659
  wp_cache_writers_exit();
660
  if ( !headers_sent() && $wp_cache_gzip_encoding && $gzdata) {
661
- wp_cache_debug( "Writing gzip content headers. Sending buffer to browser", 5 );
662
  header( 'Content-Encoding: ' . $wp_cache_gzip_encoding );
663
  header( 'Vary: Accept-Encoding, Cookie' );
664
  header( 'Content-Length: ' . $gzsize );
665
  return $gzdata;
666
  } else {
667
- wp_cache_debug( "Sending buffer to browser", 5 );
668
  return $buffer;
669
  }
670
  }
@@ -674,7 +621,7 @@ function wp_cache_phase2_clean_cache($file_prefix) {
674
 
675
  if( !wp_cache_writers_entry() )
676
  return false;
677
- wp_cache_debug( "Cleaning cache in $blog_cache_dir", 3 );
678
  if ( ( $handle = @opendir( $blog_cache_dir ) ) ) {
679
  while ( false !== ($file = @readdir($handle))) {
680
  if ( preg_match("/^$file_prefix/", $file) ) {
@@ -719,7 +666,7 @@ function prune_super_cache( $directory, $force = false, $rename = false ) {
719
  if ($file == '.' || $file == '..')
720
  continue;
721
  $donotdelete = true;
722
- wp_cache_debug( "gc: could not delete $entry as it's not empty: $file", 2 );
723
  }
724
  closedir($handle);
725
  }
@@ -728,11 +675,7 @@ function prune_super_cache( $directory, $force = false, $rename = false ) {
728
  if( !$rename ) {
729
  @rmdir( $entry );
730
  $log++;
731
- if ( $force ) {
732
- wp_cache_debug( "gc: deleted $entry, forced delete", 2 );
733
- } else {
734
- wp_cache_debug( "gc: deleted $entry, older than $cache_max_time seconds", 2 );
735
- }
736
  }
737
  }
738
  }
@@ -743,11 +686,9 @@ function prune_super_cache( $directory, $force = false, $rename = false ) {
743
  if( in_array( $directory, $protected_directories ) )
744
  $oktodelete = false;
745
  if( $oktodelete && !$rename ) {
746
- wp_cache_debug( "prune_super_cache: deleted $directory", 5 );
747
  @unlink( $directory );
748
  $log++;
749
  } elseif( $oktodelete && $rename ) {
750
- wp_cache_debug( "prune_super_cache: wp_cache_rebuild_or_delete( $directory )", 5 );
751
  wp_cache_rebuild_or_delete( $directory );
752
  $log++;
753
  }
@@ -762,14 +703,14 @@ function wp_cache_rebuild_or_delete( $file ) {
762
  if( $cache_rebuild_files && substr( $file, -14 ) != '.needs-rebuild' ) {
763
  if( @rename($file, $file . '.needs-rebuild') ) {
764
  @touch( $file . '.needs-rebuild' );
765
- wp_cache_debug( "rebuild_or_gc: rename to {$file}.needs-rebuild", 2 );
766
  } else {
767
  @unlink( $file );
768
- wp_cache_debug( "rebuild_or_gc: deleted $file", 2 );
769
  }
770
  } else {
771
  @unlink( $file );
772
- wp_cache_debug( "rebuild_or_gc: deleted $file", 2 );
773
  }
774
  }
775
 
@@ -780,28 +721,28 @@ function wp_cache_phase2_clean_expired( $file_prefix, $force = false ) {
780
  if( !wp_cache_writers_entry() )
781
  return false;
782
  $now = time();
783
- wp_cache_debug( "Cleaning expired cache files in $blog_cache_dir", 2 );
784
  if ( ( $handle = @opendir( $blog_cache_dir ) ) ) {
785
  while ( false !== ($file = readdir($handle))) {
786
  if ( preg_match("/^$file_prefix/", $file) &&
787
  (@filemtime( $blog_cache_dir . $file) + $cache_max_time) <= $now ) {
788
  @unlink( $blog_cache_dir . $file );
789
  @unlink( $blog_cache_dir . 'meta/' . str_replace( '.html', '.meta', $file ) );
790
- wp_cache_debug( "Deleting $blog_cache_dir{$file} (plus meta)", 5 );
791
  continue;
792
  }
793
  if($file != '.' && $file != '..') {
794
  if( is_dir( $blog_cache_dir . $file ) == false && (@filemtime($blog_cache_dir . $file) + $cache_max_time) <= $now ) {
795
  if( substr( $file, -9 ) != '.htaccess' ) {
796
  @unlink($blog_cache_dir . $file);
797
- wp_cache_debug( "Deleting $blog_cache_dir{$file}, older than $cache_max_time seconds", 5 );
798
  }
799
  }
800
  }
801
  }
802
  closedir($handle);
803
  if ( false == $wp_cache_preload_on || true == $force ) {
804
- wp_cache_debug( "Doing GC on supercache dir: {$cache_path}supercache", 2 );
805
  $deleted = prune_super_cache( $cache_path . 'supercache', false, false );
806
  }
807
  }
@@ -813,9 +754,8 @@ function wp_cache_phase2_clean_expired( $file_prefix, $force = false ) {
813
  function wp_cache_shutdown_callback() {
814
  global $cache_path, $cache_max_time, $file_expired, $file_prefix, $meta_file, $new_cache, $wp_cache_meta, $known_headers, $blog_id, $wp_cache_gzip_encoding, $gzsize, $cache_filename, $supercacheonly, $blog_cache_dir;
815
  global $wp_cache_request_uri, $wp_cache_key, $wp_cache_object_cache, $cache_enabled, $wp_cache_blog_charset, $wp_cache_not_logged_in;
816
- global $WPSC_HTTP_HOST;
817
 
818
- $wp_cache_meta[ 'uri' ] = $WPSC_HTTP_HOST . preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', $wp_cache_request_uri); // To avoid XSS attacks
819
  $wp_cache_meta[ 'blog_id' ] = $blog_id;
820
  $wp_cache_meta[ 'post' ] = wp_cache_post_id();
821
  $wp_cache_meta[ 'key' ] = $wp_cache_key;
@@ -828,7 +768,7 @@ function wp_cache_shutdown_callback() {
828
  }
829
  }
830
 
831
- wp_cache_debug( "wp_cache_shutdown_callback: collecting meta data.", 2 );
832
 
833
  if (!isset( $response['Last-Modified'] )) {
834
  $value = gmdate('D, d M Y H:i:s') . ' GMT';
@@ -863,26 +803,26 @@ function wp_cache_shutdown_callback() {
863
  }
864
  $value .= "; charset=\"" . $wp_cache_blog_charset . "\"";
865
 
866
- wp_cache_debug( "Sending 'Content-Type: $value' header.", 2 );
867
  @header("Content-Type: $value");
868
  $wp_cache_meta[ 'headers' ][ 'Content-Type' ] = "Content-Type: $value";
869
  }
870
 
871
- if ( $cache_enabled && !$supercacheonly && $new_cache ) {
872
  if( !isset( $wp_cache_meta[ 'dynamic' ] ) && $wp_cache_gzip_encoding && !in_array( 'Content-Encoding: ' . $wp_cache_gzip_encoding, $wp_cache_meta[ 'headers' ] ) ) {
873
- wp_cache_debug( "Sending gzip headers.", 2 );
874
  $wp_cache_meta[ 'headers' ][ 'Content-Encoding' ] = 'Content-Encoding: ' . $wp_cache_gzip_encoding;
875
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Accept-Encoding, Cookie';
876
  }
877
 
878
  $serial = serialize($wp_cache_meta);
879
  if( wp_cache_writers_entry() ) {
880
- wp_cache_debug( "Writing meta file: {$blog_cache_dir}meta/{$meta_file}", 2 );
881
  if ( false == $wp_cache_object_cache ) {
882
  $tmp_meta_filename = $blog_cache_dir . 'meta/' . uniqid( mt_rand(), true ) . '.tmp';
883
  $fr = @fopen( $tmp_meta_filename, 'w');
884
  if( !$fr )
885
- @wp_mkdir_p( $blog_cache_dir . 'meta' );
886
  $fr = @fopen( $tmp_meta_filename, 'w');
887
  if ( $fr ) {
888
  fputs($fr, $serial);
@@ -893,7 +833,7 @@ function wp_cache_shutdown_callback() {
893
  @rename( $tmp_meta_filename, $blog_cache_dir . 'meta/' . $meta_file );
894
  }
895
  } else {
896
- wp_cache_debug( "Problem writing meta file: {$blog_cache_dir}meta/{$meta_file}", 2 );
897
  }
898
  } elseif ( $cache_enabled ) {
899
  $oc_key = get_oc_key() . ".meta";
@@ -903,12 +843,10 @@ function wp_cache_shutdown_callback() {
903
  }
904
  wp_cache_writers_exit();
905
  }
906
- } else {
907
- wp_cache_debug( "Did not write meta file: $meta_file *$supercacheonly* *$wp_cache_not_logged_in* *$new_cache*", 2 );
908
  }
909
  global $time_to_gc_cache;
910
  if( isset( $time_to_gc_cache ) && $time_to_gc_cache == 1 ) {
911
- wp_cache_debug( "Executing wp_cache_gc action.", 3 );
912
  do_action( 'wp_cache_gc' );
913
  }
914
  }
@@ -925,10 +863,9 @@ function wp_cache_get_postid_from_comment( $comment_id, $status = 'NA' ) {
925
  $comment[ 'comment_approved' ] = $status;
926
  }
927
 
928
- if ( ( $status == 'trash' || $status == 'spam' ) && $comment[ 'old_comment_approved' ] != 1 ) {
929
  // don't modify cache if moderated comments are trashed or spammed
930
- wp_cache_debug( "Moderated comment deleted or spammed. Don't delete any cache files.", 4 );
931
- define( 'DONOTDELETECACHE', 1 );
932
  return wp_cache_post_id();
933
  }
934
  $postid = $comment['comment_post_ID'];
@@ -936,21 +873,17 @@ function wp_cache_get_postid_from_comment( $comment_id, $status = 'NA' ) {
936
  // http://ocaoimh.ie/2006/12/05/caching-wordpress-with-wp-cache-in-a-spam-filled-world
937
  if ( !preg_match('/wp-admin\//', $wp_cache_request_uri) ) {
938
  if ( $comment['comment_approved'] == 'delete' && ( isset( $comment[ 'old_comment_approved' ] ) && $comment[ 'old_comment_approved' ] == 0 ) ) { // do nothing if moderated comments are deleted
939
- wp_cache_debug( "Moderated comment deleted. Don't delete any cache files.", 4 );
940
- define( 'DONOTDELETECACHE', 1 );
941
  return $postid;
942
  } elseif ( $comment['comment_approved'] == 'spam' ) {
943
- wp_cache_debug( "Spam comment. Don't delete any cache files.", 4 );
944
- define( 'DONOTDELETECACHE', 1 );
945
  return $postid;
946
  } elseif( $comment['comment_approved'] == '0' ) {
947
  if ( $comment[ 'content_type' ] == '' ) {
948
- wp_cache_debug( "Moderated comment. Don't delete supercache file until comment approved.", 4 );
949
  $super_cache_enabled = 0; // don't remove the super cache static file until comment is approved
950
- define( 'DONOTDELETECACHE', 1 );
951
  } else {
952
- wp_cache_debug( "Moderated ping or trackback. Not deleting cache files..", 4 );
953
- define( 'DONOTDELETECACHE', 1 );
954
  return $postid;
955
  }
956
  }
@@ -959,115 +892,43 @@ function wp_cache_get_postid_from_comment( $comment_id, $status = 'NA' ) {
959
  // for delete, for example both wp_set_comment_status and delete_comment
960
  // are called when deleting a comment
961
  if ($postid > 0) {
962
- wp_cache_debug( "Post $postid changed. Update cache.", 4 );
963
  return wp_cache_post_change( $postid );
964
  } elseif ( $_GET[ 'delete_all' ] != 'Empty Trash' && $_GET[ 'delete_all2' ] != 'Empty Spam' ) {
965
- wp_cache_debug( "Unknown post changed. Update cache.", 4 );
966
  return wp_cache_post_change( wp_cache_post_id() );
967
  }
968
  }
969
 
970
- /* Used by wp_update_nav_menu action to clear current blog's cache files when navigation menu is modified */
971
- function wp_cache_clear_cache_on_menu() {
972
- global $wpdb;
973
- wp_cache_clear_cache( $wpdb->blogid );
974
- }
975
-
976
  /* Clear out the cache directory. */
977
- function wp_cache_clear_cache( $blog_id = 0 ) {
978
  global $cache_path, $wp_cache_object_cache;
979
  if ( $wp_cache_object_cache ) {
980
  reset_oc_version();
981
  } else {
982
- if ( $blog_id == 0 ) {
983
- wp_cache_debug( "Clearing all cached files in wp_cache_clear_cache()", 4 );
984
- prune_super_cache( $cache_path . 'supercache/', true );
985
- prune_super_cache( $cache_path, true );
986
- } else {
987
- wp_cache_debug( "Clearing all cached files for blog $blog_id in wp_cache_clear_cache()", 4 );
988
- prune_super_cache( get_supercache_dir( $blog_id ), true );
989
- prune_super_cache( $cache_path . 'blogs/', true );
990
- }
991
  }
992
  }
993
 
994
- function wpsc_delete_cats_tags( $post ) {
995
- $post = get_post($post);
996
- $categories = get_the_category($post->ID);
997
- if ( $categories ) {
998
- $category_base = get_option( 'category_base');
999
- if ( $category_base == '' )
1000
- $category_base = '/category/';
1001
- $category_base = trailingslashit( $category_base ); // paranoid much?
1002
- foreach ($categories as $cat) {
1003
- prune_super_cache ( get_supercache_dir() . $category_base . $cat->slug . '/', true );
1004
- wp_cache_debug( "wpsc_post_transition: deleting category: " . get_supercache_dir() . $category_base . $cat->slug . '/' );
1005
- }
1006
- }
1007
- $posttags = get_the_tags($post->ID);
1008
- if ( $posttags ) {
1009
- $tag_base = get_option( 'tag_base' );
1010
- if ( $tag_base == '' )
1011
- $tag_base = '/tag/';
1012
- $tag_base = trailingslashit( str_replace( '..', '', $tag_base ) ); // maybe!
1013
- foreach ($posttags as $tag) {
1014
- prune_super_cache( get_supercache_dir() . $tag_base . $tag->slug . '/', true );
1015
- wp_cache_debug( "wpsc_post_transition: deleting tag: " . get_supercache_dir() . $tag_base . $tag->slug . '/' );
1016
- }
1017
- }
1018
- }
1019
-
1020
- function wpsc_post_transition( $new_status, $old_status, $post ) {
1021
- if (
1022
- ($old_status == 'publish' && $new_status != 'publish' ) // post unpublished
1023
- ||
1024
- ($old_status != 'publish' && $new_status == 'publish') // post published
1025
- ) {
1026
- wpsc_delete_cats_tags( $post );
1027
- prune_super_cache( get_supercache_dir() . '/' . $post->post_name . '/', true );
1028
- wp_cache_debug( "wpsc_post_transition: deleting post: " . get_supercache_dir() . '/' . $post->post_name . '/' );
1029
- }
1030
- }
1031
-
1032
- /* check if we want to clear out all cached files on post updates, otherwise call standard wp_cache_post_change() */
1033
  function wp_cache_post_edit($post_id) {
1034
- global $wp_cache_clear_on_post_edit, $cache_path, $blog_cache_dir, $wp_cache_object_cache;
1035
- static $last_post_edited = -1;
1036
-
1037
- if ( $post_id == $last_post_edited ) {
1038
- wp_cache_debug( "wp_cache_post_edit: Already processed post $post_id.", 4 );
1039
- return $post_id;
1040
- }
1041
-
1042
- $post = get_post( $post_id );
1043
- if ( is_object( $post ) == false )
1044
- return $post_id;
1045
-
1046
- // Some users are inexplicibly seeing this error on scheduled posts.
1047
- // define this constant to disable the post status check.
1048
- if ( false == defined( 'WPSCFORCEUPDATE' ) && $post->post_status != 'publish' ) {
1049
- wp_cache_debug( "wp_cache_post_edit: draft post, not deleting any cache files.", 4 );
1050
- return $post_id;
1051
- }
1052
-
1053
- // we want to process the post again just in case it becomes published before the second time this function is called.
1054
- $last_post_edited = $post_id;
1055
  if( $wp_cache_clear_on_post_edit ) {
1056
- wp_cache_debug( "wp_cache_post_edit: Clearing cache $blog_cache_dir and {$cache_path}supercache/ on post edit per config.", 2 );
1057
  if ( $wp_cache_object_cache ) {
1058
  reset_oc_version();
1059
  } else {
1060
  prune_super_cache( $blog_cache_dir, true );
1061
- prune_super_cache( get_supercache_dir(), true );
1062
  }
1063
  } else {
1064
- wp_cache_debug( "wp_cache_post_edit: Clearing cache for post $post_id on post edit.", 2 );
1065
  wp_cache_post_change( $post_id );
1066
  }
1067
  }
1068
 
1069
  function wp_cache_post_id_gc( $siteurl, $post_id, $all = 'all' ) {
1070
- global $cache_path, $wp_cache_object_cache, $wp_cache_refresh_single_only;
1071
 
1072
  if ( $wp_cache_object_cache )
1073
  reset_oc_version();
@@ -1078,52 +939,39 @@ function wp_cache_post_id_gc( $siteurl, $post_id, $all = 'all' ) {
1078
 
1079
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( $post_id ) ) );
1080
  $dir = get_current_url_supercache_dir( $post_id );
1081
- wp_cache_debug( "wp_cache_post_id_gc post_id: $post_id " . post_permalink( $post_id ) . " clearing cache in $dir.", 4 );
1082
  if ( $all == 'all' ) {
1083
  prune_super_cache( $dir, true, true );
1084
  do_action( 'gc_cache', 'prune', $permalink );
1085
  @rmdir( $dir );
1086
  } else {
1087
- wp_cache_debug( "wp_cache_post_id_gc clearing cached index files in $dir.", 4 );
1088
  prune_super_cache( $dir, true, true );
1089
  do_action( 'gc_cache', 'prune', $permalink );
1090
  }
1091
- wp_cache_debug( "wp_cache_post_id_gc clearing cache in {$dir}/page/.", 4 );
1092
- prune_super_cache( $dir . '/page/', true );
1093
- $supercache_home = get_supercache_dir();
1094
- wp_cache_debug( "wp_cache_post_id_gc clearing cache in {$supercache_home}/page/.", 4 );
1095
- prune_super_cache( $supercache_home . '/page/', true );
1096
  do_action( 'gc_cache', 'prune', '/page/' );
1097
  }
1098
 
1099
  function wp_cache_post_change( $post_id ) {
1100
- global $file_prefix, $cache_path, $blog_id, $super_cache_enabled, $blog_cache_dir, $blogcacheid, $wp_cache_refresh_single_only, $wp_cache_object_cache;
1101
  static $last_processed = -1;
1102
 
1103
- if ( $post_id == $last_processed ) {
1104
- wp_cache_debug( "wp_cache_post_change: Already processed post $post_id.", 4 );
1105
- return $post_id;
1106
- }
1107
  $post = get_post( $post_id );
1108
- // Some users are inexplicibly seeing this error on scheduled posts.
1109
- // define this constant to disable the post status check.
1110
- if ( false == defined( 'WPSCFORCEUPDATE' ) && is_object( $post ) && $post->post_status != 'publish' ) {
1111
- wp_cache_debug( "wp_cache_post_change: draft post, not deleting any cache files.", 4 );
1112
  return $post_id;
1113
  }
1114
- $last_processed = $post_id;
1115
 
1116
  if( !wp_cache_writers_entry() )
1117
  return $post_id;
1118
 
1119
- if ( isset( $wp_cache_refresh_single_only ) && $wp_cache_refresh_single_only && ( strpos( $_SERVER[ 'HTTP_REFERER' ], 'edit-comments.php' ) || strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-comments-post.php' ) ) ) {
1120
- if ( defined( 'DONOTDELETECACHE' ) ) {
1121
- wp_cache_debug( "wp_cache_post_change: comment detected and it's moderated or spam. Not deleting cached files.", 4 );
1122
- return $post_id;
1123
- } else {
1124
- wp_cache_debug( "wp_cache_post_change: comment detected. only deleting post page.", 4 );
1125
- $all = false;
1126
- }
1127
  } else {
1128
  $all = true;
1129
  }
@@ -1137,17 +985,19 @@ function wp_cache_post_change( $post_id ) {
1137
  $siteurl = trailingslashit( strtolower( preg_replace( '/:.*$/', '', str_replace( 'http://', '', get_option( 'home' ) ) ) ) );
1138
  // make sure the front page has a rebuild file
1139
  wp_cache_post_id_gc( $siteurl, $post_id );
 
1140
  if ( $all == true ) {
1141
- wp_cache_debug( "Post change: deleting cache files in " . $cache_path . 'supercache/' . $siteurl, 4 );
1142
  $files_to_check = get_all_supercache_filenames( $dir );
1143
  foreach( $files_to_check as $cache_file ) {
1144
  prune_super_cache( $dir . $cache_file, true, true );
1145
  }
1146
  do_action( 'gc_cache', 'prune', 'homepage' );
1147
  }
 
1148
  if( $all == true && get_option( 'show_on_front' ) == 'page' ) {
1149
- wp_cache_debug( "Post change: deleting page_on_front and page_for_posts pages.", 4 );
1150
- wp_cache_debug( "Post change: page_on_front " . get_option( 'page_on_front' ), 4 );
1151
  wp_cache_post_id_gc( $siteurl, get_option( 'page_on_front' ), 'single' );
1152
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( get_option( 'page_for_posts' ) ) ) );
1153
  $files_to_check = get_all_supercache_filenames( $dir . $permalink );
@@ -1166,7 +1016,7 @@ function wp_cache_post_change( $post_id ) {
1166
  $content_pathname = $blog_cache_dir . $matches[1] . ".html";
1167
  $meta = unserialize(@file_get_contents($meta_pathname));
1168
  if( false == is_array( $meta ) ) {
1169
- wp_cache_debug( "Post change cleaning up stray file: $content_pathname", 4 );
1170
  @unlink($meta_pathname);
1171
  @unlink($content_pathname);
1172
  continue;
@@ -1174,7 +1024,7 @@ function wp_cache_post_change( $post_id ) {
1174
  if ($post_id > 0 && $meta) {
1175
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( $post_id ) ) );
1176
  if ( $meta[ 'blog_id' ] == $blog_id && ( ( $all == true && !$meta[ 'post' ] ) || $meta[ 'post' ] == $post_id) ) {
1177
- wp_cache_debug( "Post change: deleting post cache files for {$meta[ 'uri' ]}: $content_pathname", 4 );
1178
  @unlink($meta_pathname);
1179
  @unlink($content_pathname);
1180
  if ( $super_cache_enabled == true ) {
@@ -1183,7 +1033,7 @@ function wp_cache_post_change( $post_id ) {
1183
  }
1184
  }
1185
  } elseif ($meta[ 'blog_id' ] == $blog_id) {
1186
- wp_cache_debug( "Post change: deleting cache files for {$meta[ 'uri' ]}: $content_pathname", 4 );
1187
  @unlink($meta_pathname);
1188
  @unlink($content_pathname);
1189
  if ( $super_cache_enabled == true ) {
@@ -1220,61 +1070,30 @@ function wp_cache_post_id() {
1220
  return 0;
1221
  }
1222
 
1223
- function maybe_stop_gc( $flag ) {
1224
-
1225
- if ( @file_exists( $flag ) ) {
1226
- if ( time() - filemtime( $flag ) > 3600 ) {
1227
- @unlink( $flag );
1228
- wp_cache_debug( "maybe_stop_gc: GC flag found but deleted because it's older than 3600 seconds.", 5 );
1229
- return false;
1230
- } else {
1231
- wp_cache_debug( 'maybe_stop_gc: GC flag found. GC cancelled.', 5 );
1232
- return true;
1233
- }
1234
- } else {
1235
- wp_cache_debug( 'maybe_stop_gc: GC flag not found. GC will go ahead..', 5 );
1236
- return false;
1237
- }
1238
- }
1239
- function get_gc_flag() {
1240
- global $cache_path;
1241
- return $cache_path . strtolower( preg_replace( '!/:.*$!', '', str_replace( 'http://', '', str_replace( 'https://', '', get_option( 'home' ) ) ) ) ) . "_wp_cache_gc.txt";
1242
- }
1243
-
1244
  function wp_cache_gc_cron() {
1245
  global $file_prefix, $cache_max_time, $cache_gc_email_me, $cache_time_interval;
1246
 
1247
  $msg = '';
1248
  if ( $cache_max_time == 0 ) {
1249
- wp_cache_debug( 'Cache garbage collection disabled because cache expiry time is zero.', 5 );
1250
- return false;
1251
- }
1252
-
1253
- $gc_flag = get_gc_flag();
1254
- if ( maybe_stop_gc( $gc_flag ) ) {
1255
- wp_cache_debug( 'GC flag found. GC cancelled.', 5 );
1256
  return false;
1257
  }
1258
-
1259
  update_option( 'wpsupercache_gc_time', time() );
1260
- wp_cache_debug( "wp_cache_gc_cron: Set GC Flag. ($gc_flag)", 5 );
1261
- $fp = @fopen( $gc_flag, 'w' );
1262
- @fclose( $fp );
1263
 
1264
- wp_cache_debug( 'Cache garbage collection.', 5 );
1265
 
1266
  if( !isset( $cache_max_time ) )
1267
  $cache_max_time = 600;
1268
 
1269
  $start = time();
1270
  $num = 0;
1271
- if( false === ( $num = wp_cache_phase2_clean_expired( $file_prefix ) ) ) {
1272
- wp_cache_debug( 'Cache Expiry cron job failed. Probably mutex locked.', 1 );
1273
  update_option( 'wpsupercache_gc_time', time() - ( $cache_time_interval - 10 ) ); // if GC failed then run it again in one minute
1274
  $msg .= __( 'Cache expiry cron job failed. Job will run again in 10 seconds.', 'wp-super-cache' ) . "\n";
1275
  }
1276
  if( time() - $start > 30 ) {
1277
- wp_cache_debug( "Cache Expiry cron job took more than 30 seconds to execute.\nYou should reduce the Expiry Time in the WP Super Cache admin page\nas you probably have more cache files than your server can handle efficiently.", 1 );
1278
  $msg .= __( 'Cache expiry cron job took more than 30 seconds. You should probably run the garbage collector more often.', 'wp-super-cache' ) . "\n";
1279
  }
1280
 
@@ -1286,26 +1105,21 @@ function wp_cache_gc_cron() {
1286
 
1287
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] WP Super Cache GC Report', 'wp-super-cache' ), site_url() ), $msg );
1288
  }
1289
- @unlink( $gc_flag );
1290
- wp_cache_debug( 'GC completed. GC flag deleted.', 5 );
1291
  schedule_wp_gc( 1 );
1292
  }
1293
 
1294
  function schedule_wp_gc( $forced = 0 ) {
1295
  global $cache_schedule_type, $cache_max_time, $cache_time_interval, $cache_scheduled_time, $cache_schedule_interval;
1296
 
1297
- if ( false == isset( $cache_time_interval ) )
1298
- $cache_time_interval = 3600;
1299
-
1300
  if ( false == isset( $cache_schedule_type ) ) {
1301
  $cache_schedule_type = 'interval';
1302
  $cache_schedule_interval = $cache_max_time;
1303
  }
1304
  if ( $cache_schedule_type == 'interval' ) {
1305
- if ( !isset( $cache_max_time ) )
1306
- $cache_max_time = 600;
1307
  if ( $cache_max_time == 0 )
1308
  return false;
 
 
1309
  $last_gc = get_option( "wpsupercache_gc_time" );
1310
 
1311
  if ( !$last_gc ) {
@@ -1318,7 +1132,7 @@ function schedule_wp_gc( $forced = 0 ) {
1318
  if ( !($t = wp_next_scheduled( 'wp_cache_gc' ) ) ) {
1319
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1320
  wp_schedule_single_event( time() + $cache_time_interval, 'wp_cache_gc' );
1321
- wp_cache_debug( 'scheduled wp_cache_gc for 10 seconds time.', 5 );
1322
  }
1323
  } else {
1324
  global $time_to_gc_cache;
@@ -1331,11 +1145,4 @@ function schedule_wp_gc( $forced = 0 ) {
1331
  return true;
1332
  }
1333
 
1334
- function wp_cache_gc_watcher() {
1335
- if ( false == wp_next_scheduled( 'wp_cache_gc' ) ) {
1336
- wp_cache_debug( 'GC Watcher: scheduled new gc cron.', 5 );
1337
- schedule_wp_gc();
1338
- }
1339
- }
1340
-
1341
  ?>
1
  <?php
2
 
3
  function wp_cache_phase2() {
4
+ global $wpsc_settings;
5
  global $cache_filename, $cache_acceptable_files, $wp_cache_gzip_encoding, $super_cache_enabled, $cache_rebuild_files, $wp_cache_last_gc;
6
  global $cache_max_time, $wp_cache_request_uri, $super_cache_enabled, $wp_cache_object_cache, $cache_time_interval;
7
  global $cache_enabled, $wp_cache_gmt_offset, $wp_cache_blog_charset, $cache_schedule_type, $cache_scheduled_time, $cache_schedule_interval;
8
 
9
+ if ( $cache_enabled == false )
 
10
  return false;
 
11
 
12
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'In WP Cache Phase 2', 5 );
13
 
14
  $wp_cache_gmt_offset = get_option( 'gmt_offset' ); // caching for later use when wpdb is gone. http://wordpress.org/support/topic/224349
15
  $wp_cache_blog_charset = get_option( 'blog_charset' );
16
 
17
  wp_cache_mutex_init();
18
  if(function_exists('add_action') && ( !defined( 'WPLOCKDOWN' ) || ( defined( 'WPLOCKDOWN' ) && constant( 'WPLOCKDOWN' ) == '0' ) ) ) {
19
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Setting up WordPress actions', 5 );
 
 
 
20
  // Post ID is received
 
21
  add_action('publish_post', 'wp_cache_post_edit', 0);
22
  add_action('edit_post', 'wp_cache_post_change', 0); // leaving a comment called edit_post
23
  add_action('delete_post', 'wp_cache_post_edit', 0);
31
  // No post_id is available
32
  add_action('switch_theme', 'wp_cache_no_postid', 99);
33
  add_action('edit_user_profile_update', 'wp_cache_no_postid', 99);
34
+ add_action( 'wp_update_nav_menu', 'wp_cache_clear_cache' );
35
  add_action('wp_cache_gc','wp_cache_gc_cron');
 
36
  add_filter( 'supercache_filename_str', 'wp_cache_check_mobile' );
 
 
37
 
38
  do_cacheaction( 'add_cacheaction' );
39
  }
40
 
41
  if ( is_admin() ) {
42
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching wp-admin requests.', 5 );
43
+ return false;
44
+ }
45
+
46
+ if ( $_SERVER["REQUEST_METHOD"] == 'POST' || !empty( $_POST ) || get_option( 'gzipcompression' ) ) {
47
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching POST request.', 5 );
48
+ return false;
49
+ }
50
+
51
+ if ( $wp_cache_object_cache && !empty( $_GET ) ) {
52
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching GET request while object cache storage enabled.', 5 );
53
+ return false;
54
+ }
55
+
56
+ if ( isset( $_GET[ 'preview' ] ) ) {
57
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching preview post.', 2 );
58
  return false;
59
  }
60
 
61
  if ( !empty( $_GET ) ) {
62
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Supercache caching disabled. Only using wp-cache. Non empty GET request.', 5 );
63
  $super_cache_enabled = false;
64
  }
65
 
66
+ $script = basename($_SERVER['PHP_SELF']);
67
+ if (!in_array($script, $cache_acceptable_files) && wp_cache_is_rejected($wp_cache_request_uri)) {
68
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'URI rejected. Not Caching', 2 );
69
+ return false;
70
+ }
71
+ if (wp_cache_user_agent_is_rejected()) {
72
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "USER AGENT ({$_SERVER[ 'HTTP_USER_AGENT' ]}) rejected. Not Caching", 4 );
73
+ return;
74
+ }
75
  if($wp_cache_gzip_encoding)
76
  header('Vary: Accept-Encoding, Cookie');
77
  else
78
  header('Vary: Cookie');
79
  ob_start( 'wp_cache_ob_callback' );
80
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Created output buffer', 4 );
81
 
82
  // restore old supercache file temporarily
83
  if( $super_cache_enabled && $cache_rebuild_files ) {
99
  continue;
100
  $mtime = @filemtime($cache_file . '.needs-rebuild');
101
  if( $mtime && (time() - $mtime) < 30 ) {
102
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Rebuild file renamed to cache file temporarily: $cache_file", 3 );
103
  @rename( $cache_file . '.needs-rebuild', $cache_file );
104
  }
105
  // cleanup old files or if rename fails
106
  if( @file_exists( $cache_file . '.needs-rebuild' ) ) {
107
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Rebuild file deleted: {$cache_file}.needs-rebuild", 3 );
108
  @unlink( $cache_file . '.needs-rebuild' );
109
  }
110
  }
121
  if (!function_exists('apache_request_headers')) return false;
122
  $headers = apache_request_headers();
123
  if (!isset($headers["User-Agent"])) return false;
 
 
124
  foreach ($cache_rejected_user_agent as $expr) {
125
  if (strlen($expr) > 0 && stristr($headers["User-Agent"], $expr))
126
  return true;
153
  if( strstr( $uri, $u ) )
154
  return true; // we don't allow caching of wp-admin for security reasons
155
  }
 
 
156
  foreach ( $cache_rejected_uri as $expr ) {
157
  if( $expr != '' && @preg_match( "~$expr~", $uri ) )
158
  return true;
175
 
176
  $mutex = false;
177
  if ($use_flock ) {
178
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Created mutex lock on filename: {$blog_cache_dir}{$mutex_filename}", 5 );
 
179
  $mutex = @fopen( $blog_cache_dir . $mutex_filename, 'w' );
180
  } else {
181
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Created mutex lock on semaphore: {$sem_id}", 5 );
182
  $mutex = @sem_get( $sem_id, 1, 0644 | IPC_CREAT, 1 );
183
  }
184
  }
190
  return true;
191
 
192
  if( !$mutex ) {
193
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "(writers entry) mutex lock not created. not caching.", 2 );
194
  return false;
195
  }
196
 
197
  if ( $use_flock ) {
198
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "grabbing lock using flock()", 5 );
199
  flock($mutex, LOCK_EX);
200
  } else {
201
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "grabbing lock using sem_acquire()", 5 );
202
  sem_acquire($mutex);
203
  }
204
 
212
  return true;
213
 
214
  if( !$mutex ) {
215
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "(writers exit) mutex lock not created. not caching.", 2 );
216
  return false;
217
  }
218
 
219
  if ( $use_flock ) {
220
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "releasing lock using flock()", 5 );
221
  flock($mutex, LOCK_UN);
222
  } else {
223
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "releasing lock using sem_release()", 5 );
224
  sem_release($mutex);
225
  }
226
  }
227
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  function wp_cache_ob_callback( $buffer ) {
229
+ global $wp_cache_pages;
230
  $buffer = apply_filters( 'wp_cache_ob_callback_filter', $buffer );
231
+ if( defined( 'DONOTCACHEPAGE' ) ) {
232
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'DONOTCACHEPAGE defined. Caching disabled.', 2 );
233
+ return $buffer;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
234
  }
235
 
236
+ if ( isset( $wp_cache_pages[ 'single' ] ) && $wp_cache_pages[ 'single' ] == 1 && is_single() ) {
237
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching single post.', 2 );
238
+ return $buffer;
239
+ } elseif ( isset( $wp_cache_pages[ 'pages' ] ) && $wp_cache_pages[ 'pages' ] == 1 && is_page() ) {
240
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching single page.', 2 );
241
+ return $buffer;
242
+ } elseif ( isset( $wp_cache_pages[ 'archives' ] ) && $wp_cache_pages[ 'archives' ] == 1 && is_archive() ) {
243
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching archive page.', 2 );
244
+ return $buffer;
245
+ } elseif ( isset( $wp_cache_pages[ 'tag' ] ) && $wp_cache_pages[ 'tag' ] == 1 && is_tag() ) {
246
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching tag page.', 2 );
247
+ return $buffer;
248
+ } elseif ( isset( $wp_cache_pages[ 'category' ] ) && $wp_cache_pages[ 'category' ] == 1 && is_category() ) {
249
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching category page.', 2 );
250
+ return $buffer;
251
+ } elseif ( isset( $wp_cache_pages[ 'frontpage' ] ) && $wp_cache_pages[ 'frontpage' ] == 1 && is_front_page() ) {
252
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching front page.', 2 );
253
+ return $buffer;
254
+ } elseif ( isset( $wp_cache_pages[ 'home' ] ) && $wp_cache_pages[ 'home' ] == 1 && is_home() ) {
255
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching home page.', 2 );
256
+ return $buffer;
257
+ } elseif ( isset( $wp_cache_pages[ 'search' ] ) && $wp_cache_pages[ 'search' ] == 1 && is_search() ) {
258
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching search page.', 2 );
259
+ return $buffer;
260
+ } elseif ( isset( $wp_cache_pages[ 'author' ] ) && $wp_cache_pages[ 'author' ] == 1 && is_author() ) {
261
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching author page.', 2 );
262
+ return $buffer;
263
+ } elseif ( isset( $wp_cache_pages[ 'feed' ] ) && $wp_cache_pages[ 'feed' ] == 1 && is_feed() ) {
264
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching feed.', 2 );
265
  return $buffer;
 
 
266
  }
267
+
268
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Output buffer callback', 4 );
269
+
270
+ $buffer = &wp_cache_get_ob( $buffer );
271
+ wp_cache_shutdown_callback();
272
+ return $buffer;
273
  }
274
 
275
  function wp_cache_append_tag( &$buffer ) {
276
+ global $wp_cache_gmt_offset;
277
  global $cache_enabled, $super_cache_enabled;
 
 
 
 
 
 
 
278
  $timestamp = gmdate('Y-m-d H:i:s', (time() + ( $wp_cache_gmt_offset * 3600)));
279
  if ( $cache_enabled || $super_cache_enabled ) {
280
+ $buffer .= "<!-- Cached page generated by WP-Super-Cache on $timestamp -->\n";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  } else {
282
+ $buffer .= "<!-- Live page served on $timestamp -->\n";
 
283
  }
284
  }
285
 
286
  function wp_cache_get_ob(&$buffer) {
287
+ global $wpsc_settings;
288
  global $cache_enabled, $cache_path, $cache_filename, $meta_file, $wp_start_time, $supercachedir;
289
  global $new_cache, $wp_cache_meta, $file_expired, $blog_id, $cache_compression;
290
  global $wp_cache_gzip_encoding, $super_cache_enabled, $cached_direct_pages;
291
  global $wp_cache_404, $gzsize, $supercacheonly;
292
  global $blog_cache_dir, $wp_cache_request_uri, $wp_supercache_cache_list;
293
  global $wp_cache_not_logged_in, $wp_cache_object_cache, $cache_max_time;
294
+ global $wp_cache_is_home, $wp_cache_front_page_checks;
 
 
 
295
 
296
  $new_cache = true;
297
  $wp_cache_meta = '';
302
  $new_cache = false;
303
  if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) {
304
  wp_cache_debug( "Buffer is blank. Output buffer may have been corrupted by another plugin or this is a redirected URL. Look for text 'ob_start' in the files of your plugins directory.", 2 );
305
+ $buffer .= "\n<!-- Page not cached by WP Super Cache. Blank Page. Check output buffer usage by plugins. -->\n";
306
  }
307
  }
308
 
310
  $new_cache = false;
311
  if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) {
312
  wp_cache_debug( "404 file not found not cached", 2 );
313
+ $buffer .= "\n<!-- Page not cached by WP Super Cache. 404. -->\n";
314
  }
315
  }
316
 
317
+ if (!preg_match('/(<\/html>|<\/rss>|<\/feed>|<\/urlset)/i',$buffer) ) {
318
  $new_cache = false;
319
  if( false === strpos( $_SERVER[ 'REQUEST_URI' ], 'robots.txt' ) ) {
320
  if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) {
321
  wp_cache_debug( "No closing html tag. Not caching.", 2 );
322
+ $buffer .= "\n<!-- Page not cached by WP Super Cache. No closing HTML tag. Check your theme. -->\n";
323
  }
324
  } else {
325
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "robots.txt detected. Not caching.", 2 );
326
  }
327
  }
328
 
329
  if( !$new_cache )
330
+ return $buffer;
331
 
332
  $duration = wp_cache_microtime_diff($wp_start_time, microtime());
333
  $duration = sprintf("%0.3f", $duration);
334
+ $buffer .= "\n<!-- Dynamic page generated in $duration seconds. -->\n";
335
 
336
  if( !wp_cache_writers_entry() ) {
337
+ $buffer .= "\n<!-- Page not cached by WP Super Cache. Could not get mutex lock. -->\n";
338
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Could not get mutex lock. Not caching.", 1 );
339
+ return $buffer;
340
  }
341
 
342
  if ( $wp_cache_not_logged_in && is_feed() ) {
343
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Feed detected. Writing legacy cache files.", 5 );
344
  $wp_cache_not_logged_in = false;
345
  }
346
 
349
  $dir = get_current_url_supercache_dir();
350
  $supercachedir = $cache_path . 'supercache/' . preg_replace('/:.*$/', '', $home_url[ 'host' ]);
351
  if( !empty( $_GET ) || is_feed() || ( $super_cache_enabled == true && is_dir( substr( $supercachedir, 0, -1 ) . '.disabled' ) ) ) {
352
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Supercache disabled: GET or feed detected or disabled by config.", 2 );
353
  $super_cache_enabled = false;
354
  }
355
 
357
 
358
  $supercacheonly = false;
359
  if( $super_cache_enabled ) {
360
+ if ( wp_cache_get_cookies_values() == '' ) {
361
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Anonymous user detected. Only creating Supercache file.", 3 );
362
  $supercacheonly = true;
363
  }
364
  }
368
  $super_cache_enabled = false;
369
  $cache_enabled = false;
370
  $cache_error = 'Not caching requests by known users. (See Advanced Settings page)';
371
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Not caching for known user.', 5 );
372
  }
373
 
374
  if ( $wp_cache_object_cache ) { // half on mode when using the object cache
382
  }
383
 
384
  if ( !$cache_enabled ) {
385
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( '', 5 );
386
  wp_cache_writers_exit();
387
+ return $buffer . "\n<!-- Page not cached by WP Super Cache. Check your settings page. $cache_error -->";
 
 
 
 
 
 
 
388
  }
389
 
390
  if( @is_dir( $dir ) == false )
392
 
393
  $fr = $fr2 = $gz = false;
394
  // Open wp-cache cache file
395
+ if ( !$supercacheonly ) {
396
+ if ( false == $wp_cache_object_cache ) {
397
  $fr = @fopen($tmp_wpcache_filename, 'w');
398
  if (!$fr) {
399
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $cache_path ) . $cache_filename, 1 );
400
+ $buffer .= "<!-- File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $cache_path ) . $cache_filename . " -->\n";
401
  wp_cache_writers_exit();
402
+ return $buffer;
403
  }
404
+ }
405
+ } else {
406
+ $user_info = wp_cache_get_cookies_values();
407
+ $do_cache = apply_filters( 'do_createsupercache', $user_info );
408
+ if ( $super_cache_enabled && ( $user_info == '' || $do_cache === true ) ) {
409
+
410
+ $cache_fname = $dir . supercache_filename();
411
+ $tmp_cache_filename = $dir . uniqid( mt_rand(), true ) . '.tmp';
412
+ $fr2 = @fopen( $tmp_cache_filename, 'w' );
413
+ if ( !$fr2 ) {
414
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $tmp_cache_filename ), 1 );
415
+ $buffer .= "<!-- File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $tmp_cache_filename ) . " -->\n";
416
+ @fclose( $fr );
417
+ @unlink( $tmp_wpcache_filename );
418
+ wp_cache_writers_exit();
419
+ return $buffer;
420
+ } elseif ( $cache_compression ) {
421
+ $gz = @fopen( $tmp_cache_filename . ".gz", 'w');
422
+ if (!$gz) {
423
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $tmp_cache_filename ) . ".gz", 1 );
424
+ $buffer .= "<!-- File not cached! Super Cache Couldn't write to: " . str_replace( ABSPATH, '', $tmp_cache_filename ) . ".gz -->\n";
425
  @fclose( $fr );
426
  @unlink( $tmp_wpcache_filename );
427
+ @fclose( $fr2 );
428
+ @unlink( $tmp_cache_filename );
429
  wp_cache_writers_exit();
430
+ return $buffer;
 
 
 
 
 
 
 
 
 
 
 
 
431
  }
432
  }
433
  }
435
 
436
  $added_cache = 0;
437
  $oc_key = get_oc_key();
438
+ if ( preg_match( '/<!--mclude|<!--mfunc|<!--dynamic-cached-content-->/', $buffer ) ) { //Dynamic content
439
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Dynamic content found in buffer.", 4 );
440
+ $store = preg_replace('|<!--mclude (.*?)-->(.*?)<!--/mclude-->|is',
441
+ "<!--mclude-->\n<?php include_once('" . ABSPATH . "$1'); ?>\n<!--/mclude-->", $buffer);
442
+ $store = preg_replace('|<!--mfunc (.*?)-->(.*?)<!--/mfunc-->|is',
443
+ "<!--mfunc-->\n<?php $1 ;?>\n<!--/mfunc-->", $store);
444
+ $store = preg_replace('|<!--dynamic-cached-content-->(.*?)<!--(.*?)--><!--/dynamic-cached-content-->|is',
445
+ "<!--dynamic-cached-content-->\n<?php$2?>\n<!--/dynamic-cached-content-->", $store);
446
+ $wp_cache_meta[ 'dynamic' ] = true;
447
+ /* Clean function calls in tag */
448
+ $buffer = preg_replace('|<!--mclude (.*?)-->|is', '<!--mclude-->', $buffer);
449
+ $buffer = preg_replace('|<!--mfunc (.*?)-->|is', '<!--mfunc-->', $buffer);
450
+ $buffer = preg_replace('|<!--dynamic-cached-content-->(.*?)<!--(.*?)--><!--/dynamic-cached-content-->|is',
451
+ "<!--dynamic-cached-content-->$1<!--/dynamic-cached-content-->", $buffer);
452
+ $store = apply_filters( 'wpsupercache_buffer', $store );
453
+ // Append WP Super Cache or Live page comment tag
454
+ wp_cache_append_tag($buffer);
455
+ wp_cache_append_tag($store);
456
  global $wp_super_cache_late_init;
457
  if ( false == isset( $wp_super_cache_late_init ) || ( isset( $wp_super_cache_late_init ) && $wp_super_cache_late_init == 0 ) )
458
+ $buffer .= '<!-- Super Cache dynamic page detected but $wp_super_cache_late_init not set. See the readme.txt for further details. -->';
459
+
460
+ if ( false == $wp_cache_object_cache ) {
461
+ if( $fr ) { // legacy caching
462
+ fputs($fr, $store);
463
+ } elseif ( isset( $fr2 ) ) { // supercache active
464
+ $php_fname = "{$dir}" . supercache_filename() . ".php";
465
+ $tmp_php_filename = $dir . uniqid( mt_rand(), true ) . '.tmp';
466
+ $php_fd = @fopen( $tmp_php_filename, 'w' );
467
+ if ( !$php_fd ) {
468
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Error. Supercache could not write to " . str_replace( ABSPATH, '', $tmp_php_filename ), 1 );
469
+ $buffer .= "<!-- File not cached! Super Cache couldn't write to: " . str_replace( ABSPATH, '', $tmp_php_filename ) . " -->\n";
470
+ @fclose( $php_fd );
471
+ @unlink( $tmp_php_filename );
472
+ wp_cache_writers_exit();
473
+ return $buffer;
474
+ }
475
+ fputs( $php_fd, $store );
476
+ }
477
+ } else {
478
+ wp_cache_set( $oc_key, $store, 'supercache', $cache_max_time );
479
  }
 
 
 
 
480
  if ( $cache_compression && $wp_cache_gzip_encoding ) {
481
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Gzipping dynamic buffer.", 5 );
482
+ $gzdata = gzencode( $buffer . "<!-- Compression = gzip -->", 6, FORCE_GZIP );
 
483
  $gzsize = function_exists( 'mb_strlen' ) ? mb_strlen( $gzdata, '8bit' ) : strlen( $gzdata );
484
  }
485
  } else {
486
+ $buffer = apply_filters( 'wpsupercache_buffer', $buffer );
487
+ // Append WP Super Cache or Live page comment tag
488
+ wp_cache_append_tag($buffer);
489
+ if( $gz || $wp_cache_gzip_encoding ) {
490
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Gzipping buffer.", 5 );
491
+ $gzdata = gzencode( $buffer . "<!-- Compression = gzip -->", 6, FORCE_GZIP );
492
  $gzsize = function_exists( 'mb_strlen' ) ? mb_strlen( $gzdata, '8bit' ) : strlen( $gzdata );
493
+ }
494
+ if ($wp_cache_gzip_encoding) {
495
  $wp_cache_meta[ 'headers' ][ 'Content-Encoding' ] = 'Content-Encoding: ' . $wp_cache_gzip_encoding;
496
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Accept-Encoding, Cookie';
497
  // Return uncompressed data & store compressed for later use
498
+ if ( false == $wp_cache_object_cache ) {
499
+ if( $fr ) {
500
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing gzipped buffer to wp-cache cache file.", 5 );
501
+ fputs($fr, $gzdata);
502
+ }
503
+ } elseif ( $cache_enabled ) {
504
  wp_cache_set( $oc_key . ".gz", $gzdata, 'supercache', $cache_max_time );
505
  $added_cache = 1;
506
  }
507
  } else { // no compression
508
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Cookie';
509
+ if ( false == $wp_cache_object_cache ) {
510
+ if( $fr ) {
511
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing non-gzipped buffer to wp-cache cache file.", 5 );
512
+ fputs($fr, $buffer);
513
+ }
514
+ } elseif ( $cache_enabled ) {
515
  wp_cache_set( $oc_key, $buffer, 'supercache', $cache_max_time );
516
  $added_cache = 1;
 
 
 
517
  }
518
  }
519
+ if ( false == $wp_cache_object_cache ) {
520
+ if( $fr2 ) {
521
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing non-gzipped buffer to supercache file.", 5 );
522
+ fputs($fr2, $buffer . '<!-- super cache -->' );
523
+ }
524
+ if( $gz ) {
525
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing gzipped buffer to supercache file.", 5 );
526
+ fwrite($gz, $gzdata );
527
+ }
528
  }
529
  }
 
530
  $new_cache = true;
531
  if ( false == $wp_cache_object_cache ) {
532
  if( $fr ) {
533
  $supercacheonly = false;
534
  fclose($fr);
535
  if ( filesize( $tmp_wpcache_filename ) == 0 ) {
536
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! The file $tmp_wpcache_filename was empty. Did not rename to {$blog_cache_dir}{$cache_filename}", 5 );
537
  @unlink( $tmp_wpcache_filename );
538
  } else {
539
+ if ( !rename( $tmp_wpcache_filename, $blog_cache_dir . $cache_filename ) ) {
540
+ unlink( $blog_cache_dir . $cache_filename );
541
+ rename( $tmp_wpcache_filename, $blog_cache_dir . $cache_filename );
 
 
542
  }
543
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Renamed temp wp-cache file to {$blog_cache_dir}$cache_filename", 5 );
544
  $added_cache = 1;
545
  }
546
  }
548
  fclose($fr2);
549
  if ( $wp_cache_front_page_checks && $cache_fname == $supercachedir . $home_url[ 'path' ] . supercache_filename() && !( $wp_cache_is_home ) ) {
550
  wp_cache_writers_exit();
551
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! Not writing another page to front page cache.", 1 );
552
  return $buffer;
553
  } elseif ( filesize( $tmp_cache_filename ) == 0 ) {
554
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! The file $tmp_cache_filename was empty. Did not rename to {$cache_fname}", 5 );
555
  @unlink( $tmp_cache_filename );
556
  } else {
557
  if ( !@rename( $tmp_cache_filename, $cache_fname ) ) {
558
  @unlink( $cache_fname );
559
  @rename( $tmp_cache_filename, $cache_fname );
560
  }
561
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Renamed temp supercache file to $cache_fname", 5 );
562
+ $added_cache = 1;
563
+ }
564
+ }
565
+ if( $php_fd ) {
566
+ fclose( $php_fd );
567
+ if ( $php_fname == $supercachedir . $home_url[ 'path' ] . supercache_filename() . '.php' && !( $wp_cache_is_home ) ) {
568
+ wp_cache_writers_exit();
569
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! Not writing another page to front page cache.", 1 );
570
+ return $buffer;
571
+ } elseif ( filesize( $tmp_php_filename ) == 0 ) {
572
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! The file $tmp_php_filename was empty. Did not rename to {$php_fname}", 5 );
573
+ @unlink( $tmp_php_filename );
574
+ } else {
575
+ if ( !@rename( $tmp_php_filename, $php_fname ) ) {
576
+ @unlink( $php_fname );
577
+ @rename( $tmp_php_filename, $php_fname );
578
+ }
579
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Renamed temp supercache file to $php_fname", 5 );
580
  $added_cache = 1;
581
  }
582
  }
583
  if( $gz ) {
584
  fclose($gz);
585
  if ( filesize( $tmp_cache_filename . '.gz' ) == 0 ) {
586
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Warning! The file {$tmp_cache_filename}.gz was empty. Did not rename to {$cache_fname}.gz", 5 );
587
  @unlink( $tmp_cache_filename . '.gz' );
588
  } else {
589
  if ( !@rename( $tmp_cache_filename . '.gz', $cache_fname . '.gz' ) ) {
590
  @unlink( $cache_fname . '.gz' );
591
  @rename( $tmp_cache_filename . '.gz', $cache_fname . '.gz' );
592
  }
593
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Renamed temp supercache gz file to {$cache_fname}.gz", 5 );
594
  $added_cache = 1;
595
  }
596
  }
600
  $last_urls = (array)get_option( 'supercache_last_cached' );
601
  if ( count( $last_urls ) >= 10 )
602
  $last_urls = array_slice( $last_urls, 1, 9 );
603
+ $last_urls[] = array( 'url' => $_SERVER[ 'REQUEST_URI' ], 'date' => date( 'Y-m-d H:i:s' ) );
604
  update_option( 'supercache_last_cached', $last_urls );
605
  }
606
  wp_cache_writers_exit();
607
  if ( !headers_sent() && $wp_cache_gzip_encoding && $gzdata) {
608
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing gzip content headers. Sending buffer to browser", 5 );
609
  header( 'Content-Encoding: ' . $wp_cache_gzip_encoding );
610
  header( 'Vary: Accept-Encoding, Cookie' );
611
  header( 'Content-Length: ' . $gzsize );
612
  return $gzdata;
613
  } else {
614
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Sending buffer to browser", 5 );
615
  return $buffer;
616
  }
617
  }
621
 
622
  if( !wp_cache_writers_entry() )
623
  return false;
624
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Cleaning cache in $blog_cache_dir", 3 );
625
  if ( ( $handle = @opendir( $blog_cache_dir ) ) ) {
626
  while ( false !== ($file = @readdir($handle))) {
627
  if ( preg_match("/^$file_prefix/", $file) ) {
666
  if ($file == '.' || $file == '..')
667
  continue;
668
  $donotdelete = true;
669
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "gc: could not delete $entry as it's not empty: $file", 2 );
670
  }
671
  closedir($handle);
672
  }
675
  if( !$rename ) {
676
  @rmdir( $entry );
677
  $log++;
678
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "gc: deleted $entry", 2 );
 
 
 
 
679
  }
680
  }
681
  }
686
  if( in_array( $directory, $protected_directories ) )
687
  $oktodelete = false;
688
  if( $oktodelete && !$rename ) {
 
689
  @unlink( $directory );
690
  $log++;
691
  } elseif( $oktodelete && $rename ) {
 
692
  wp_cache_rebuild_or_delete( $directory );
693
  $log++;
694
  }
703
  if( $cache_rebuild_files && substr( $file, -14 ) != '.needs-rebuild' ) {
704
  if( @rename($file, $file . '.needs-rebuild') ) {
705
  @touch( $file . '.needs-rebuild' );
706
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "rebuild_or_gc: rename to {$file}.needs-rebuild", 2 );
707
  } else {
708
  @unlink( $file );
709
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "rebuild_or_gc: deleted $file", 2 );
710
  }
711
  } else {
712
  @unlink( $file );
713
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "rebuild_or_gc: deleted $file", 2 );
714
  }
715
  }
716
 
721
  if( !wp_cache_writers_entry() )
722
  return false;
723
  $now = time();
724
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Cleaning expired cache files in $blog_cache_dir", 2 );
725
  if ( ( $handle = @opendir( $blog_cache_dir ) ) ) {
726
  while ( false !== ($file = readdir($handle))) {
727
  if ( preg_match("/^$file_prefix/", $file) &&
728
  (@filemtime( $blog_cache_dir . $file) + $cache_max_time) <= $now ) {
729
  @unlink( $blog_cache_dir . $file );
730
  @unlink( $blog_cache_dir . 'meta/' . str_replace( '.html', '.meta', $file ) );
731
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Deleting $blog_cache_dir{$file} (plus meta)", 5 );
732
  continue;
733
  }
734
  if($file != '.' && $file != '..') {
735
  if( is_dir( $blog_cache_dir . $file ) == false && (@filemtime($blog_cache_dir . $file) + $cache_max_time) <= $now ) {
736
  if( substr( $file, -9 ) != '.htaccess' ) {
737
  @unlink($blog_cache_dir . $file);
738
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Deleting $blog_cache_dir{$file}", 5 );
739
  }
740
  }
741
  }
742
  }
743
  closedir($handle);
744
  if ( false == $wp_cache_preload_on || true == $force ) {
745
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Doing GC on supercache dir: {$cache_path}supercache", 2 );
746
  $deleted = prune_super_cache( $cache_path . 'supercache', false, false );
747
  }
748
  }
754
  function wp_cache_shutdown_callback() {
755
  global $cache_path, $cache_max_time, $file_expired, $file_prefix, $meta_file, $new_cache, $wp_cache_meta, $known_headers, $blog_id, $wp_cache_gzip_encoding, $gzsize, $cache_filename, $supercacheonly, $blog_cache_dir;
756
  global $wp_cache_request_uri, $wp_cache_key, $wp_cache_object_cache, $cache_enabled, $wp_cache_blog_charset, $wp_cache_not_logged_in;
 
757
 
758
+ $wp_cache_meta[ 'uri' ] = $_SERVER["SERVER_NAME"].preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', $wp_cache_request_uri); // To avoid XSS attacks
759
  $wp_cache_meta[ 'blog_id' ] = $blog_id;
760
  $wp_cache_meta[ 'post' ] = wp_cache_post_id();
761
  $wp_cache_meta[ 'key' ] = $wp_cache_key;
768
  }
769
  }
770
 
771
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_shutdown_callback: collecting meta data.", 2 );
772
 
773
  if (!isset( $response['Last-Modified'] )) {
774
  $value = gmdate('D, d M Y H:i:s') . ' GMT';
803
  }
804
  $value .= "; charset=\"" . $wp_cache_blog_charset . "\"";
805
 
806
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Sending 'Content-Type: $value' header.", 2 );
807
  @header("Content-Type: $value");
808
  $wp_cache_meta[ 'headers' ][ 'Content-Type' ] = "Content-Type: $value";
809
  }
810
 
811
+ if ( !$supercacheonly && !$wp_cache_not_logged_in && $new_cache ) {
812
  if( !isset( $wp_cache_meta[ 'dynamic' ] ) && $wp_cache_gzip_encoding && !in_array( 'Content-Encoding: ' . $wp_cache_gzip_encoding, $wp_cache_meta[ 'headers' ] ) ) {
813
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Sending gzip headers.", 2 );
814
  $wp_cache_meta[ 'headers' ][ 'Content-Encoding' ] = 'Content-Encoding: ' . $wp_cache_gzip_encoding;
815
  $wp_cache_meta[ 'headers' ][ 'Vary' ] = 'Vary: Accept-Encoding, Cookie';
816
  }
817
 
818
  $serial = serialize($wp_cache_meta);
819
  if( wp_cache_writers_entry() ) {
820
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Writing meta file: {$blog_cache_dir}meta/{$meta_file}", 2 );
821
  if ( false == $wp_cache_object_cache ) {
822
  $tmp_meta_filename = $blog_cache_dir . 'meta/' . uniqid( mt_rand(), true ) . '.tmp';
823
  $fr = @fopen( $tmp_meta_filename, 'w');
824
  if( !$fr )
825
+ @mkdir( $blog_cache_dir . 'meta' );
826
  $fr = @fopen( $tmp_meta_filename, 'w');
827
  if ( $fr ) {
828
  fputs($fr, $serial);
833
  @rename( $tmp_meta_filename, $blog_cache_dir . 'meta/' . $meta_file );
834
  }
835
  } else {
836
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Problem writing meta file: {$blog_cache_dir}meta/{$meta_file}", 2 );
837
  }
838
  } elseif ( $cache_enabled ) {
839
  $oc_key = get_oc_key() . ".meta";
843
  }
844
  wp_cache_writers_exit();
845
  }
 
 
846
  }
847
  global $time_to_gc_cache;
848
  if( isset( $time_to_gc_cache ) && $time_to_gc_cache == 1 ) {
849
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Executing wp_cache_gc action.", 3 );
850
  do_action( 'wp_cache_gc' );
851
  }
852
  }
863
  $comment[ 'comment_approved' ] = $status;
864
  }
865
 
866
+ if ( ( $status == 'trash' || $status == 'spam' ) && $comment[ 'comment_approved' ] != 1 ) {
867
  // don't modify cache if moderated comments are trashed or spammed
868
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Moderated comment deleted or spammed. Don't delete any cache files.", 4 );
 
869
  return wp_cache_post_id();
870
  }
871
  $postid = $comment['comment_post_ID'];
873
  // http://ocaoimh.ie/2006/12/05/caching-wordpress-with-wp-cache-in-a-spam-filled-world
874
  if ( !preg_match('/wp-admin\//', $wp_cache_request_uri) ) {
875
  if ( $comment['comment_approved'] == 'delete' && ( isset( $comment[ 'old_comment_approved' ] ) && $comment[ 'old_comment_approved' ] == 0 ) ) { // do nothing if moderated comments are deleted
876
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Moderated comment deleted. Don't delete any cache files.", 4 );
 
877
  return $postid;
878
  } elseif ( $comment['comment_approved'] == 'spam' ) {
879
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Spam comment. Don't delete any cache files.", 4 );
 
880
  return $postid;
881
  } elseif( $comment['comment_approved'] == '0' ) {
882
  if ( $comment[ 'content_type' ] == '' ) {
883
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Moderated comment. Don't delete supercache file until comment approved.", 4 );
884
  $super_cache_enabled = 0; // don't remove the super cache static file until comment is approved
 
885
  } else {
886
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Moderated ping or trackback. Not deleting cache files..", 4 );
 
887
  return $postid;
888
  }
889
  }
892
  // for delete, for example both wp_set_comment_status and delete_comment
893
  // are called when deleting a comment
894
  if ($postid > 0) {
895
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post $postid changed. Update cache.", 4 );
896
  return wp_cache_post_change( $postid );
897
  } elseif ( $_GET[ 'delete_all' ] != 'Empty Trash' && $_GET[ 'delete_all2' ] != 'Empty Spam' ) {
898
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Unknown post changed. Update cache.", 4 );
899
  return wp_cache_post_change( wp_cache_post_id() );
900
  }
901
  }
902
 
 
 
 
 
 
 
903
  /* Clear out the cache directory. */
904
+ function wp_cache_clear_cache() {
905
  global $cache_path, $wp_cache_object_cache;
906
  if ( $wp_cache_object_cache ) {
907
  reset_oc_version();
908
  } else {
909
+ prune_super_cache( $cache_path . 'supercache/', true );
910
+ prune_super_cache( $cache_path, true );
 
 
 
 
 
 
 
911
  }
912
  }
913
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
914
  function wp_cache_post_edit($post_id) {
915
+ global $wp_cache_clear_on_post_edit, $cache_path, $blog_cache_dir;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
916
  if( $wp_cache_clear_on_post_edit ) {
917
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Clearing cache $blog_cache_dir and {$cache_path}supercache/ on post edit per config.", 2 );
918
  if ( $wp_cache_object_cache ) {
919
  reset_oc_version();
920
  } else {
921
  prune_super_cache( $blog_cache_dir, true );
922
+ prune_super_cache( $cache_path . 'supercache/', true );
923
  }
924
  } else {
925
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Clearing cache for post $post_id on post edit.", 2 );
926
  wp_cache_post_change( $post_id );
927
  }
928
  }
929
 
930
  function wp_cache_post_id_gc( $siteurl, $post_id, $all = 'all' ) {
931
+ global $cache_path, $wp_cache_object_cache;
932
 
933
  if ( $wp_cache_object_cache )
934
  reset_oc_version();
939
 
940
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( $post_id ) ) );
941
  $dir = get_current_url_supercache_dir( $post_id );
942
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_id_gc post_id: $post_id " . post_permalink( $post_id ) . " clearing cache in $dir.", 4 );
943
  if ( $all == 'all' ) {
944
  prune_super_cache( $dir, true, true );
945
  do_action( 'gc_cache', 'prune', $permalink );
946
  @rmdir( $dir );
947
  } else {
948
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_id_gc clearing cached index files in $dir.", 4 );
949
  prune_super_cache( $dir, true, true );
950
  do_action( 'gc_cache', 'prune', $permalink );
951
  }
952
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_id_gc clearing cache in {$dir}page/.", 4 );
953
+ prune_super_cache( $dir . 'page/', true );
 
 
 
954
  do_action( 'gc_cache', 'prune', '/page/' );
955
  }
956
 
957
  function wp_cache_post_change( $post_id ) {
958
+ global $file_prefix, $cache_path, $blog_id, $super_cache_enabled, $blog_cache_dir, $blogcacheid, $wp_cache_refresh_single_only;
959
  static $last_processed = -1;
960
 
961
+ if ($post_id == $last_processed) return $post_id;
962
+ $last_processed = $post_id;
 
 
963
  $post = get_post( $post_id );
964
+ if( $post->post_status == 'draft' ) {
965
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_change: draft post, not deleting any cache files.", 4 );
 
 
966
  return $post_id;
967
  }
 
968
 
969
  if( !wp_cache_writers_entry() )
970
  return $post_id;
971
 
972
+ if ( isset( $wp_cache_refresh_single_only ) && $wp_cache_refresh_single_only && strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-comments-post.php' ) ) {
973
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "wp_cache_post_change: comment detected. only deleting post page.", 4 );
974
+ $all = false;
 
 
 
 
 
975
  } else {
976
  $all = true;
977
  }
985
  $siteurl = trailingslashit( strtolower( preg_replace( '/:.*$/', '', str_replace( 'http://', '', get_option( 'home' ) ) ) ) );
986
  // make sure the front page has a rebuild file
987
  wp_cache_post_id_gc( $siteurl, $post_id );
988
+ // make sure the front page has a rebuild file
989
  if ( $all == true ) {
990
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change: deleting cache files in " . $cache_path . 'supercache/' . $siteurl, 4 );
991
  $files_to_check = get_all_supercache_filenames( $dir );
992
  foreach( $files_to_check as $cache_file ) {
993
  prune_super_cache( $dir . $cache_file, true, true );
994
  }
995
  do_action( 'gc_cache', 'prune', 'homepage' );
996
  }
997
+ wp_cache_post_id_gc( $siteurl, $post_id );
998
  if( $all == true && get_option( 'show_on_front' ) == 'page' ) {
999
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change: deleting page_on_front and page_for_posts pages.", 4 );
1000
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change: page_on_front " . get_option( 'page_on_front' ), 4 );
1001
  wp_cache_post_id_gc( $siteurl, get_option( 'page_on_front' ), 'single' );
1002
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( get_option( 'page_for_posts' ) ) ) );
1003
  $files_to_check = get_all_supercache_filenames( $dir . $permalink );
1016
  $content_pathname = $blog_cache_dir . $matches[1] . ".html";
1017
  $meta = unserialize(@file_get_contents($meta_pathname));
1018
  if( false == is_array( $meta ) ) {
1019
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change cleaning up stray file: $content_pathname", 4 );
1020
  @unlink($meta_pathname);
1021
  @unlink($content_pathname);
1022
  continue;
1024
  if ($post_id > 0 && $meta) {
1025
  $permalink = trailingslashit( str_replace( get_option( 'home' ), '', post_permalink( $post_id ) ) );
1026
  if ( $meta[ 'blog_id' ] == $blog_id && ( ( $all == true && !$meta[ 'post' ] ) || $meta[ 'post' ] == $post_id) ) {
1027
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change: deleting post cache files for {$meta[ 'uri' ]}: $content_pathname", 4 );
1028
  @unlink($meta_pathname);
1029
  @unlink($content_pathname);
1030
  if ( $super_cache_enabled == true ) {
1033
  }
1034
  }
1035
  } elseif ($meta[ 'blog_id' ] == $blog_id) {
1036
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Post change: deleting cache files for {$meta[ 'uri' ]}: $content_pathname", 4 );
1037
  @unlink($meta_pathname);
1038
  @unlink($content_pathname);
1039
  if ( $super_cache_enabled == true ) {
1070
  return 0;
1071
  }
1072
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1073
  function wp_cache_gc_cron() {
1074
  global $file_prefix, $cache_max_time, $cache_gc_email_me, $cache_time_interval;
1075
 
1076
  $msg = '';
1077
  if ( $cache_max_time == 0 ) {
1078
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Cache garbage collection disabled because cache expiry time is zero.', 5 );
 
 
 
 
 
 
1079
  return false;
1080
  }
 
1081
  update_option( 'wpsupercache_gc_time', time() );
 
 
 
1082
 
1083
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Cache garbage collection.', 5 );
1084
 
1085
  if( !isset( $cache_max_time ) )
1086
  $cache_max_time = 600;
1087
 
1088
  $start = time();
1089
  $num = 0;
1090
+ if( false == ( $num = wp_cache_phase2_clean_expired( $file_prefix ) ) ) {
1091
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Cache Expiry cron job failed. Probably mutex locked.', 1 );
1092
  update_option( 'wpsupercache_gc_time', time() - ( $cache_time_interval - 10 ) ); // if GC failed then run it again in one minute
1093
  $msg .= __( 'Cache expiry cron job failed. Job will run again in 10 seconds.', 'wp-super-cache' ) . "\n";
1094
  }
1095
  if( time() - $start > 30 ) {
1096
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( "Cache Expiry cron job took more than 30 seconds to execute.\nYou should reduce the Expiry Time in the WP Super Cache admin page\nas you probably have more cache files than your server can handle efficiently.", 1 );
1097
  $msg .= __( 'Cache expiry cron job took more than 30 seconds. You should probably run the garbage collector more often.', 'wp-super-cache' ) . "\n";
1098
  }
1099
 
1105
 
1106
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] WP Super Cache GC Report', 'wp-super-cache' ), site_url() ), $msg );
1107
  }
 
 
1108
  schedule_wp_gc( 1 );
1109
  }
1110
 
1111
  function schedule_wp_gc( $forced = 0 ) {
1112
  global $cache_schedule_type, $cache_max_time, $cache_time_interval, $cache_scheduled_time, $cache_schedule_interval;
1113
 
 
 
 
1114
  if ( false == isset( $cache_schedule_type ) ) {
1115
  $cache_schedule_type = 'interval';
1116
  $cache_schedule_interval = $cache_max_time;
1117
  }
1118
  if ( $cache_schedule_type == 'interval' ) {
 
 
1119
  if ( $cache_max_time == 0 )
1120
  return false;
1121
+ if ( !isset( $cache_max_time ) )
1122
+ $cache_max_time = 600;
1123
  $last_gc = get_option( "wpsupercache_gc_time" );
1124
 
1125
  if ( !$last_gc ) {
1132
  if ( !($t = wp_next_scheduled( 'wp_cache_gc' ) ) ) {
1133
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1134
  wp_schedule_single_event( time() + $cache_time_interval, 'wp_cache_gc' );
1135
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'scheduled wp_cache_gc for 10 seconds time.', 5 );
1136
  }
1137
  } else {
1138
  global $time_to_gc_cache;
1145
  return true;
1146
  }
1147
 
 
 
 
 
 
 
 
1148
  ?>
wp-cache.php CHANGED
@@ -1,17 +1,15 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Super Cache
4
- Plugin URI: http://wordpress.org/plugins/wp-super-cache/
5
  Description: Very fast caching plugin for WordPress.
6
- Version: 1.4.3
7
- Author: Automattic
8
- Author URI: http://automattic.com/
9
- License: GPL2+
10
- Text Domain: wp-super-cache
11
  */
12
 
13
- /*
14
- Copyright Automattic and many other contributors.
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
@@ -36,18 +34,6 @@ if( !defined('WP_CONTENT_DIR') )
36
 
37
  $wp_cache_config_file = WP_CONTENT_DIR . '/wp-cache-config.php';
38
 
39
- if ( !defined( 'WPCACHEHOME' ) ) {
40
- define( 'WPCACHEHOME', dirname( __FILE__ ) . '/' );
41
- $wp_cache_config_file_sample = WPCACHEHOME . 'wp-cache-config-sample.php';
42
- $wp_cache_file = WPCACHEHOME . 'advanced-cache.php';
43
- } elseif ( WPCACHEHOME != dirname( __FILE__ ) . '/' ) {
44
- $wp_cache_config_file_sample = dirname( __FILE__ ) . '/wp-cache-config-sample.php';
45
- $wp_cache_file = dirname( __FILE__ ) . '/advanced-cache.php';
46
- } else {
47
- $wp_cache_config_file_sample = WPCACHEHOME . 'wp-cache-config-sample.php';
48
- $wp_cache_file = WPCACHEHOME . 'advanced-cache.php';
49
- }
50
-
51
  if( !@include($wp_cache_config_file) ) {
52
  get_wpcachehome();
53
  $wp_cache_config_file_sample = WPCACHEHOME . 'wp-cache-config-sample.php';
@@ -56,7 +42,9 @@ if( !@include($wp_cache_config_file) ) {
56
  get_wpcachehome();
57
  }
58
 
 
59
  $wp_cache_link = WP_CONTENT_DIR . '/advanced-cache.php';
 
60
 
61
  if( !defined( 'WP_CACHE' ) || ( defined( 'WP_CACHE' ) && constant( 'WP_CACHE' ) == false ) ) {
62
  $wp_cache_check_wp_config = true;
@@ -78,14 +66,14 @@ function wp_cache_set_home() {
78
  add_action( 'template_redirect', 'wp_cache_set_home' );
79
 
80
 
81
- // OSSDL CDN plugin (http://wordpress.org/plugins/ossdl-cdn-off-linker/)
82
  include_once( WPCACHEHOME . 'ossdl-cdn.php' );
83
 
84
  // from legolas558 d0t users dot sf dot net at http://www.php.net/is_writable
85
  function is_writeable_ACLSafe($path) {
86
 
87
  // PHP's is_writable does not work with Win32 NTFS
88
-
89
  if ($path{strlen($path)-1}=='/') // recursively return a temporary file path
90
  return is_writeable_ACLSafe($path.uniqid(mt_rand()).'.tmp');
91
  else if (is_dir($path))
@@ -127,11 +115,9 @@ function wpsupercache_deactivate() {
127
  @unlink( $cache_path . 'meta' );
128
  @unlink( $cache_path . 'supercache' );
129
  wp_clear_scheduled_hook( 'wp_cache_check_site_hook' );
130
- wp_clear_scheduled_hook( 'wp_cache_gc' );
131
- wp_clear_scheduled_hook( 'wp_cache_gc_watcher' );
132
  wp_cache_disable_plugin();
133
  }
134
- register_uninstall_hook( __FILE__, 'wpsupercache_deactivate' );
135
 
136
  function wpsupercache_activate() {
137
  }
@@ -168,16 +154,15 @@ add_action( 'network_admin_menu', 'wp_cache_network_pages' );
168
 
169
  function wp_cache_manager_error_checks() {
170
  global $wpmu_version, $wp_cache_debug, $wp_cache_cron_check, $cache_enabled, $super_cache_enabled, $wp_cache_config_file, $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes, $wp_cache_mobile_browsers, $wp_cache_mobile_enabled, $wp_cache_mod_rewrite, $cache_path;
171
- global $dismiss_htaccess_warning, $dismiss_readable_warning, $dismiss_gc_warning, $wp_cache_shutdown_gc;
172
 
173
  if ( !wpsupercache_site_admin() )
174
  return false;
175
-
176
- if ( version_compare( PHP_VERSION, '5.3.0', '<' ) && ( 1 == ini_get( 'safe_mode' ) || "on" == strtolower( ini_get( 'safe_mode' ) ) ) ) {
177
  echo '<div id="message" class="updated fade"><h3>' . __( 'Warning! PHP Safe Mode Enabled!', 'wp-super-cache' ) . '</h3><p>' .
178
  __( 'You may experience problems running this plugin because SAFE MODE is enabled.', 'wp-super-cache' ) . ' ';
179
-
180
-
181
  if( !ini_get( 'safe_mode_gid' ) ) {
182
  _e( 'Your server is set up to check the owner of PHP scripts before allowing them to read and write files.', 'wp-super-cache' ) . " ";
183
  printf( __( 'You or an administrator may be able to make it work by changing the group owner of the plugin scripts to match that of the web server user. The group owner of the %s/cache/ directory must also be changed. See the <a href="http://php.net/features.safe-mode">safe mode manual page</a> for further details.', 'wp-super-cache' ), WP_CONTENT_DIR );
@@ -203,7 +188,7 @@ function wp_cache_manager_error_checks() {
203
  if( substr( $ip, 0, 3 ) == '127' || substr( $ip, 0, 7 ) == '192.168' ) {
204
  ?><div id="message" class="updated fade"><h3><?php printf( __( 'Warning! Your hostname "%s" resolves to %s', 'wp-super-cache' ), $hostname, $ip ); ?></h3>
205
  <p><?php printf( __( 'Your server thinks your hostname resolves to %s. Some services such as garbage collection by this plugin, and WordPress scheduled posts may not operate correctly.', 'wp-super-cache' ), $ip ); ?></p>
206
- <p><?php printf( __( 'Please see entry 16 in the <a href="%s">Troubleshooting section</a> of the readme.txt', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/faq/' ); ?></p>
207
  </div>
208
  <?php
209
  return false;
@@ -217,9 +202,10 @@ function wp_cache_manager_error_checks() {
217
  if( $cron[ 'response' ][ 'code' ] == '404' ) {
218
  ?><div id="message" class="updated fade"><h3>Warning! wp-cron.php not found!</h3>
219
  <p><?php _e( 'Unfortunately WordPress cannot find the file wp-cron.php. This script is required for the the correct operation of garbage collection by this plugin, WordPress scheduled posts as well as other critical activities.', 'wp-super-cache' ); ?></p>
220
- <p><?php printf( __( 'Please see entry 16 in the <a href="%s">Troubleshooting section</a> of the readme.txt', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/faq/' ); ?></p>
221
  </div>
222
  <?php
 
223
  } else {
224
  wp_cache_replace_line('^ *\$wp_cache_cron_check', "\$wp_cache_cron_check = 1;", $wp_cache_config_file);
225
  }
@@ -238,7 +224,7 @@ function wp_cache_manager_error_checks() {
238
  return false;
239
  }
240
 
241
- if ( 1 == ini_get( 'zlib.output_compression' ) || "on" == strtolower( ini_get( 'zlib.output_compression' ) ) ) {
242
  ?><div id="message" class="updated fade"><h3><?php _e( 'Zlib Output Compression Enabled!', 'wp-super-cache' ); ?></h3>
243
  <p><?php _e( 'PHP is compressing the data sent to the visitors of your site. Disabling this is recommended as the plugin caches the compressed output once instead of compressing the same page over and over again. Also see #21 in the Troubleshooting section. See <a href="http://php.net/manual/en/zlib.configuration.php">this page</a> for instructions on modifying your php.ini.', 'wp-super-cache' ); ?></p></div><?php
244
  }
@@ -249,8 +235,7 @@ function wp_cache_manager_error_checks() {
249
  }
250
 
251
  if( !is_writeable_ACLSafe( $wp_cache_config_file ) ) {
252
- if ( !defined( 'SUBMITDISABLED' ) )
253
- define( "SUBMITDISABLED", 'disabled style="color: #aaa" ' );
254
  ?><div id="message" class="updated fade"><h3><?php _e( 'Read Only Mode. Configuration cannot be changed.', 'wp-super-cache' ); ?></h3>
255
  <p><?php printf( __( 'The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> and cannot be modified. That file must be writeable by the webserver to make any changes.', 'wp-super-cache' ), WP_CONTENT_DIR ); ?>
256
  <?php _e( 'A simple way of doing that is by changing the permissions temporarily using the CHMOD command or through your ftp client. Make sure it&#8217;s globally writeable and it should be fine.', 'wp-super-cache' ); ?></p>
@@ -258,73 +243,32 @@ function wp_cache_manager_error_checks() {
258
  <?php _e( 'Writeable:', 'wp-super-cache' ); ?> <code>chmod 666 <?php echo WP_CONTENT_DIR; ?>/wp-cache-config.php</code>
259
  <?php _e( 'Readonly:', 'wp-super-cache' ); ?> <code>chmod 644 <?php echo WP_CONTENT_DIR; ?>/wp-cache-config.php</code></p>
260
  </div><?php
261
- } elseif ( !defined( 'SUBMITDISABLED' ) ) {
262
  define( "SUBMITDISABLED", ' ' );
263
  }
264
 
265
- $valid_nonce = isset($_REQUEST['_wpnonce']) ? wp_verify_nonce($_REQUEST['_wpnonce'], 'wp-cache') : false;
266
- // Check that garbage collection is running
267
- if ( $valid_nonce && isset( $_POST[ 'action' ] ) && $_POST[ 'action' ] == 'dismiss_gc_warning' ) {
268
- wp_cache_replace_line('^ *\$dismiss_gc_warning', "\$dismiss_gc_warning = 1;", $wp_cache_config_file);
269
- $dismiss_gc_warning = 1;
270
- } elseif ( !isset( $dismiss_gc_warning ) ) {
271
- $dismiss_gc_warning = 0;
272
- }
273
- if ( $cache_enabled && ( !isset( $wp_cache_shutdown_gc ) || $wp_cache_shutdown_gc == 0 ) && function_exists( 'get_gc_flag' ) ) {
274
- $gc_flag = get_gc_flag();
275
- if ( $dismiss_gc_warning == 0 ) {
276
- if ( false == maybe_stop_gc( $gc_flag ) && false == wp_next_scheduled( 'wp_cache_gc' ) ) {
277
- ?><div id="message" class="updated fade"><h3><?php _e( 'Warning! Garbage collection is not scheduled!', 'wp-super-cache' ); ?></h3>
278
- <p><?php _e( 'Garbage collection by this plugin clears out expired and old cached pages on a regular basis. Use <a href="#expirytime">this form</a> to enable it.', 'wp-super-cache' ); ?> </p>
279
- <form action="" method="POST">
280
- <input type="hidden" name="action" value="dismiss_gc_warning" />
281
- <input type="hidden" name="page" value="wpsupercache" />
282
- <?php wp_nonce_field( 'wp-cache' ); ?>
283
- <input class='button-secondary' type='submit' value='<?php _e( 'Dismiss', 'wp-super-cache' ); ?>' />
284
- </form>
285
- <br />
286
- </div>
287
- <?php
288
- }
289
- }
290
- }
291
-
292
  // Server could be running as the owner of the wp-content directory. Therefore, if it's
293
  // writable, issue a warning only if the permissions aren't 755.
294
- if ( $valid_nonce && isset( $_POST[ 'action' ] ) && $_POST[ 'action' ] == 'dismiss_readable_warning' ) {
295
- wp_cache_replace_line('^ *\$dismiss_readable_warning', "\$dismiss_readable_warning = 1;", $wp_cache_config_file);
296
- $dismiss_readable_warning = 1;
297
- } elseif ( !isset( $dismiss_readable_warning ) ) {
298
- $dismiss_readable_warning = 0;
299
- }
300
- if( $dismiss_readable_warning == 0 && is_writeable_ACLSafe( WP_CONTENT_DIR . '/' ) ) {
301
  $wp_content_stat = stat(WP_CONTENT_DIR . '/');
302
  $wp_content_mode = decoct( $wp_content_stat[ 'mode' ] & 0777 );
303
  if( substr( $wp_content_mode, -2 ) == '77' ) {
304
  ?><div id="message" class="updated fade"><h3><?php printf( __( 'Warning! %s is writeable!', 'wp-super-cache' ), WP_CONTENT_DIR ); ?></h3>
305
  <p><?php printf( __( 'You should change the permissions on %s and make it more restrictive. Use your ftp client, or the following command to fix things:', 'wp-super-cache' ), WP_CONTENT_DIR ); ?> <code>chmod 755 <?php echo WP_CONTENT_DIR; ?>/</code></p>
306
- <p><?php _e( '<a href="http://codex.wordpress.org/Changing_File_Permissions">This page</a> explains how to change file permissions.', 'wp-super-cache' ); ?></p>
307
- <form action="" method="POST">
308
- <input type="hidden" name="action" value="dismiss_readable_warning" />
309
- <input type="hidden" name="page" value="wpsupercache" />
310
- <?php wp_nonce_field( 'wp-cache' ); ?>
311
- <input class='button-secondary' type='submit' value='<?php _e( 'Dismiss', 'wp-super-cache' ); ?>' />
312
- </form>
313
- <br />
314
- </div>
315
  <?php
316
  }
317
  }
318
 
319
- if ( function_exists( "is_main_site" ) && true == is_main_site() ) {
320
  $home_path = trailingslashit( get_home_path() );
321
  $scrules = implode( "\n", extract_from_markers( $home_path.'.htaccess', 'WPSuperCache' ) );
322
  if ( $cache_enabled && $wp_cache_mod_rewrite && !$wp_cache_mobile_enabled && strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) ) ) {
323
  echo '<div id="message" class="updated fade"><h3>' . __( 'Mobile rewrite rules detected', 'wp-super-cache' ) . "</h3>";
324
  echo "<p>" . __( 'For best performance you should enable "Mobile device support" or delete the mobile rewrite rules in your .htaccess. Look for the 2 lines with the text "2.0\ MMP|240x320" and delete those.', 'wp-super-cache' ) . "</p><p>" . __( 'This will have no affect on ordinary users but mobile users will see uncached pages.', 'wp-super-cache' ) . "</p></div>";
325
- } elseif ( $wp_cache_mod_rewrite && $cache_enabled && $wp_cache_mobile_enabled && $scrules != '' && (
326
- ( false == empty( $wp_cache_mobile_prefixes ) && false === strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) ) ) ||
327
- ( false == empty( $wp_cache_mobile_browsers ) && false === strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) ) ) )
328
  ) {
329
  ?>
330
  <div id="message" class="updated fade"><h3><?php _e( 'Rewrite rules must be updated', 'wp-super-cache' ); ?></h3>
@@ -333,8 +277,8 @@ function wp_cache_manager_error_checks() {
333
  <ol><li> <?php _e( 'Set the plugin to legacy mode and enable mobile support.', 'wp-super-cache' ); ?></li>
334
  <li> <?php _e( 'Scroll down the Advanced Settings page and click the <strong>Update Mod_Rewrite Rules</strong> button.', 'wp-super-cache' ); ?></li>
335
  <li> <?php printf( __( 'Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin regenerate them by reloading this page.', 'wp-super-cache' ), $home_path ); ?></li>
336
- <li> <?php printf( __( 'Add the rules yourself. Edit %s.htaccess and find the block of code enclosed by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code>. There are two sections that look very similar. Just below the line <code>%%{HTTP:Cookie} !^.*(comment_author_|%s|wp-postpass_).*$</code> add these lines: (do it twice, once for each section)', 'wp-super-cache' ), $home_path, wpsc_get_logged_in_cookie() ); ?></p>
337
- <div style='padding: 2px; margin: 2px; border: 1px solid #333; width:400px; overflow: scroll'><pre><?php echo "RewriteCond %{HTTP_user_agent} !^.*(" . addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) . ").*\nRewriteCond %{HTTP_user_agent} !^(" . addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) . ").*"; ?></pre></div></li></ol></div><?php
338
  }
339
 
340
  if ( $cache_enabled && $super_cache_enabled && $wp_cache_mod_rewrite && $scrules == '' ) {
@@ -364,53 +308,13 @@ function wp_cache_manager_error_checks() {
364
  }
365
  }
366
 
367
- if ( $valid_nonce && isset( $_POST[ 'action' ] ) && $_POST[ 'action' ] == 'dismiss_htaccess_warning' ) {
368
- wp_cache_replace_line('^ *\$dismiss_htaccess_warning', "\$dismiss_htaccess_warning = 1;", $wp_cache_config_file);
369
- $dismiss_htaccess_warning = 1;
370
- } elseif ( !isset( $dismiss_htaccess_warning ) ) {
371
- $dismiss_htaccess_warning = 0;
372
- }
373
- if ( isset( $disable_supercache_htaccess_warning ) == false )
374
- $disable_supercache_htaccess_warning = false;
375
- if ( $dismiss_htaccess_warning == 0 && $wp_cache_mod_rewrite && $super_cache_enabled && $disable_supercache_htaccess_warning == false && get_option( 'siteurl' ) != get_option( 'home' ) ) {
376
- $home_dir = str_replace( get_option( 'home' ), '', get_option( 'siteurl' ) );
377
- ?><div id="message" class="updated fade"><h3><?php _e( '.htaccess file may need to be moved', 'wp-super-cache' ); ?></h3>
378
- <p><?php _e( 'It appears you have WordPress installed in a sub directory as described <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">here</a>. Unfortunately WordPress writes to the .htaccess in the install directory, not where your site is served from.<br />When you update the rewrite rules in this plugin you will have to copy the file to where your site is hosted. This will be fixed in the future.', 'wp-super-cache' ); ?></p>
379
- <form action="" method="POST">
380
- <input type="hidden" name="action" value="dismiss_htaccess_warning" />
381
- <input type="hidden" name="page" value="wpsupercache" />
382
- <?php wp_nonce_field( 'wp-cache' ); ?>
383
- <input class='button-secondary' type='submit' value='<?php _e( 'Dismiss', 'wp-super-cache' ); ?>' />
384
- </form>
385
- <br />
386
- </div><?php
387
- }
388
-
389
  return true;
390
 
391
  }
392
  add_filter( 'wp_super_cache_error_checking', 'wp_cache_manager_error_checks' );
393
 
394
- function admin_bar_delete_page() {
395
- // Delete cache for a specific page
396
- if ( function_exists('current_user_can') && false == current_user_can('delete_others_posts') )
397
- return false;
398
- if ( isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'delcachepage' && ( isset( $_GET[ '_wpnonce' ] ) ? wp_verify_nonce( $_REQUEST[ '_wpnonce' ], 'delete-cache' ) : false ) ) {
399
- $path = trailingslashit( get_supercache_dir() . preg_replace( '/:.*$/', '', $_GET[ 'path' ] ) );
400
- $files = get_all_supercache_filenames( $path );
401
- foreach( $files as $cache_file )
402
- prune_super_cache( $path . $cache_file, true );
403
-
404
- wp_redirect( preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', $_GET[ 'path' ] ) );
405
- die();
406
- }
407
- }
408
- if ( isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'delcachepage' )
409
- add_action( 'admin_init', 'admin_bar_delete_page' );
410
-
411
  function wp_cache_manager_updates() {
412
- global $wp_cache_mobile_enabled, $wp_cache_mfunc_enabled, $wp_supercache_cache_list, $wp_cache_config_file, $wp_cache_hello_world, $wp_cache_clear_on_post_edit, $cache_rebuild_files, $wp_cache_mutex_disabled, $wp_cache_not_logged_in, $wp_cache_make_known_anon, $cache_path, $wp_cache_object_cache, $_wp_using_ext_object_cache, $wp_cache_refresh_single_only, $cache_compression, $wp_cache_mod_rewrite, $wp_supercache_304, $wp_super_cache_late_init, $wp_cache_front_page_checks, $cache_page_secret, $wp_cache_disable_utf8, $wp_cache_no_cache_for_get;
413
- global $cache_schedule_type, $cache_scheduled_time, $cache_max_time, $cache_time_interval, $wp_cache_shutdown_gc;
414
 
415
  if ( !wpsupercache_site_admin() )
416
  return false;
@@ -420,6 +324,17 @@ function wp_cache_manager_updates() {
420
  wp_cache_replace_line('^ *\$cache_page_secret', "\$cache_page_secret = '" . $cache_page_secret . "';", $wp_cache_config_file);
421
  }
422
 
 
 
 
 
 
 
 
 
 
 
 
423
  $valid_nonce = isset($_REQUEST['_wpnonce']) ? wp_verify_nonce($_REQUEST['_wpnonce'], 'wp-cache') : false;
424
  if ( $valid_nonce == false )
425
  return false;
@@ -432,26 +347,9 @@ function wp_cache_manager_updates() {
432
  $_POST[ 'super_cache_enabled' ] = 2; // PHP
433
  $_POST[ 'cache_rebuild_files' ] = 1;
434
  unset( $_POST[ 'cache_compression' ] );
435
- //
436
- // set up garbage collection with some default settings
437
- if ( ( !isset( $wp_cache_shutdown_gc ) || $wp_cache_shutdown_gc == 0 ) && false == wp_next_scheduled( 'wp_cache_gc' ) ) {
438
- if ( false == isset( $cache_schedule_type ) ) {
439
- $cache_schedule_type = 'interval';
440
- $cache_time_interval = 600;
441
- $cache_max_time = 1800;
442
- wp_cache_replace_line('^ *\$cache_schedule_type', "\$cache_schedule_type = '$cache_schedule_type';", $wp_cache_config_file);
443
- wp_cache_replace_line('^ *\$cache_time_interval', "\$cache_time_interval = '$cache_time_interval';", $wp_cache_config_file);
444
- wp_cache_replace_line('^ *\$cache_max_time', "\$cache_max_time = '$cache_max_time';", $wp_cache_config_file);
445
- }
446
- wp_schedule_single_event( time() + 600, 'wp_cache_gc' );
447
- }
448
-
449
  } else {
450
  unset( $_POST[ 'wp_cache_status' ] );
451
  $_POST[ 'super_cache_enabled' ] = 0;
452
- wp_clear_scheduled_hook( 'wp_cache_check_site_hook' );
453
- wp_clear_scheduled_hook( 'wp_cache_gc' );
454
- wp_clear_scheduled_hook( 'wp_cache_gc_watcher' );
455
  }
456
  }
457
 
@@ -464,20 +362,6 @@ function wp_cache_manager_updates() {
464
  }
465
  wp_cache_replace_line('^ *\$wp_super_cache_late_init', "\$wp_super_cache_late_init = " . $wp_super_cache_late_init . ";", $wp_cache_config_file);
466
 
467
- if( isset( $_POST[ 'wp_cache_disable_utf8' ] ) ) {
468
- $wp_cache_disable_utf8 = 1;
469
- } else {
470
- $wp_cache_disable_utf8 = 0;
471
- }
472
- wp_cache_replace_line('^ *\$wp_cache_disable_utf8', "\$wp_cache_disable_utf8 = " . $wp_cache_disable_utf8 . ";", $wp_cache_config_file);
473
-
474
- if( isset( $_POST[ 'wp_cache_no_cache_for_get' ] ) ) {
475
- $wp_cache_no_cache_for_get = 1;
476
- } else {
477
- $wp_cache_no_cache_for_get = 0;
478
- }
479
- wp_cache_replace_line('^ *\$wp_cache_no_cache_for_get', "\$wp_cache_no_cache_for_get = " . $wp_cache_no_cache_for_get . ";", $wp_cache_config_file);
480
-
481
  if( isset( $_POST[ 'wp_supercache_304' ] ) ) {
482
  $wp_supercache_304 = 1;
483
  } else {
@@ -485,13 +369,6 @@ function wp_cache_manager_updates() {
485
  }
486
  wp_cache_replace_line('^ *\$wp_supercache_304', "\$wp_supercache_304 = " . $wp_supercache_304 . ";", $wp_cache_config_file);
487
 
488
- if( isset( $_POST[ 'wp_cache_mfunc_enabled' ] ) ) {
489
- $wp_cache_mfunc_enabled = 1;
490
- } else {
491
- $wp_cache_mfunc_enabled = 0;
492
- }
493
- wp_cache_replace_line('^ *\$wp_cache_mfunc_enabled', "\$wp_cache_mfunc_enabled = " . $wp_cache_mfunc_enabled . ";", $wp_cache_config_file);
494
-
495
  if( isset( $_POST[ 'wp_cache_mobile_enabled' ] ) ) {
496
  $wp_cache_mobile_enabled = 1;
497
  } else {
@@ -506,11 +383,7 @@ function wp_cache_manager_updates() {
506
  }
507
  wp_cache_replace_line('^ *\$wp_cache_front_page_checks', "\$wp_cache_front_page_checks = " . $wp_cache_front_page_checks . ";", $wp_cache_config_file);
508
 
509
- if( isset( $_POST[ 'wp_supercache_cache_list' ] ) ) {
510
- $wp_supercache_cache_list = 1;
511
- } else {
512
- $wp_supercache_cache_list = 0;
513
- }
514
  wp_cache_replace_line('^ *\$wp_supercache_cache_list', "\$wp_supercache_cache_list = " . $wp_supercache_cache_list . ";", $wp_cache_config_file);
515
 
516
  if ( isset( $_POST[ 'wp_cache_status' ] ) ) {
@@ -597,7 +470,7 @@ function wp_cache_manager_updates() {
597
  $wp_cache_refresh_single_only = 0;
598
  }
599
  wp_cache_replace_line('^ *\$wp_cache_refresh_single_only', "\$wp_cache_refresh_single_only = '" . $wp_cache_refresh_single_only . "';", $wp_cache_config_file);
600
-
601
  if ( defined( 'WPSC_DISABLE_COMPRESSION' ) ) {
602
  $cache_compression = 0;
603
  wp_cache_replace_line('^ *\$cache_compression', "\$cache_compression = " . $cache_compression . ";", $wp_cache_config_file);
@@ -607,7 +480,7 @@ function wp_cache_manager_updates() {
607
  } else {
608
  $new_cache_compression = 0;
609
  }
610
- if ( 1 == ini_get( 'zlib.output_compression' ) || "on" == strtolower( ini_get( 'zlib.output_compression' ) ) ) {
611
  echo '<div id="message" class="updated fade">' . __( "<strong>Warning!</strong> You attempted to enable compression but <code>zlib.output_compression</code> is enabled. See #21 in the Troubleshooting section of the readme file.", 'wp-super-cache' ) . '</div>';
612
  } else {
613
  if ( $new_cache_compression != $cache_compression ) {
@@ -626,10 +499,10 @@ if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'wpsupercache' )
626
 
627
  function wp_cache_manager() {
628
  global $wp_cache_config_file, $valid_nonce, $supercachedir, $cache_path, $cache_enabled, $cache_compression, $super_cache_enabled, $wp_cache_hello_world;
629
- global $wp_cache_clear_on_post_edit, $cache_rebuild_files, $wp_cache_mutex_disabled, $wp_cache_mobile_enabled, $wp_cache_mobile_browsers, $wp_cache_no_cache_for_get;
630
  global $wp_cache_cron_check, $wp_cache_debug, $wp_cache_not_logged_in, $wp_cache_make_known_anon, $wp_supercache_cache_list, $cache_page_secret, $cache_home_path;
631
  global $wp_super_cache_front_page_check, $wp_cache_object_cache, $_wp_using_ext_object_cache, $wp_cache_refresh_single_only, $wp_cache_mobile_prefixes;
632
- global $wpmu_version, $cache_max_time, $wp_cache_mod_rewrite, $wp_supercache_304, $wp_super_cache_late_init, $wp_cache_front_page_checks, $wp_cache_disable_utf8, $wp_cache_mfunc_enabled;
633
 
634
  if ( !wpsupercache_site_admin() )
635
  return false;
@@ -650,18 +523,13 @@ function wp_cache_manager() {
650
  }
651
  $wp_cache_mobile_browsers = apply_filters( 'cached_mobile_browsers', $wp_cache_mobile_browsers ); // Allow mobile plugins access to modify the mobile UA list
652
  $wp_cache_mobile_prefixes = apply_filters( 'cached_mobile_prefixes', $wp_cache_mobile_prefixes ); // Allow mobile plugins access to modify the mobile UA prefix list
653
- if ( function_exists( 'do_cacheaction' ) ) {
654
- $wp_cache_mobile_browsers = do_cacheaction( 'wp_super_cache_mobile_browsers', $wp_cache_mobile_browsers );
655
- $wp_cache_mobile_prefixes = do_cacheaction( 'wp_super_cache_mobile_prefixes', $wp_cache_mobile_prefixes );
656
- }
657
  $mobile_groups = apply_filters( 'cached_mobile_groups', array() ); // Group mobile user agents by capabilities. Lump them all together by default
658
  // mobile_groups = array( 'apple' => array( 'ipod', 'iphone' ), 'nokia' => array( 'nokia5800', 'symbianos' ) );
659
 
660
  if ( false == apply_filters( 'wp_super_cache_error_checking', true ) )
661
  return false;
662
 
663
- if ( function_exists( 'get_supercache_dir' ) )
664
- $supercachedir = get_supercache_dir();
665
  if( get_option( 'gzipcompression' ) == 1 )
666
  update_option( 'gzipcompression', 0 );
667
  if( !isset( $cache_rebuild_files ) )
@@ -713,10 +581,7 @@ jQuery(document).ready(function(){
713
  $wp_cache_mod_rewrite = 1;
714
  }
715
 
716
- if ( !isset( $_GET[ 'tab' ] ) )
717
- $_GET[ 'tab' ] = '';
718
-
719
- if ( $_GET[ 'tab' ] == '' && $cache_enabled && ( $wp_cache_mod_rewrite || $super_cache_enabled == false ) ) {
720
  $_GET[ 'tab' ] = 'settings';
721
  echo '<div id="message" class="updated fade"><p>' . __( 'Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced Settings Page by default.', 'wp-super-cache' ) . '</p></div>';
722
  }
@@ -724,7 +589,7 @@ jQuery(document).ready(function(){
724
 
725
  if ( isset( $wp_super_cache_front_page_check ) && $wp_super_cache_front_page_check == 1 && !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
726
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
727
- wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
728
  }
729
 
730
  if(isset($_REQUEST['wp_restore_config']) && $valid_nonce) {
@@ -738,12 +603,10 @@ jQuery(document).ready(function(){
738
  wp_cache_replace_line('^ *\$wp_cache_slash_check', "\$wp_cache_slash_check = 0;", $wp_cache_config_file);
739
  }
740
  $home_path = parse_url( site_url() );
741
- $home_path = trailingslashit( array_key_exists( 'path', $home_path ) ? $home_path[ 'path' ] : '' );
742
- if (! isset( $wp_cache_home_path ) )
743
- $wp_cache_home_path = '/';
744
  if ( "$home_path" != "$wp_cache_home_path" )
745
  wp_cache_replace_line('^ *\$wp_cache_home_path', "\$wp_cache_home_path = '$home_path';", $wp_cache_config_file);
746
-
747
 
748
  if( $wp_cache_mobile_enabled == 1 ) {
749
  update_cached_mobile_ua_list( $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes, $mobile_groups );
@@ -764,7 +627,7 @@ jQuery(document).ready(function(){
764
  wp_die( __( 'Caching must be enabled to use this feature', 'wp-super-cache' ) );
765
  echo '<a name="preload"></a>';
766
  if ( $super_cache_enabled == true && false == defined( 'DISABLESUPERCACHEPRELOADING' ) ) {
767
- global $wp_cache_preload_interval, $wp_cache_preload_on, $wp_cache_preload_taxonomies, $wp_cache_preload_email_me, $wp_cache_preload_email_volume, $wp_cache_preload_posts, $wpdb;
768
  $count = $wpdb->get_var( "SELECT count(*) FROM {$wpdb->posts} WHERE post_status = 'publish'" );
769
  if ( $count > 1000 ) {
770
  $min_refresh_interval = 720;
@@ -799,7 +662,7 @@ jQuery(document).ready(function(){
799
  wp_unschedule_event( $next_preload, 'wp_cache_full_preload_hook' );
800
  if ( $wp_cache_preload_interval == 0 ) {
801
  echo "<p><strong>" . __( 'Scheduled preloading of cache cancelled.', 'wp-super-cache' ) . "</strong></p>";
802
- }
803
  }
804
  if ( $_POST[ 'custom_preload_interval' ] != 0 )
805
  wp_schedule_single_event( time() + ( $_POST[ 'custom_preload_interval' ] * 60 ), 'wp_cache_full_preload_hook' );
@@ -818,12 +681,6 @@ jQuery(document).ready(function(){
818
  $wp_cache_preload_email_volume = 'medium';
819
  }
820
  wp_cache_replace_line('^ *\$wp_cache_preload_email_volume', "\$wp_cache_preload_email_volume = '$wp_cache_preload_email_volume';", $wp_cache_config_file);
821
- if ( isset( $_POST[ 'preload_taxonomies' ] ) ) {
822
- $wp_cache_preload_taxonomies = 1;
823
- } else {
824
- $wp_cache_preload_taxonomies = 0;
825
- }
826
- wp_cache_replace_line('^ *\$wp_cache_preload_taxonomies', "\$wp_cache_preload_taxonomies = $wp_cache_preload_taxonomies;", $wp_cache_config_file);
827
  if ( isset( $_POST[ 'preload_on' ] ) ) {
828
  $wp_cache_preload_on = 1;
829
  } else {
@@ -883,9 +740,6 @@ jQuery(document).ready(function(){
883
  echo '<input type="checkbox" name="preload_on" value="1" ';
884
  echo $wp_cache_preload_on == 1 ? 'checked=1' : '';
885
  echo ' /> ' . __( 'Preload mode (garbage collection only on legacy cache files. Recommended.)', 'wp-super-cache' ) . '<br />';
886
- echo '<input type="checkbox" name="preload_taxonomies" value="1" ';
887
- echo $wp_cache_preload_taxonomies == 1 ? 'checked=1' : '';
888
- echo ' /> ' . __( 'Preload tags, categories and other taxonomies.', 'wp-super-cache' ) . '<br />';
889
  echo '<input type="checkbox" name="preload_email_me" value="1" ';
890
  echo $wp_cache_preload_email_me == 1 ? 'checked=1' : '';
891
  echo ' /> ' . __( 'Send me status emails when files are refreshed.', 'wp-super-cache' ) . '<br />';
@@ -917,9 +771,9 @@ jQuery(document).ready(function(){
917
  echo "<p>" . sprintf( __( "<strong>Page last cached:</strong> %s", 'wp-super-cache' ), $url ) . "</p>";
918
  }
919
  }
920
- echo '<div class="submit"><input class="button-primary" type="submit" name="preload" value="' . __( 'Update Settings', 'wp-super-cache' ) . '" />&nbsp;<input class="button-secondary" type="submit" name="preload" value="' . __( 'Preload Cache Now', 'wp-super-cache' ) . '" />';
921
  if ( $currently_preloading ) {
922
- echo '&nbsp;<input class="button-primary" type="submit" name="preload" value="' . __( 'Cancel Cache Preload', 'wp-super-cache' ) . '" />';
923
  }
924
  echo '</div>';
925
  wp_nonce_field('wp-cache');
@@ -937,7 +791,7 @@ jQuery(document).ready(function(){
937
  case 'settings':
938
  if ( isset( $wp_cache_front_page_checks ) == false )
939
  $wp_cache_front_page_checks = true;
940
- echo '<form name="wp_manager" action="' . esc_url( add_query_arg( array( 'page' => 'wpsupercache', 'tab' => 'settings' ) ) ) . '" method="post">';
941
  wp_nonce_field('wp-cache');
942
  echo '<input type="hidden" name="action" value="scupdates" />';
943
  ?><table class="form-table">
@@ -947,8 +801,8 @@ jQuery(document).ready(function(){
947
  <fieldset>
948
  <legend class="hidden">Caching</legend>
949
  <label><input type='checkbox' name='wp_cache_status' value='all' <?php if ( $cache_enabled == true ) { echo 'checked=checked'; } ?>> <?php _e( 'Cache hits to this website for quick access.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br /><br />
950
- <label><input type='radio' name='super_cache_enabled' <?php if( $super_cache_enabled ) echo "checked"; ?> value='1'> <?php printf( __( 'Use mod_rewrite to serve cache files.', 'wp-super-cache' ), 'http://wordpress.org/plugins/wordpress-mobile-edition/' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
951
- <label><input type='radio' name='super_cache_enabled' <?php if( $wp_cache_mod_rewrite == 0 ) echo "checked"; ?> value='2'> <?php printf( __( 'Use PHP to serve cache files.', 'wp-super-cache' ), 'http://wordpress.org/plugins/wordpress-mobile-edition/' ); ?></label><br />
952
  <label><input type='radio' name='super_cache_enabled' <?php if( $super_cache_enabled == false ) echo "checked"; ?> value='0'> <?php _e( 'Legacy page caching.', 'wp-super-cache' ); ?></label><br />
953
  <em><?php _e( 'Mod_rewrite is fastest, PHP is almost as fast and easier to get working, while legacy caching is slower again, but more flexible and also easy to get working. New users should use PHP caching.', 'wp-super-cache' ); ?></em><br />
954
  </legend>
@@ -966,22 +820,13 @@ jQuery(document).ready(function(){
966
  <?php } else { ?>
967
  <label><input type='checkbox' name='cache_compression' <?php if( $cache_compression ) echo "checked"; ?> value='1'> <?php _e( 'Compress pages so they&#8217;re served more quickly to visitors.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
968
  <em><?php _e( 'Compression is disabled by default because some hosts have problems with compressed files. Switching it on and off clears the cache.', 'wp-super-cache' ); ?></em><br />
969
- <?php }
970
- }
971
- $disable_304 = true;
972
- if ( 0 == $wp_cache_mod_rewrite )
973
- $disable_304 = false;
974
- if ( $disable_304 )
975
- echo "<strike>";
976
- ?><label><input <?php if ( $disable_304 ) { echo "disabled"; } ?> type='checkbox' name='wp_supercache_304' <?php if( $wp_supercache_304 ) echo "checked"; ?> value='1'> <?php _e( '304 Not Modified browser caching. Indicate when a page has not been modified since last requested.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br /><?php
977
- if ( $disable_304 ) {
978
- echo "</strike>";
979
- echo "<p><strong>" . __( 'Warning! 304 browser caching is only supported when not using mod_rewrite caching.', 'wp-super-cache' ) . "</strong></p>";
980
- } else {
981
- ?><em><?php _e( '304 support is disabled by default because some hosts have had problems with the headers used in the past.', 'wp-super-cache' ); ?></em><br /><?php
982
- }
983
- ?><label><input type='checkbox' name='wp_cache_not_logged_in' <?php if( $wp_cache_not_logged_in ) echo "checked"; ?> value='1'> <?php _e( 'Don&#8217;t cache pages for <acronym title="Logged in users and those that comment">known users</acronym>.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
984
- <label><input type='checkbox' name='wp_cache_no_cache_for_get' <?php if( $wp_cache_no_cache_for_get ) echo "checked"; ?> value='1'> <?php _e( 'Don&#8217;t cache pages with GET parameters. (?x=y at the end of a url)', 'wp-super-cache' ); ?></label><br />
985
  <label><input type='checkbox' name='wp_cache_make_known_anon' <?php if( $wp_cache_make_known_anon ) echo "checked"; ?> value='1'> <?php _e( 'Make known users anonymous so they&#8217;re served supercached static files.', 'wp-super-cache' ); ?></label><br />
986
  <label><input type='checkbox' name='cache_rebuild_files' <?php if( $cache_rebuild_files ) echo "checked"; ?> value='1'> <?php _e( 'Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
987
  <label><input type='checkbox' name='wp_cache_hello_world' <?php if( $wp_cache_hello_world ) echo "checked"; ?> value='1'> <?php printf( __( 'Proudly tell the world your server is <a href="%s">Stephen Fry proof</a>! (places a message in your blog&#8217;s footer)', 'wp-super-cache' ), 'https://twitter.com/#!/HibbsLupusTrust/statuses/136429993059291136' ); ?></label><br />
@@ -994,12 +839,7 @@ jQuery(document).ready(function(){
994
  <td>
995
  <fieldset>
996
  <legend class="hidden">Advanced</legend>
997
- <label><input type='checkbox' name='wp_cache_mfunc_enabled' <?php if( $wp_cache_mfunc_enabled ) echo "checked"; ?> value='1' <?php if ( $wp_cache_mod_rewrite ) { echo "disabled='disabled'"; } ?>> <?php _e( 'Enable dynamic caching. Requires PHP or legacy caching. (See <a href="http://wordpress.org/plugins/wp-super-cache/faq/">FAQ</a> or wp-super-cache/plugins/dynamic-cache-test.php for example code.)', 'wp-super-cache' ); ?></label><br />
998
- <label><input type='checkbox' name='wp_cache_mobile_enabled' <?php if( $wp_cache_mobile_enabled ) echo "checked"; ?> value='1'> <?php _e( 'Mobile device support. (External plugin or theme required. See the <a href="http://wordpress.org/plugins/wp-super-cache/faq/">FAQ</a> for further details.)', 'wp-super-cache' ); ?></label><br />
999
- <?php if ( $wp_cache_mobile_enabled ) {
1000
- echo '<blockquote><h4>' . __( 'Mobile Browsers', 'wp-super-cache' ) . '</h4>' . implode( ', ', $wp_cache_mobile_browsers ) . "<br /><h4>" . __( 'Mobile Prefixes', 'wp-super-cache' ) . "</h4>" . implode( ', ', $wp_cache_mobile_prefixes ) . "<br /></blockquote>";
1001
- } ?>
1002
- <label><input type='checkbox' name='wp_cache_disable_utf8' <?php if( $wp_cache_disable_utf8 ) echo "checked"; ?> value='1'> <?php _e( 'Remove UTF8/blog charset support from .htaccess file. Only necessary if you see odd characters or punctuation looks incorrect. Requires rewrite rules update.', 'wp-super-cache' ); ?></label><br />
1003
  <label><input type='checkbox' name='wp_cache_clear_on_post_edit' <?php if( $wp_cache_clear_on_post_edit ) echo "checked"; ?> value='1'> <?php _e( 'Clear all cache files when a post or page is published or updated.', 'wp-super-cache' ); ?></label><br />
1004
  <label><input type='checkbox' name='wp_cache_front_page_checks' <?php if( $wp_cache_front_page_checks ) echo "checked"; ?> value='1'> <?php _e( 'Extra homepage checks. (Very occasionally stops homepage caching)', 'wp-super-cache' ); ?></label><?php echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?><br />
1005
  <label><input type='checkbox' name='wp_cache_refresh_single_only' <?php if( $wp_cache_refresh_single_only ) echo "checked"; ?> value='1'> <?php _e( 'Only refresh current page when comments made.', 'wp-super-cache' ); ?></label><br />
@@ -1008,10 +848,10 @@ jQuery(document).ready(function(){
1008
  <label><input type='checkbox' name='wp_cache_mutex_disabled' <?php if( !$wp_cache_mutex_disabled ) echo "checked"; ?> value='0'> <?php _e( 'Coarse file locking. You probably don&#8217;t need this but it may help if your server is underpowered. Warning! <em>May cause your server to lock up in very rare cases!</em>', 'wp-super-cache' ); ?></label><br />
1009
  <?php } ?>
1010
  <label><input type='checkbox' name='wp_super_cache_late_init' <?php if( $wp_super_cache_late_init ) echo "checked"; ?> value='1'> <?php _e( 'Late init. Display cached files after WordPress has loaded. Most useful in legacy mode.', 'wp-super-cache' ); ?></label><br />
1011
- <?php if ( $_wp_using_ext_object_cache ) {
1012
- ?><label><input type='checkbox' name='wp_cache_object_cache' <?php if( $wp_cache_object_cache ) echo "checked"; ?> value='1'> <?php echo __( 'Use object cache to store cached files.', 'wp-super-cache' ) . ' ' . __( '(Experimental)', 'wp-super-cache' ); ?></label><?php
1013
  }?>
1014
- <?php printf( __( '<strong>DO NOT CACHE PAGE</strong> secret key: <a href="%s">%s</a>', 'wp-super-cache' ), trailingslashit( get_bloginfo( 'url' ) ) . "?donotcachepage={$cache_page_secret}", $cache_page_secret ); ?>
1015
  </legend>
1016
  </fieldset>
1017
  </td>
@@ -1022,10 +862,10 @@ jQuery(document).ready(function(){
1022
  <li><?php _e( 'Uninstall this plugin on the plugins page. It will automatically clean up after itself. If manual intervention is required then simple instructions are provided.', 'wp-super-cache' ); ?></li>
1023
  <li><?php printf( __( 'If uninstalling this plugin, make sure the directory <em>%s</em> is writeable by the webserver so the files <em>advanced-cache.php</em> and <em>cache-config.php</em> can be deleted automatically. (Making sure those files are writeable too is probably a good idea!)', 'wp-super-cache' ), WP_CONTENT_DIR ); ?></li>
1024
  <li><?php printf( __( 'Please see the <a href="%1$s/wp-super-cache/readme.txt">readme.txt</a> for instructions on uninstalling this script. Look for the heading, "How to uninstall WP Super Cache".', 'wp-super-cache' ), WP_PLUGIN_URL ); ?></li><?php
1025
- echo "<li><em>" . sprintf( __( 'Need help? Check the <a href="%1$s">Super Cache readme file</a>. It includes installation documentation, a FAQ and Troubleshooting tips. The <a href="%2$s">support forum</a> is also available. Your question may already have been answered.', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/', 'http://wordpress.org/tags/wp-super-cache?forum_id=10' ) . "</em></li>";
1026
  echo "</ol>";
1027
-
1028
- echo "<div class='submit'><input class='button-primary' type='submit' " . SUBMITDISABLED . " value='" . __( 'Update Status', 'wp-super-cache' ) . "' /></div>";
1029
  wp_nonce_field('wp-cache');
1030
  ?> </form> <?php
1031
  wsc_mod_rewrite();
@@ -1072,7 +912,7 @@ jQuery(document).ready(function(){
1072
  echo "<p><strong>" . __( 'Notice: PHP caching enabled but Supercache mod_rewrite rules detected. Cached files will be served using those rules. If your site is working ok please ignore this message or you can edit the .htaccess file in the root of your install and remove the SuperCache rules.', 'wp-super-cache' ) . '</strong></p>';
1073
  }
1074
  }
1075
- echo "<div class='submit'><input class='button-primary' type='submit' " . SUBMITDISABLED . " value='" . __( 'Update Status', 'wp-super-cache' ) . "' /></div></form>";
1076
  if ( $cache_enabled ) {
1077
  echo "<h3>" . __( 'Cache Tester', 'wp-super-cache' ) . "</h3>";
1078
  echo '<p>' . __( 'Test your cached website by clicking the test button below.', 'wp-super-cache' ) . '</p>';
@@ -1134,7 +974,7 @@ jQuery(document).ready(function(){
1134
  }
1135
  }
1136
 
1137
- if ( ( !is_wp_error( $page ) && !is_wp_error( $page2 ) ) && preg_match( '/(Cached page generated by WP-Super-Cache on) ([0-9]*-[0-9]*-[0-9]* [0-9]*:[0-9]*:[0-9]*)/', $page[ 'body' ], $matches1 ) &&
1138
  preg_match( '/(Cached page generated by WP-Super-Cache on) ([0-9]*-[0-9]*-[0-9]* [0-9]*:[0-9]*:[0-9]*)/', $page2[ 'body' ], $matches2 ) && $matches1[2] == $matches2[2] ) {
1139
  echo '<p>' . sprintf( __( 'Page 1: %s', 'wp-super-cache' ), $matches1[ 2 ] ) . '</p>';
1140
  echo '<p>' . sprintf( __( 'Page 2: %s', 'wp-super-cache' ), $matches2[ 2 ] ) . '</p>';
@@ -1151,9 +991,9 @@ jQuery(document).ready(function(){
1151
  }
1152
  echo '<form name="cache_tester" action="" method="post">';
1153
  echo '<input type="hidden" name="action" value="test" />';
1154
- if ( isset( $_SERVER['HTTPS' ] ) && 'on' == strtolower( $_SERVER['HTTPS' ] ) )
1155
  echo "<input type='checkbox' name='httponly' checked='checked' value='1' /> " . __( 'Send non-secure (non https) request for homepage', 'wp-super-cache' );
1156
- echo '<div class="submit"><input class="button-secondary" type="submit" name="test" value="' . __( 'Test Cache', 'wp-super-cache' ) . '" /></div>';
1157
  wp_nonce_field('wp-cache');
1158
  echo '</form>';
1159
  }
@@ -1161,27 +1001,28 @@ jQuery(document).ready(function(){
1161
  echo "<p>" . __( "Cached pages are stored on your server as html and PHP files. If you need to delete them use the button below.", 'wp-super-cache' ) . "</p>";
1162
  echo '<form name="wp_cache_content_delete" action="?page=wpsupercache&tab=contents" method="post">';
1163
  echo '<input type="hidden" name="wp_delete_cache" />';
1164
- echo '<div class="submit"><input id="deletepost" class="button-secondary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache', 'wp-super-cache' ) . ' " /></div>';
1165
  wp_nonce_field('wp-cache');
1166
  echo "</form>\n";
1167
 
1168
- if ( ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) ) && wpsupercache_site_admin() ) {
1169
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
1170
  echo '<input type="hidden" name="wp_delete_all_cache" />';
1171
- echo '<div class="submit" style="float:left;margin-left:10px"><input id="deleteallpost" class="button-secondary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache On All Blogs', 'wp-super-cache' ) . '" />';
1172
  wp_nonce_field('wp-cache');
1173
  echo "</form><br />\n";
1174
  }
1175
  ?>
1176
- <h3 class="clear"><?php _e( 'Recommended Links and Plugins', 'wp-super-cache' ); ?></h3>
1177
  <p><?php _e( 'Caching is only one part of making a website faster. Here are some other plugins that will help:', 'wp-super-cache' ); ?></p>
 
1178
  <li><?php printf( __( '<a href="%s">Yahoo! Yslow</a> is an extension for the Firefox add-on Firebug. It analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. Also try the performance tools online at <a href="%s">GTMetrix</a>.', 'wp-super-cache' ), 'http://developer.yahoo.com/yslow/', 'http://gtmetrix.com/' ); ?></li>
1179
- <li><?php printf( __( '<a href="%s">Use Google Libraries</a> allows you to load some commonly used Javascript libraries from Google webservers. Ironically it may reduce your Yslow score.', 'wp-super-cache' ), 'http://wordpress.org/plugins/use-google-libraries/' ); ?></li>
 
1180
  <li><?php printf( __( '<strong>Advanced users only:</strong> <a href="%s">Speed up your site with Caching and cache-control</a> explains how to make your site more cacheable with .htaccess rules.', 'wp-super-cache' ), 'http://www.askapache.com/htaccess/speed-up-your-site-with-caching-and-cache-control.html' ); ?></li>
1181
- <li><?php printf( __( '<strong>Advanced users only:</strong> Install an object cache. Choose from <a href="%s">Memcached</a>, <a href="%s">XCache</a>, <a href="%s">eAcccelerator</a> and others.', 'wp-super-cache' ), 'http://wordpress.org/plugins/memcached/', 'http://neosmart.net/dl.php?id=12', 'http://neosmart.net/dl.php?id=13' ); ?></li>
1182
- <li><?php printf( __( '<a href="%s">Cron View</a> is a useful plugin to use when trying to debug garbage collection and preload problems.', 'wp-super-cache' ), 'http://wordpress.org/plugins/cron-view/' ); ?></li>
1183
  </ol>
1184
-
1185
  <?php
1186
  break;
1187
  }
@@ -1190,19 +1031,21 @@ jQuery(document).ready(function(){
1190
  </fieldset>
1191
  </td><td valign='top' style='width: 300px'>
1192
  <div style='background: #ffc; border: 1px solid #333; margin: 2px; padding: 5px'>
 
 
 
 
1193
  <h3 align='center'><?php _e( 'Need Help?', 'wp-super-cache' ); ?></h3>
1194
  <ol>
1195
- <li><?php _e( 'Use the debug system in the Debug tab above. It will tell you what the plugin is doing.', 'wp-super-cache' ); ?></li>
1196
- <li><?php printf( __( '<a href="%1$s">Installation Help</a>', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/installation/' ); ?></li>
1197
- <li><?php printf( __( '<a href="%1$s">Frequently Asked Questions</a>', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/faq/' ); ?></li>
1198
  <li><?php printf( __( '<a href="%1$s">Support Forum</a>', 'wp-super-cache' ), 'http://wordpress.org/tags/wp-super-cache' ); ?></li>
1199
- <li><?php printf( __( '<a href="%1$s">Development Version</a>', 'wp-super-cache' ), 'http://ocaoimh.ie/y/2o' ); ?></li>
1200
  </ol>
1201
  <h3 align='center'><?php _e( 'Rate This Plugin!', 'wp-super-cache' ); ?></h3>
1202
- <p><?php printf( __( 'Please <a href="%s">rate</a> this plugin and tell me if it works for you or not. It really helps development.', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/' ); ?></p>
1203
 
1204
- <?php
1205
- if ( isset( $wp_supercache_cache_list ) && $wp_supercache_cache_list ) {
1206
  $start_date = get_option( 'wpsupercache_start' );
1207
  if ( !$start_date ) {
1208
  $start_date = time();
@@ -1217,10 +1060,13 @@ jQuery(document).ready(function(){
1217
  }
1218
  ?></ol>
1219
  <small><?php _e( '(may not always be accurate on busy sites)', 'wp-super-cache' ); ?></small>
1220
- </p><?php
1221
- } elseif ( false == get_option( 'wpsupercache_start' ) ) {
1222
- update_option( 'wpsupercache_start', time() );
 
 
1223
  update_option( 'wpsupercache_count', 0 );
 
1224
  }
1225
  ?>
1226
  </div>
@@ -1234,7 +1080,6 @@ jQuery(document).ready(function(){
1234
  function wpsc_plugins_tab() {
1235
  echo '<p>' . __( 'Cache plugins are PHP scripts that live in a plugins folder inside the wp-super-cache folder. They are loaded when Supercache loads, much sooner than regular WordPress plugins.', 'wp-super-cache' ) . '</p>';
1236
  echo '<p>' . __( 'This is strictly an advanced feature only and knowledge of both PHP and WordPress actions is required to create them.', 'wp-super-cache' ) . '</p>';
1237
- echo '<p>' . __( '<strong>Warning</strong>! Due to the way WordPress upgrades plugins the plugins you upload to wp-super-cache/plugins/ will be deleted when you upgrade WP Super Cache. You can avoid this by loading the plugins from elsewhere. Set <strong>$wp_cache_plugins_dir</strong> to the new location in wp-config.php and WP Super Cache will look there instead.<br />More info available in the <a href="http://ocaoimh.ie/wp-super-cache-developers/">developer documentation</a>.', 'wp-super-cache' ) . '</p>';
1238
  ob_start();
1239
  if( defined( 'WP_CACHE' ) ) {
1240
  if( function_exists( 'do_cacheaction' ) ) {
@@ -1282,16 +1127,13 @@ function wpsc_admin_tabs( $current = 0 ) {
1282
  function wsc_mod_rewrite() {
1283
  global $cache_enabled, $super_cache_enabled, $valid_nonce, $cache_path, $wp_cache_mod_rewrite, $wpmu_version;
1284
 
1285
- if ( defined( 'WPSC_DISABLE_HTACCESS_UPDATE' ) )
1286
- return false;
1287
-
1288
  if ( !$wp_cache_mod_rewrite )
1289
  return false;
1290
 
1291
  if ( isset( $wpmu_version ) || function_exists( 'is_multisite' ) && is_multisite() ) {
1292
  if ( false == wpsupercache_site_admin() )
1293
  return false;
1294
- if ( function_exists( "is_main_site" ) && false == is_main_site() ) {
1295
  global $current_site;
1296
  $protocol = ( 'on' == strtolower( $_SERVER['HTTPS' ] ) ) ? 'https://' : 'http://';
1297
  if ( isset( $wpmu_version ) ) {
@@ -1304,10 +1146,10 @@ function wsc_mod_rewrite() {
1304
  }
1305
  }
1306
 
1307
- if ( function_exists( "is_main_site" ) && false == is_main_site() )
1308
  return true;
1309
  ?>
1310
- <a name="modrewrite"></a><fieldset class="options">
1311
  <h3><?php _e( 'Mod Rewrite Rules', 'wp-super-cache' ); ?></h3><?php
1312
 
1313
  extract( wpsc_get_htaccess_info() );
@@ -1334,13 +1176,13 @@ function wsc_mod_rewrite() {
1334
  } elseif( strpos( $scrules, 'supercache' ) || strpos( $wprules, 'supercache' ) ) { // only write the rules once
1335
  $dohtaccess = false;
1336
  }
1337
- if ( $dohtaccess && !isset( $_POST[ 'updatehtaccess' ] ) ){
1338
  if ( $scrules == '' ) {
1339
  wpsc_update_htaccess_form( 0 ); // don't hide the update htaccess form
1340
  } else {
1341
  wpsc_update_htaccess_form();
1342
  }
1343
- } elseif ( $valid_nonce && isset( $_POST[ 'updatehtaccess' ] ) ) {
1344
  echo "<div style='padding:0 8px;color:#4f8a10;background-color:#dff2bf;border:1px solid #4f8a10;'>";
1345
  if( wpsc_update_htaccess() ) {
1346
  echo "<h4>" . __( 'Mod Rewrite rules updated!', 'wp-super-cache' ) . "</h4>";
@@ -1362,7 +1204,7 @@ function wsc_mod_rewrite() {
1362
  echo "<div id='rewriterules' style='display: none;'>";
1363
  if ( $rules != $scrules )
1364
  echo '<div style="background: #fff; border: 1px solid #333; margin: 2px;">' . wp_text_diff( $scrules, $rules, array( 'title' => 'Rewrite Rules', 'title_left' => 'Current Rules', 'title_right' => 'New Rules' ) ) . "</div>";
1365
- echo "<p><pre># BEGIN WPSuperCache\n" . esc_html( $rules ) . "# END WPSuperCache</pre></p>\n";
1366
  echo "<p>" . sprintf( __( 'Rules must be added to %s too:', 'wp-super-cache' ), WP_CONTENT_DIR . "/cache/.htaccess" ) . "</p>";
1367
  echo "<pre># BEGIN supercache\n" . esc_html( $gziprules ) . "# END supercache</pre></p>";
1368
  echo '</div>';
@@ -1380,7 +1222,7 @@ function wp_cache_restore() {
1380
  echo '<fieldset class="options"><h3>' . __( 'Fix Configuration', 'wp-super-cache' ) . '</h3>';
1381
  echo '<form name="wp_restore" action="#top" method="post">';
1382
  echo '<input type="hidden" name="wp_restore_config" />';
1383
- echo '<div class="submit"><input class="button-secondary" type="submit" ' . SUBMITDISABLED . 'id="deletepost" value="' . __( 'Restore Default Configuration', 'wp-super-cache' ) . '" /></div>';
1384
  wp_nonce_field('wp-cache');
1385
  echo "</form>\n";
1386
  echo '</fieldset>';
@@ -1412,11 +1254,11 @@ function wp_lock_down() {
1412
  }
1413
  }
1414
  ?><a name='lockdown'></a>
1415
- <fieldset class="options">
1416
  <h3><?php _e( 'Lock Down:', 'wp-super-cache' ); ?> <?php echo $wp_lock_down == '0' ? '<span style="color:red">' . __( 'Disabled', 'wp-super-cache' ) . '</span>' : '<span style="color:green">' . __( 'Enabled', 'wp-super-cache' ) . '</span>'; ?></h3>
1417
  <p><?php _e( 'Prepare your server for an expected spike in traffic by enabling the lock down. When this is enabled, new comments on a post will not refresh the cached static files.', 'wp-super-cache' ); ?></p>
1418
  <p><?php _e( 'Developers: Make your plugin lock down compatible by checking the "WPLOCKDOWN" constant. The following code will make sure your plugin respects the WPLOCKDOWN setting.', 'wp-super-cache' ); ?>
1419
- <blockquote><code>if( defined( 'WPLOCKDOWN' ) && constant( 'WPLOCKDOWN' ) ) {
1420
  &nbsp;&nbsp;&nbsp;&nbsp;echo "<?php _e( 'Sorry. My blog is locked down. Updates will appear shortly', 'wp-super-cache' ); ?>";
1421
  }</code></blockquote>
1422
  <?php
@@ -1429,14 +1271,14 @@ function wp_lock_down() {
1429
  $new_lockdown_desc = $wp_lock_down == '1' ? __( 'Disable', 'wp-super-cache' ) : __( 'Enable', 'wp-super-cache' );
1430
  echo '<form name="wp_lock_down" action="#lockdown" method="post">';
1431
  echo "<input type='hidden' name='wp_lock_down' value='{$new_lockdown}' />";
1432
- echo "<div class='submit'><input class='button-primary' type='submit' " . SUBMITDISABLED . " value='{$new_lockdown_desc} " . __( 'Lock Down', 'wp-super-cache' ) . "' /></div>";
1433
  wp_nonce_field('wp-cache');
1434
  echo "</form>\n";
1435
 
1436
  ?></fieldset><?php
1437
  if( $cache_enabled == true && $super_cache_enabled == true ) {
1438
  ?><a name='direct'></a>
1439
- <fieldset class="options">
1440
  <h3><?php _e( 'Directly Cached Files', 'wp-super-cache' ); ?></h3><?php
1441
 
1442
  $out = '';
@@ -1444,7 +1286,7 @@ function wp_lock_down() {
1444
  $expiredfiles = array_diff( $cached_direct_pages, $_POST[ 'direct_pages' ] );
1445
  unset( $cached_direct_pages );
1446
  foreach( $_POST[ 'direct_pages' ] as $page ) {
1447
- $page = esc_sql( $page );
1448
  if( $page != '' ) {
1449
  $cached_direct_pages[] = $page;
1450
  $out .= "'$page', ";
@@ -1458,7 +1300,7 @@ function wp_lock_down() {
1458
  $page = str_replace( get_option( 'siteurl' ), '', $_POST[ 'new_direct_page' ] );
1459
  if( substr( $page, 0, 1 ) != '/' )
1460
  $page = '/' . $page;
1461
- $page = esc_sql( $page );
1462
  if( in_array( $page, $cached_direct_pages ) == false ) {
1463
  $cached_direct_pages[] = $page;
1464
  $out .= "'$page', ";
@@ -1519,7 +1361,7 @@ function wp_lock_down() {
1519
  continue;
1520
  $generated = '';
1521
  if( is_file( ABSPATH . $page . '/index.html' ) )
1522
- $generated = '<input class="button-secondary" type="Submit" name="deletepage" value="' . $page . '">';
1523
  $out .= "<tr><td><input type='text' $readonly name='direct_pages[]' size='30' value='$page' /></td><td>$generated</td></tr>";
1524
  }
1525
  if( $out != '' ) {
@@ -1538,7 +1380,7 @@ function wp_lock_down() {
1538
 
1539
  wp_nonce_field('wp-cache');
1540
  if( $readonly != 'READONLY' )
1541
- echo "<div class='submit'><input class='button-primary' type='submit' ' . SUBMITDISABLED . 'value='" . __( 'Update Direct Pages', 'wp-super-cache' ) . "' /></div>";
1542
  echo "</form>\n";
1543
  ?></fieldset><?php
1544
  } // if $super_cache_enabled
@@ -1551,7 +1393,7 @@ function RecursiveFolderDelete ( $folderPath ) { // from http://www.php.net/manu
1551
  $dh = @opendir($folderPath);
1552
  while (false !== ($value = @readdir($dh))) {
1553
  if ( $value != "." && $value != ".." ) {
1554
- $value = $folderPath . "/" . $value;
1555
  if ( @is_dir ( $value ) ) {
1556
  RecursiveFolderDelete ( $value );
1557
  }
@@ -1566,7 +1408,6 @@ function RecursiveFolderDelete ( $folderPath ) { // from http://www.php.net/manu
1566
  function wp_cache_edit_max_time () {
1567
  global $cache_max_time, $wp_cache_config_file, $valid_nonce, $cache_enabled, $super_cache_enabled, $cache_schedule_type, $cache_scheduled_time, $cache_schedule_interval, $cache_time_interval, $cache_gc_email_me, $wp_cache_preload_on;
1568
 
1569
- $timezone_format = _x('Y-m-d G:i:s', 'timezone date format');
1570
 
1571
  if( !isset( $cache_schedule_type ) ) {
1572
  $cache_schedule_type = 'interval';
@@ -1591,19 +1432,16 @@ function wp_cache_edit_max_time () {
1591
  if ( isset( $_POST['wp_max_time'] ) && $valid_nonce ) {
1592
  $cache_max_time = (int)$_POST['wp_max_time'];
1593
  wp_cache_replace_line('^ *\$cache_max_time', "\$cache_max_time = $cache_max_time;", $wp_cache_config_file);
1594
- // schedule gc watcher
1595
- if ( false == wp_next_scheduled( 'wp_cache_gc_watcher' ) )
1596
- wp_schedule_event( time()+600, 'hourly', 'wp_cache_gc_watcher' );
1597
  }
1598
 
1599
  if ( isset( $_POST[ 'cache_gc_email_me' ] ) && $valid_nonce ) {
1600
  $cache_gc_email_me = 1;
1601
- wp_cache_replace_line('^ *\$cache_gc_email_me', "\$cache_gc_email_me = $cache_gc_email_me;", $wp_cache_config_file);
1602
  } elseif ( $valid_nonce ) {
1603
  $cache_gc_email_me = 0;
1604
- wp_cache_replace_line('^ *\$cache_gc_email_me', "\$cache_gc_email_me = $cache_gc_email_me;", $wp_cache_config_file);
1605
  }
1606
- if ( isset( $_POST[ 'cache_schedule_type' ] ) && $_POST[ 'cache_schedule_type' ] == 'interval' && isset( $_POST['cache_time_interval'] ) && $valid_nonce ) {
1607
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1608
  $cache_schedule_type = 'interval';
1609
  if ( (int)$_POST[ 'cache_time_interval' ] == 0 )
@@ -1612,35 +1450,26 @@ function wp_cache_edit_max_time () {
1612
  wp_schedule_single_event( time() + $cache_time_interval, 'wp_cache_gc' );
1613
  wp_cache_replace_line('^ *\$cache_schedule_type', "\$cache_schedule_type = '$cache_schedule_type';", $wp_cache_config_file);
1614
  wp_cache_replace_line('^ *\$cache_time_interval', "\$cache_time_interval = '$cache_time_interval';", $wp_cache_config_file);
1615
- } elseif ( $valid_nonce ) { // clock
1616
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1617
  $cache_schedule_type = 'time';
1618
- if ( !isset( $_POST[ 'cache_scheduled_time' ] ) || $_POST[ 'cache_scheduled_time' ] == '' )
1619
  $_POST[ 'cache_scheduled_time' ] = '00:00';
1620
  $cache_scheduled_time = $_POST[ 'cache_scheduled_time' ];
1621
- $schedules = wp_get_schedules();
1622
- if ( !isset( $cache_schedule_interval ) )
1623
- $cache_schedule_interval = 'daily';
1624
- if ( isset( $schedules[ $_POST[ 'cache_schedule_interval' ] ] ) )
1625
- $cache_schedule_interval = $_POST[ 'cache_schedule_interval' ];
1626
  wp_cache_replace_line('^ *\$cache_schedule_type', "\$cache_schedule_type = '$cache_schedule_type';", $wp_cache_config_file);
1627
  wp_cache_replace_line('^ *\$cache_schedule_interval', "\$cache_schedule_interval = '{$cache_schedule_interval}';", $wp_cache_config_file);
1628
  wp_cache_replace_line('^ *\$cache_scheduled_time', "\$cache_scheduled_time = '$cache_scheduled_time';", $wp_cache_config_file);
1629
  wp_schedule_event( strtotime( $cache_scheduled_time ), $cache_schedule_interval, 'wp_cache_gc' );
1630
  }
1631
- ?><fieldset class="options">
1632
  <a name='expirytime'></a>
1633
  <h3><?php _e( 'Expiry Time &amp; Garbage Collection', 'wp-super-cache' ); ?></h3><?php
1634
-
1635
- ?><span id="utc-time"><?php printf(__('<abbr title="Coordinated Universal Time">UTC</abbr> time is <code>%s</code>'), date_i18n($timezone_format, false, 'gmt')); ?></span><?php
1636
- $current_offset = get_option('gmt_offset');
1637
- if ( get_option('timezone_string') || !empty($current_offset) ) {
1638
- ?><span id="local-time"><?php printf(__('Local time is <code>%1$s</code>'), date_i18n($timezone_format)); ?></span><?php
1639
- }
1640
  $next_gc = wp_next_scheduled( 'wp_cache_gc' );
 
1641
  if ( $next_gc )
1642
- echo "<p>" . sprintf( __( 'Next scheduled garbage collection will be at <strong>%s UTC</strong>', 'wp-super-cache' ), date_i18n( $timezone_format, $next_gc, 'gmt' ) ) . "</p>";
1643
-
1644
 
1645
  if ( $wp_cache_preload_on )
1646
  echo "<p>" . __( 'Warning! <strong>PRELOAD MODE</strong> activated. Supercache files will not be deleted regardless of age.' ) . "</p>";
@@ -1666,16 +1495,16 @@ function wp_cache_edit_max_time () {
1666
  echo '<tr><td valign="top"><strong>' . __( 'Scheduler', 'wp-super-cache' ) . '</strong></td><td><table cellpadding=0 cellspacing=0><tr><td valign="top"><input type="radio" id="schedule_interval" name="cache_schedule_type" value="interval" ' . checked( 'interval', $cache_schedule_type, false ) . ' /></td><td valign="top"><label for="cache_interval_time">' . __( 'Timer:', 'wp-super-cache' ) . '</label></td>';
1667
  echo "<td><input type='text' id='cache_interval_time' size=6 name='cache_time_interval' value='$cache_time_interval' /> " . __( "seconds", 'wp-super-cache' ) . '<br />' . __( 'Check for stale cached files every <em>interval</em> seconds.', 'wp-super-cache' ) . "</td></tr>";
1668
  echo '<tr><td valign="top"><input type="radio" id="schedule_time" name="cache_schedule_type" value="time" ' . checked( 'time', $cache_schedule_type, false ) . ' /></td><td valign="top"><label for="schedule_time">' . __( 'Clock:', 'wp-super-cache' ) . '</label></td>';
1669
- echo "<td><input type=\"text\" size=5 id='cache_scheduled_time' name='cache_scheduled_time' value=\"$cache_scheduled_time\" /> " . __( "HH:MM", 'wp-super-cache' ) . "<br />" . __( 'Check for stale cached files at this time <strong>(UTC)</strong> or starting at this time every <em>interval</em> below.', 'wp-super-cache' ) . "</td></tr>";
1670
  $schedules = wp_get_schedules();
1671
  echo "<tr><td><br /></td><td><label for='cache_scheduled_select'>" . __( 'Interval:', 'wp-super-cache' ) . "</label></td><td><select id='cache_scheduled_select' name='cache_schedule_interval' size=1>";
1672
  foreach( $schedules as $desc => $details ) {
1673
- echo "<option value='$desc' " . selected( $desc, $cache_schedule_interval, false ) . " /> {$details[ 'display' ]}</option>";
1674
  }
1675
  echo "</select></td></tr>";
1676
  echo '</table></td></tr>';
1677
  echo '<tr><td><label for="cache_gc_email_me"><strong>' . __( 'Notification Emails', 'wp-super-cache' ) . '</strong></label></td>';
1678
- echo "<td><input type='checkbox' id='cache_gc_email_me' name='cache_gc_email_me' " . checked( $cache_gc_email_me, 1, false ) . " /> " . __( 'Email me when the garbage collection runs.', 'wp-super-cache' ) . "</td></tr>\n";
1679
  echo "</table>\n";
1680
  echo "<h4>" . __( 'Garbage Collection', 'wp-super-cache' ) . "</h4>";
1681
  echo "<ol><li>" . __( '<em>Garbage collection</em> is the simple act of throwing out your garbage. For this plugin that would be old or <em>stale</em> cached files that may be out of date. New cached files are described as <em>fresh</em>.', 'wp-super-cache' ) . "</li>\n";
@@ -1694,7 +1523,7 @@ function wp_cache_edit_max_time () {
1694
  echo "</ol>";
1695
  echo "<p>" . __( 'Checking for and deleting expired files is expensive, but it&#8217;s expensive leaving them there too. On a very busy site you should set the expiry time to <em>600 seconds</em>. Experiment with different values and visit this page to see how many expired files remain at different times during the day. If you are using legacy caching aim to have less than 500 cached files if possible. You can have many times more cached files when using mod_rewrite or PHP caching.', 'wp-super-cache' ) . "</p>";
1696
  echo "<p>" . __( 'Set the expiry time to 0 seconds to disable garbage collection.', 'wp-super-cache' ) . "</p>";
1697
- echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Change Expiration', 'wp-super-cache' ) . '" /></div>';
1698
  wp_nonce_field('wp-cache');
1699
  echo "</form>\n";
1700
  ?></fieldset><?php
@@ -1746,7 +1575,7 @@ function wp_cache_edit_rejected_ua() {
1746
  echo esc_html( $ua ) . "\n";
1747
  }
1748
  echo '</textarea> ';
1749
- echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save UA Strings', 'wp-super-cache' ) . '" /></div>';
1750
  wp_nonce_field('wp-cache');
1751
  echo '</form>';
1752
  echo "</fieldset>\n";
@@ -1783,7 +1612,7 @@ function wp_cache_edit_rejected_pages() {
1783
  echo '<label><input type="checkbox" value="1" name="wp_cache_pages[search]" ' . checked( 1, $wp_cache_pages[ 'search' ], false ) . ' /> ' . __( 'Search Pages', 'wp-super-cache' ) . ' (is_search)</label><br />';
1784
  echo '<label><input type="checkbox" value="1" name="wp_cache_pages[author]" ' . checked( 1, $wp_cache_pages[ 'author' ], false ) . ' /> ' . __( 'Author Pages', 'wp-super-cache' ) . ' (is_author)</label><br />';
1785
 
1786
- echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save' ) . '" /></div>';
1787
  wp_nonce_field('wp-cache');
1788
  echo "</form>\n";
1789
 
@@ -1806,7 +1635,7 @@ function wp_cache_edit_rejected() {
1806
  echo esc_html( $file ) . "\n";
1807
  }
1808
  echo '</textarea> ';
1809
- echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save Strings', 'wp-super-cache' ) . '" /></div>';
1810
  wp_nonce_field('wp-cache');
1811
  echo "</form>\n";
1812
  }
@@ -1828,20 +1657,18 @@ function wp_cache_edit_accepted() {
1828
  echo esc_html($file) . "\n";
1829
  }
1830
  echo '</textarea> ';
1831
- echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save Files', 'wp-super-cache' ) . '" /></div>';
1832
  wp_nonce_field('wp-cache');
1833
  echo "</form>\n";
1834
  }
1835
 
1836
  function wp_cache_debug_settings() {
1837
- global $wp_super_cache_debug, $wp_cache_debug_log, $wp_cache_debug_ip, $cache_path, $valid_nonce, $wp_cache_config_file, $wp_super_cache_comments;
1838
  global $wp_super_cache_front_page_check, $wp_super_cache_front_page_clear, $wp_super_cache_front_page_text, $wp_super_cache_front_page_notification, $wp_super_cache_advanced_debug;
1839
 
1840
- if ( false == isset( $wp_super_cache_comments ) )
1841
- $wp_super_cache_comments = 1;
1842
  if ( isset( $_POST[ 'wp_cache_debug' ] ) && $valid_nonce ) {
1843
- if ( !isset( $_POST[ 'wp_super_cache_debug' ] ) )
1844
- $_POST[ 'wp_super_cache_debug' ] = 0;
1845
  $wp_super_cache_debug = intval( $_POST[ 'wp_super_cache_debug' ] );
1846
  wp_cache_replace_line('^ *\$wp_super_cache_debug', "\$wp_super_cache_debug = '$wp_super_cache_debug';", $wp_cache_config_file);
1847
  if ( $wp_super_cache_debug && ( ( isset( $wp_cache_debug_log ) && $wp_cache_debug_log == '' ) || !isset( $wp_cache_debug_log ) ) ) {
@@ -1850,21 +1677,21 @@ function wp_cache_debug_settings() {
1850
  $wp_cache_debug_log = "";
1851
  }
1852
  wp_cache_replace_line('^ *\$wp_cache_debug_log', "\$wp_cache_debug_log = '$wp_cache_debug_log';", $wp_cache_config_file);
1853
- $wp_super_cache_comments = isset( $_POST[ 'wp_super_cache_comments' ] ) ? 1 : 0;
1854
- wp_cache_replace_line('^ *\$wp_super_cache_comments', "\$wp_super_cache_comments = '$wp_super_cache_comments';", $wp_cache_config_file);
1855
  $wp_cache_debug_ip = esc_html( $_POST[ 'wp_cache_debug_ip' ] );
1856
  wp_cache_replace_line('^ *\$wp_cache_debug_ip', "\$wp_cache_debug_ip = '$wp_cache_debug_ip';", $wp_cache_config_file);
1857
- $wp_super_cache_front_page_check = isset( $_POST[ 'wp_super_cache_front_page_check' ] ) ? 1 : 0;
 
 
1858
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_check', "\$wp_super_cache_front_page_check = '$wp_super_cache_front_page_check';", $wp_cache_config_file);
1859
- $wp_super_cache_front_page_clear = isset( $_POST[ 'wp_super_cache_front_page_clear' ] ) ? 1 : 0;
1860
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_clear', "\$wp_super_cache_front_page_clear = '$wp_super_cache_front_page_clear';", $wp_cache_config_file);
1861
  $wp_super_cache_front_page_text = esc_html( $_POST[ 'wp_super_cache_front_page_text' ] );
1862
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_text', "\$wp_super_cache_front_page_text = '$wp_super_cache_front_page_text';", $wp_cache_config_file);
1863
- $wp_super_cache_front_page_notification = isset( $_POST[ 'wp_super_cache_front_page_notification' ] ) ? 1 : 0;
1864
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_notification', "\$wp_super_cache_front_page_notification = '$wp_super_cache_front_page_notification';", $wp_cache_config_file);
1865
- if ( $wp_super_cache_front_page_check == 1 && !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
1866
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
1867
- wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
1868
  }
1869
  }
1870
 
@@ -1880,11 +1707,13 @@ function wp_cache_debug_settings() {
1880
  echo "<table class='form-table'>";
1881
  echo "<tr><td>" . __( 'Debugging', 'wp-super-cache' ) . "</td><td><input type='checkbox' name='wp_super_cache_debug' value='1' " . checked( 1, $wp_super_cache_debug, false ) . " /> " . __( 'enabled', 'wp-super-cache' ) . "</td></tr>";
1882
  echo "<tr><td>" . __( 'IP Address', 'wp-super-cache' ) . "</td><td> <input type='text' size='20' name='wp_cache_debug_ip' value='{$wp_cache_debug_ip}' /> " . sprintf( __( '(only log requests from this IP address. Your IP is %s)', 'wp-super-cache' ), $_SERVER[ 'REMOTE_ADDR' ] ) . "</td></tr>";
1883
- echo "<tr><td valign='top'>" . __( 'Cache Status Messages', 'wp-super-cache' ) . "</td><td><input type='checkbox' name='wp_super_cache_comments' value='1' " . checked( 1, $wp_super_cache_comments, false ) . " /> " . __( 'enabled', 'wp-super-cache' ) . "<br />";
1884
- echo __( 'Display comments at the end of every page like this:', 'wp-super-cache' ) . "<br />";
1885
- echo "<pre>&lt;!-- Dynamic page generated in 0.450 seconds. -->
1886
- &lt;!-- Cached page generated by WP-Super-Cache on " . date( "Y-m-d H:i:s", time() ) . " -->
1887
- &lt;!-- super cache --></pre></td></tr>";
 
 
1888
  echo "</table>\n";
1889
  if ( isset( $wp_super_cache_advanced_debug ) ) {
1890
  echo "<h4>" . __( 'Advanced', 'wp-super-cache' ) . "</h4><p>" . __( 'In very rare cases two problems may arise on some blogs:<ol><li> The front page may start downloading as a zip file.</li><li> The wrong page is occasionally cached as the front page if your blog uses a static front page and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>', 'wp-super-cache' ) . '</p>';
@@ -1894,10 +1723,10 @@ function wp_cache_debug_settings() {
1894
  echo "<tr><td valign='top'>" . __( 'Front page text', 'wp-super-cache' ) . "</td><td> <input type='text' size='30' name='wp_super_cache_front_page_text' value='{$wp_super_cache_front_page_text}' /> (" . __( 'Text to search for on your front page. If this text is missing the cache will be cleared. Leave blank to disable.', 'wp-super-cache' ) . ")</td></tr>";
1895
  echo "<tr><td valign='top' colspan='2'><input type='checkbox' name='wp_super_cache_front_page_clear' value='1' " . checked( 1, $wp_super_cache_front_page_clear, false ) . " /> " . __( 'Clear cache on error.', 'wp-super-cache' ) . "</td></tr>";
1896
  echo "<tr><td valign='top' colspan='2'><input type='checkbox' name='wp_super_cache_front_page_notification' value='1' " . checked( 1, $wp_super_cache_front_page_notification, false ) . " /> " . __( 'Email the blog admin when checks are made. (useful for testing)', 'wp-super-cache' ) . "</td></tr>";
1897
-
1898
  echo "</table>\n";
1899
  }
1900
- echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save', 'wp-super-cache' ) . '" /></div>';
1901
  wp_nonce_field('wp-cache');
1902
  echo "</form>\n";
1903
  echo '</fieldset>';
@@ -1919,9 +1748,6 @@ function wp_cache_enable() {
1919
  function wp_cache_disable() {
1920
  global $wp_cache_config_file, $cache_enabled;
1921
 
1922
- wp_clear_scheduled_hook( 'wp_cache_check_site_hook' );
1923
- wp_clear_scheduled_hook( 'wp_cache_gc' );
1924
- wp_clear_scheduled_hook( 'wp_cache_gc_watcher' );
1925
  if (wp_cache_replace_line('^ *\$cache_enabled', '$cache_enabled = false;', $wp_cache_config_file)) {
1926
  $cache_enabled = false;
1927
  }
@@ -2046,7 +1872,6 @@ function wp_cache_verify_cache_dir() {
2046
 
2047
  function wp_cache_verify_config_file() {
2048
  global $wp_cache_config_file, $wp_cache_config_file_sample, $sem_id, $cache_path;
2049
- global $WPSC_HTTP_HOST;
2050
 
2051
  $new = false;
2052
  $dir = dirname($wp_cache_config_file);
@@ -2081,7 +1906,7 @@ function wp_cache_verify_config_file() {
2081
  $new = true;
2082
  }
2083
  if( $sem_id == 5419 && $cache_path != '' ) {
2084
- $sem_id = crc32( $WPSC_HTTP_HOST . $cache_path ) & 0x7fffffff;
2085
  wp_cache_replace_line('sem_id', '$sem_id = ' . $sem_id . ';', $wp_cache_config_file);
2086
  }
2087
  require($wp_cache_config_file);
@@ -2090,20 +1915,10 @@ function wp_cache_verify_config_file() {
2090
 
2091
  function wp_cache_create_advanced_cache() {
2092
  global $wp_cache_link, $wp_cache_file;
2093
- if ( file_exists( ABSPATH . 'wp-config.php') ) {
2094
- $global_config_file = ABSPATH . 'wp-config.php';
2095
- } else {
2096
- $global_config_file = dirname(ABSPATH) . '/wp-config.php';
2097
- }
2098
-
2099
- $line = 'define( \'WPCACHEHOME\', \'' . dirname( __FILE__ ) . '/\' );';
2100
- if ( !is_writeable_ACLSafe($global_config_file) || !wp_cache_replace_line('define *\( *\'WPCACHEHOME\'', $line, $global_config_file ) ) {
2101
- echo '<div id="message" class="updated fade"><h3>' . __( 'Warning', 'wp-super-cache' ) . "! <em>" . sprintf( __( 'Could not update %s!</em> WPCACHEHOME must be set in config file.', 'wp-super-cache' ), $global_config_file ) . "</h3>";
2102
- return false;
2103
- }
2104
  $ret = true;
2105
 
2106
  $file = file_get_contents( $wp_cache_file );
 
2107
  $fp = @fopen( $wp_cache_link, 'w' );
2108
  if( $fp ) {
2109
  fputs( $fp, $file );
@@ -2116,11 +1931,11 @@ function wp_cache_create_advanced_cache() {
2116
 
2117
  function wp_cache_check_link() {
2118
  global $wp_cache_link, $wp_cache_file;
2119
-
2120
  $ret = true;
2121
  if( file_exists($wp_cache_link) ) {
2122
  $file = file_get_contents( $wp_cache_link );
2123
- if( strpos( $file, "WP SUPER CACHE 0.8.9.1" ) || strpos( $file, "WP SUPER CACHE 1.2" ) ) {
2124
  return true;
2125
  } else {
2126
  if( !@unlink($wp_cache_link) ) {
@@ -2169,7 +1984,7 @@ function wp_cache_check_global_config() {
2169
  }
2170
  return false;
2171
  } else {
2172
- echo "<div style='border: 1px solid #333; background: #ffffaa; padding: 2px;'>" . __( '<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see this warning message please see point 5 of the <a href="http://wordpress.org/plugins/wp-super-cache/faq/">Troubleshooting Guide</a>. The WP_CACHE line must be moved up.', 'wp-super-cache' ) . "</p></div>";
2173
  }
2174
  return true;
2175
  }
@@ -2212,7 +2027,7 @@ function wp_cache_files() {
2212
  $count = 0;
2213
  $expired = 0;
2214
  $now = time();
2215
- if ( ($handle = @opendir( $blog_cache_dir . 'meta/' )) ) {
2216
  $wp_cache_fsize = 0;
2217
  if ( $valid_nonce && isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'deletewpcache' ) {
2218
  $deleteuri = preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '/index.php', '/', str_replace( '..', '', preg_replace("/(\?.*)?$/", '', base64_decode( $_GET[ 'uri' ] ) ) ) ) );
@@ -2234,11 +2049,11 @@ function wp_cache_files() {
2234
  if ( preg_match("/^$file_prefix.*\.meta/", $file) ) {
2235
  $content_file = preg_replace("/meta$/", "html", $file);
2236
  $mtime = filemtime( $blog_cache_dir . 'meta/' . $file );
2237
- if ( ! ( $fsize = @filesize( $blog_cache_dir . $content_file ) ) )
2238
  continue; // .meta does not exists
2239
 
2240
  $age = $now - $mtime;
2241
- if ( $valid_nonce && isset( $_GET[ 'listfiles' ] ) ) {
2242
  $meta = unserialize( file_get_contents( $blog_cache_dir . 'meta/' . $file ) );
2243
  if ( $deleteuri != '' && $meta[ 'uri' ] == $deleteuri ) {
2244
  printf( __( "Deleting wp-cache file: <strong>%s</strong><br />", 'wp-super-cache' ), $deleteuri );
@@ -2303,7 +2118,7 @@ function wp_cache_files() {
2303
  if ( $valid_nonce && $_GET[ 'listfiles' ] && $filem )
2304
  $sizes[ 'cached_list' ][ str_replace( $cache_path . 'supercache/' , '', $supercachedir ) ] = $now - $filem;
2305
  }
2306
- }
2307
  $sizes[ 'ts' ] = time();
2308
  $cache_stats = array( 'generated' => time(), 'supercache' => $sizes, 'wpcache' => array( 'cached' => $count, 'expired' => $expired, 'fsize' => $wp_cache_fsize ) );
2309
  update_option( 'supercache_stats', $cache_stats );
@@ -2341,7 +2156,7 @@ function wp_cache_files() {
2341
  echo "<li>" . sprintf( __( '%s Expired Pages', 'wp-super-cache' ), intval( $cache_stats[ 'supercache' ][ 'expired' ] / $divisor ) ) . "</li></ul>";
2342
  if ( $valid_nonce && array_key_exists('listfiles', $_GET) && $_GET[ 'listfiles' ] ) {
2343
  echo "<div style='padding: 10px; border: 1px solid #333; height: 400px; width: 90%; overflow: auto'>";
2344
- if ( isset( $cached_list ) && is_array( $cached_list ) && !empty( $cached_list ) ) {
2345
  echo "<h4>" . __( 'Fresh WP-Cached Files', 'wp-super-cache' ) . "</h4>";
2346
  echo "<table class='widefat'><tr><th>#</th><th>" . __( 'URI', 'wp-super-cache' ) . "</th><th>" . __( 'Key', 'wp-super-cache' ) . "</th><th>" . __( 'Age', 'wp-super-cache' ) . "</th><th>" . __( 'Delete', 'wp-super-cache' ) . "</th></tr>";
2347
  $c = 1;
@@ -2357,7 +2172,7 @@ function wp_cache_files() {
2357
  }
2358
  echo "</table>";
2359
  }
2360
- if ( isset( $expired_list ) && is_array( $expired_list ) && !empty( $expired_list ) ) {
2361
  echo "<h4>" . __( 'Stale WP-Cached Files', 'wp-super-cache' ) . "</h4>";
2362
  echo "<table class='widefat'><tr><th>#</th><th>" . __( 'URI', 'wp-super-cache' ) . "</th><th>" . __( 'Key', 'wp-super-cache' ) . "</th><th>" . __( 'Age', 'wp-super-cache' ) . "</th><th>" . __( 'Delete', 'wp-super-cache' ) . "</th></tr>";
2363
  $c = 1;
@@ -2407,11 +2222,18 @@ function wp_cache_files() {
2407
  }
2408
  echo "</div>";
2409
  echo "<p><a href='?page=wpsupercache&tab=contents#top'>" . __( 'Hide file list', 'wp-super-cache' ) . "</a></p>";
2410
- } elseif ( $cache_stats[ 'supercache' ][ 'cached' ] > 500 || $cache_stats[ 'supercache' ][ 'expired' ] > 500 || ( $cache_stats[ 'wpcache' ][ 'cached' ] / $divisor ) > 500 || ( $cache_stats[ 'wpcache' ][ 'expired' ] / $divisor) > 500 ) {
2411
  echo "<p><em>" . __( 'Too many cached files, no listing possible.', 'wp-super-cache' ) . "</em></p>";
2412
  } else {
2413
  echo "<p><a href='" . wp_nonce_url( add_query_arg( array( 'page' => 'wpsupercache', 'listfiles' => '1' ) ), 'wp-cache' ) . "#listfiles'>" . __( 'List all cached files', 'wp-super-cache' ) . "</a></p>";
2414
  }
 
 
 
 
 
 
 
2415
  if ( $cache_max_time > 0 )
2416
  echo "<p>" . sprintf( __( 'Expired files are files older than %s seconds. They are still used by the plugin and are deleted periodically.', 'wp-super-cache' ), $cache_max_time ) . "</p>";
2417
  } // cache_stats
@@ -2424,19 +2246,19 @@ function wp_cache_delete_buttons() {
2424
 
2425
  echo '<form name="wp_cache_content_expired" action="#listfiles" method="post">';
2426
  echo '<input type="hidden" name="wp_delete_expired" />';
2427
- echo '<div class="submit" style="float:left"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Expired', 'wp-super-cache' ) . '" /></div>';
2428
  wp_nonce_field('wp-cache');
2429
  echo "</form>\n";
2430
 
2431
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
2432
  echo '<input type="hidden" name="wp_delete_cache" />';
2433
- echo '<div class="submit" style="float:left;margin-left:10px"><input id="deletepost" class="button-secondary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache', 'wp-super-cache' ) . '" /></div>';
2434
  wp_nonce_field('wp-cache');
2435
  echo "</form>\n";
2436
- if ( ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) ) && wpsupercache_site_admin() ) {
2437
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
2438
  echo '<input type="hidden" name="wp_delete_all_cache" />';
2439
- echo '<div class="submit" style="float:left;margin-left:10px"><input id="deleteallpost" class="button-secondary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache On All Blogs', 'wp-super-cache' ) . '" />';
2440
  wp_nonce_field('wp-cache');
2441
  echo "</form>\n";
2442
  }
@@ -2505,25 +2327,16 @@ function wp_cache_clean_cache( $file_prefix, $all = false ) {
2505
  prune_super_cache( $supercachedir . '.disabled', true );
2506
  }
2507
  $_POST[ 'super_cache_stats' ] = 1; // regenerate super cache stats;
2508
- } else {
2509
- wp_cache_debug( 'Warning! prune_super_cache() not found in wp-cache.php', 1 );
2510
- }
2511
-
2512
- wp_cache_clean_legacy_files( $blog_cache_dir, $file_prefix );
2513
- wp_cache_clean_legacy_files( $cache_path, $file_prefix );
2514
-
2515
- }
2516
 
2517
- function wp_cache_clean_legacy_files( $dir, $file_prefix ) {
2518
- global $wpdb;
2519
- if ( $handle = @opendir( $dir . 'meta/' ) ) {
2520
  while ( false !== ($file = readdir($handle))) {
2521
  if ( preg_match( "/^$file_prefix/", $file ) ) {
2522
- $meta = unserialize( file_get_contents( $dir . 'meta/' . $file ) );
2523
- if ( ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) ) && $meta[ 'blog_id' ] != $wpdb->blogid )
2524
- continue;
2525
- @unlink( $dir . 'meta/' . $file);
2526
- @unlink( $dir . str_replace( '.meta', '.html', $file ) );
2527
  }
2528
  }
2529
  closedir($handle);
@@ -2540,7 +2353,7 @@ function wp_cache_clean_expired($file_prefix) {
2540
  // If phase2 was compiled, use its function to avoid race-conditions
2541
  if(function_exists('wp_cache_phase2_clean_expired')) {
2542
  if ( $wp_cache_preload_on != 1 && function_exists ('prune_super_cache')) {
2543
- $dir = get_supercache_dir();
2544
  if( is_dir( $dir ) ) {
2545
  prune_super_cache( $dir );
2546
  } elseif( is_dir( $dir . '.disabled' ) ) {
@@ -2553,7 +2366,7 @@ function wp_cache_clean_expired($file_prefix) {
2553
 
2554
  $expr = "/^$file_prefix/";
2555
  $now = time();
2556
- if ( ($handle = @opendir( $blog_cache_dir )) ) {
2557
  while ( false !== ($file = readdir($handle))) {
2558
  if ( preg_match( $expr, $file ) &&
2559
  ( filemtime( $blog_cache_dir . $file ) + $cache_max_time ) <= $now ) {
@@ -2616,7 +2429,7 @@ function wp_cache_catch_404() {
2616
  add_action( 'template_redirect', 'wp_cache_catch_404' );
2617
 
2618
  function wp_cache_favorite_action( $actions ) {
2619
- if ( false == wpsupercache_site_admin() )
2620
  return $actions;
2621
 
2622
  if ( function_exists('current_user_can') && !current_user_can('manage_options') )
@@ -2645,14 +2458,12 @@ function wp_cache_plugin_actions( $links, $file ) {
2645
  add_filter( 'plugin_action_links', 'wp_cache_plugin_actions', 10, 2 );
2646
 
2647
  function wp_cache_admin_notice() {
2648
- global $cache_enabled, $wp_cache_phase1_loaded;
2649
  if( substr( $_SERVER["PHP_SELF"], -11 ) == 'plugins.php' && !$cache_enabled && function_exists( "admin_url" ) )
2650
  echo '<div class="error"><p><strong>' . sprintf( __('WP Super Cache is disabled. Please go to the <a href="%s">plugin admin page</a> to enable caching.', 'wp-super-cache' ), admin_url( 'options-general.php?page=wpsupercache' ) ) . '</strong></p></div>';
2651
 
2652
- if ( defined( 'WP_CACHE' ) && WP_CACHE == true && ( defined( 'ADVANCEDCACHEPROBLEM' ) || ( $cache_enabled && false == isset( $wp_cache_phase1_loaded ) ) ) ) {
2653
- echo '<div class="error"><p>' . sprintf( __( 'Warning! WP Super Cache caching <strong>was</strong> broken but has been <strong>fixed</strong>! The script advanced-cache.php could not load wp-cache-phase1.php.<br /><br />The file %1$s/advanced-cache.php has been recreated and WPCACHEHOME fixed in your wp-config.php. Reload to hide this message.', 'wp-super-cache' ), WP_CONTENT_DIR ) . '</p></div>';
2654
- wp_cache_create_advanced_cache();
2655
- }
2656
  }
2657
  add_action( 'admin_notices', 'wp_cache_admin_notice' );
2658
 
@@ -2673,7 +2484,7 @@ function wp_cache_check_site() {
2673
  if ( !isset( $wp_super_cache_front_page_clear ) || ( isset( $wp_super_cache_front_page_clear ) && $wp_super_cache_front_page_clear == 0 ) ) {
2674
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is gzipped! Please clear cache!', 'wp-super-cache' ), site_url() ), sprintf( __( "Please visit %s to clear the cache as the front page of your site is now downloading!", 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache" ) );
2675
  } else {
2676
- wp_cache_clear_cache( get_current_blog_id() );
2677
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is gzipped! Cache Cleared!', 'wp-super-cache' ), site_url() ), sprintf( __( "The cache on your blog has been cleared because the front page of your site is now downloading. Please visit %s to verify the cache has been cleared.", 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache" ) );
2678
  }
2679
  }
@@ -2683,7 +2494,7 @@ function wp_cache_check_site() {
2683
  if ( !isset( $wp_super_cache_front_page_clear ) || ( isset( $wp_super_cache_front_page_clear ) && $wp_super_cache_front_page_clear == 0 ) ) {
2684
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is not correct! Please clear cache!', 'wp-super-cache' ), site_url() ), sprintf( __( 'Please visit %1$s to clear the cache as the front page of your site is not correct and missing the text, "%2$s"!', 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache", $wp_super_cache_front_page_text ) );
2685
  } else {
2686
- wp_cache_clear_cache( get_current_blog_id() );
2687
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is not correct! Cache Cleared!', 'wp-super-cache' ), site_url() ), sprintf( __( 'The cache on your blog has been cleared because the front page of your site is missing the text "%2$s". Please visit %1$s to verify the cache has been cleared.', 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache", $wp_super_cache_front_page_text ) );
2688
  }
2689
  }
@@ -2694,7 +2505,7 @@ function wp_cache_check_site() {
2694
 
2695
  if ( !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
2696
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
2697
- wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
2698
  }
2699
  }
2700
  add_action( 'wp_cache_check_site_hook', 'wp_cache_check_site' );
@@ -2713,7 +2524,7 @@ function update_cached_mobile_ua_list( $mobile_browsers, $mobile_prefixes = 0, $
2713
  $wp_cache_mobile_groups = $mobile_groups;
2714
  wp_cache_replace_line('^ *\$wp_cache_mobile_groups', "\$wp_cache_mobile_groups = '" . implode( ', ', $mobile_groups ) . "';", $wp_cache_config_file);
2715
  }
2716
-
2717
  return true;
2718
  }
2719
 
@@ -2746,26 +2557,15 @@ function wpsc_update_htaccess_form( $short_form = true ) {
2746
  if ( !isset( $wpmu_version ) || $wpmu_version == '' ) {
2747
  echo '<form name="updatehtaccess" action="#modrewrite" method="post">';
2748
  echo '<input type="hidden" name="updatehtaccess" value="1" />';
2749
- echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'id="updatehtaccess" value="' . __( 'Update Mod_Rewrite Rules', 'wp-super-cache' ) . '" /></div>';
2750
  wp_nonce_field('wp-cache');
2751
  echo "</form></div>\n";
2752
  }
2753
  }
2754
  }
2755
 
2756
- /*
2757
- * Return LOGGED_IN_COOKIE if it doesn't begin with wordpress_logged_in
2758
- * to avoid having people update their .htaccess file
2759
- */
2760
- function wpsc_get_logged_in_cookie() {
2761
- $logged_in_cookie = 'wordpress_logged_in';
2762
- if ( defined( 'LOGGED_IN_COOKIE' ) && substr( constant( 'LOGGED_IN_COOKIE' ), 0, 19 ) != 'wordpress_logged_in' )
2763
- $logged_in_cookie = constant( 'LOGGED_IN_COOKIE' );
2764
- return $logged_in_cookie;
2765
- }
2766
-
2767
  function wpsc_get_htaccess_info() {
2768
- global $wp_cache_mobile_enabled, $wp_cache_mobile_prefixes, $wp_cache_mobile_browsers, $wp_cache_disable_utf8;
2769
  if ( isset( $_SERVER[ "PHP_DOCUMENT_ROOT" ] ) ) {
2770
  $document_root = $_SERVER[ "PHP_DOCUMENT_ROOT" ];
2771
  $apache_root = $_SERVER[ "PHP_DOCUMENT_ROOT" ];
@@ -2807,14 +2607,12 @@ function wpsc_get_htaccess_info() {
2807
  }
2808
  $condition_rules[] = "RewriteCond %{REQUEST_METHOD} !POST";
2809
  $condition_rules[] = "RewriteCond %{QUERY_STRING} !.*=.*";
2810
- $condition_rules[] = "RewriteCond %{HTTP:Cookie} !^.*(comment_author_|" . wpsc_get_logged_in_cookie() . "|wp-postpass_).*$";
2811
  $condition_rules[] = "RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\\\"]+ [NC]";
2812
  $condition_rules[] = "RewriteCond %{HTTP:Profile} !^[a-z0-9\\\"]+ [NC]";
2813
  if ( $wp_cache_mobile_enabled ) {
2814
- if ( false == empty( $wp_cache_mobile_browsers ) )
2815
- $condition_rules[] = "RewriteCond %{HTTP_USER_AGENT} !^.*(" . addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) . ").* [NC]";
2816
- if ( false == empty( $wp_cache_mobile_prefixes ) )
2817
- $condition_rules[] = "RewriteCond %{HTTP_user_agent} !^(" . addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) . ").* [NC]";
2818
  }
2819
  $condition_rules = apply_filters( 'supercacherewriteconditions', $condition_rules );
2820
 
@@ -2822,32 +2620,27 @@ function wpsc_get_htaccess_info() {
2822
  $rules .= "RewriteEngine On\n";
2823
  $rules .= "RewriteBase $home_root\n"; // props Chris Messina
2824
  $rules .= "#If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible\n";
2825
- if ( isset( $wp_cache_disable_utf8 ) == false || $wp_cache_disable_utf8 == 0 ) {
2826
- $charset = get_option('blog_charset') == '' ? 'UTF-8' : get_option('blog_charset');
2827
- $rules .= "AddDefaultCharset {$charset}\n";
2828
- }
2829
-
2830
  $rules .= "CONDITION_RULES";
2831
  $rules .= "RewriteCond %{HTTP:Accept-Encoding} gzip\n";
2832
  $rules .= "RewriteCond %{HTTPS} on\n";
2833
- $rules .= "RewriteCond {$apache_root}{$inst_root}cache/supercache/%{SERVER_NAME}{$home_root_lc}$1/index-https.html.gz -f\n";
2834
- $rules .= "RewriteRule ^(.*) \"{$inst_root}cache/supercache/%{SERVER_NAME}{$home_root_lc}$1/index-https.html.gz\" [L]\n\n";
2835
 
2836
  $rules .= "CONDITION_RULES";
2837
  $rules .= "RewriteCond %{HTTP:Accept-Encoding} gzip\n";
2838
  $rules .= "RewriteCond %{HTTPS} !on\n";
2839
- $rules .= "RewriteCond {$apache_root}{$inst_root}cache/supercache/%{SERVER_NAME}{$home_root_lc}$1/index.html.gz -f\n";
2840
- $rules .= "RewriteRule ^(.*) \"{$inst_root}cache/supercache/%{SERVER_NAME}{$home_root_lc}$1/index.html.gz\" [L]\n\n";
2841
 
2842
  $rules .= "CONDITION_RULES";
2843
  $rules .= "RewriteCond %{HTTPS} on\n";
2844
- $rules .= "RewriteCond {$apache_root}{$inst_root}cache/supercache/%{SERVER_NAME}{$home_root_lc}$1/index-https.html -f\n";
2845
- $rules .= "RewriteRule ^(.*) \"{$inst_root}cache/supercache/%{SERVER_NAME}{$home_root_lc}$1/index-https.html\" [L]\n\n";
2846
 
2847
  $rules .= "CONDITION_RULES";
2848
  $rules .= "RewriteCond %{HTTPS} !on\n";
2849
- $rules .= "RewriteCond {$apache_root}{$inst_root}cache/supercache/%{SERVER_NAME}{$home_root_lc}$1/index.html -f\n";
2850
- $rules .= "RewriteRule ^(.*) \"{$inst_root}cache/supercache/%{SERVER_NAME}{$home_root_lc}$1/index.html\" [L]\n";
2851
  $rules .= "</IfModule>\n";
2852
  $rules = apply_filters( 'supercacherewriterules', $rules );
2853
 
@@ -2868,30 +2661,22 @@ function clear_post_supercache( $post_id ) {
2868
  if ( !function_exists( 'prune_super_cache' ) )
2869
  include_once( 'wp-cache-phase2.php' );
2870
 
2871
- wp_cache_debug( "clear_post_supercache: deleting $dir/index*.html files", 2 );
2872
- $files_to_check = get_all_supercache_filenames( $dir );
2873
- foreach( $files_to_check as $cache_file ) {
2874
- prune_super_cache( $dir . $cache_file, true );
2875
- }
2876
  }
2877
 
2878
  function wp_cron_preload_cache() {
2879
- global $wpdb, $wp_cache_preload_interval, $wp_cache_preload_posts, $wp_cache_preload_email_me, $wp_cache_preload_email_volume, $cache_path, $wp_cache_preload_taxonomies;
2880
- global $WPSC_HTTP_HOST;
2881
 
2882
  if ( get_option( 'preload_cache_stop' ) ) {
2883
  delete_option( 'preload_cache_stop' );
2884
- wp_cache_debug( "wp_cron_preload_cache: preload cancelled", 1 );
2885
  return true;
2886
  }
2887
  $mutex = $cache_path . "preload_mutex.tmp";
2888
  sleep( 3 + mt_rand( 1, 5 ) );
2889
  if ( @file_exists( $mutex ) ) {
2890
  if ( @filemtime( $mutex ) > ( time() - 600 ) ) {
2891
- wp_cache_debug( "wp_cron_preload_cache: preload mutex found and less than 600 seconds old. Aborting preload.", 1 );
2892
  return true;
2893
  } else {
2894
- wp_cache_debug( "wp_cron_preload_cache: old preload mutex found and deleted. Preload continues.", 1 );
2895
  @unlink( $mutex );
2896
  }
2897
  }
@@ -2900,90 +2685,74 @@ function wp_cron_preload_cache() {
2900
 
2901
  $counter = get_option( 'preload_cache_counter' );
2902
  if ( is_array( $counter ) == false ) {
2903
- wp_cache_debug( "wp_cron_preload_cache: setting up preload for the first time!", 5 );
2904
  $counter = array( 'c' => 0, 't' => time() );
2905
  update_option( 'preload_cache_counter', $counter );
2906
  }
2907
  $c = $counter[ 'c' ];
2908
 
2909
- update_option( 'preload_cache_counter', array( 'c' => ( $c + 100 ), 't' => time() ) );
2910
-
2911
  if ( $wp_cache_preload_email_me && $c == 0 )
2912
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] Cache Preload Started', 'wp-super-cache' ), site_url(), '' ), ' ' );
2913
 
2914
- if ( $wp_cache_preload_posts == 'all' || $c < $wp_cache_preload_posts ) {
2915
- wp_cache_debug( "wp_cron_preload_cache: doing taxonomy preload.", 5 );
2916
- $permalink_counter_msg = $cache_path . "preload_permalink.txt";
2917
- if ( isset( $wp_cache_preload_taxonomies ) && $wp_cache_preload_taxonomies ) {
2918
- $taxonomies = apply_filters( 'wp_cache_preload_taxonomies', array( 'post_tag' => 'tag', 'category' => 'category' ) );
2919
- foreach( $taxonomies as $taxonomy => $path ) {
2920
- $taxonomy_filename = $cache_path . "taxonomy_" . $taxonomy . ".txt";
2921
- if ( $c == 0 )
2922
- @unlink( $taxonomy_filename );
2923
-
2924
- if ( false == @file_exists( $taxonomy_filename ) ) {
2925
- $out = '';
2926
- $records = get_terms( $taxonomy );
2927
- foreach( $records as $term ) {
2928
- $out .= get_term_link( $term ). "\n";
2929
- }
2930
- $fp = fopen( $taxonomy_filename, 'w' );
2931
- if ( $fp ) {
2932
- fwrite( $fp, $out );
2933
- fclose( $fp );
2934
- }
2935
- $details = explode( "\n", $out );
2936
- } else {
2937
- $details = explode( "\n", file_get_contents( $taxonomy_filename ) );
2938
- }
2939
- if ( count( $details ) != 1 && $details[ 0 ] != '' ) {
2940
- $rows = array_splice( $details, 0, 50 );
2941
- if ( $wp_cache_preload_email_me && $wp_cache_preload_email_volume == 'many' )
2942
- wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] Refreshing %2$s taxonomy from %3$d to %4$d', 'wp-super-cache' ), site_url(), $taxonomy, $c, ($c+100) ), 'Refreshing: ' . print_r( $rows, 1 ) );
2943
- foreach( (array)$rows as $url ) {
2944
- set_time_limit( 60 );
2945
- if ( $url == '' )
2946
- continue;
2947
- $url_info = parse_url( $url );
2948
- $dir = get_supercache_dir() . $url_info[ 'path' ];
2949
- wp_cache_debug( "wp_cron_preload_cache: delete $dir", 5 );
2950
- prune_super_cache( $dir );
2951
- $fp = @fopen( $permalink_counter_msg, 'w' );
2952
- if ( $fp ) {
2953
- @fwrite( $fp, "$taxonomy: $url" );
2954
- @fclose( $fp );
2955
- }
2956
- wp_remote_get( $url, array('timeout' => 60, 'blocking' => true ) );
2957
- wp_cache_debug( "wp_cron_preload_cache: fetched $url", 5 );
2958
- sleep( 1 );
2959
- }
2960
- $fp = fopen( $taxonomy_filename, 'w' );
2961
- if ( $fp ) {
2962
- fwrite( $fp, implode( "\n", $details ) );
2963
- fclose( $fp );
2964
- }
2965
  }
 
 
 
 
 
 
 
2966
  }
2967
  }
2968
  }
2969
 
2970
- if ( $wp_cache_preload_posts == 'all' || $c < $wp_cache_preload_posts ) {
2971
- $posts = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE ( post_type != 'revision' AND post_type != 'nav_menu_item' ) AND post_status = 'publish' ORDER BY ID ASC LIMIT $c, 100" );
2972
- wp_cache_debug( "wp_cron_preload_cache: got 100 posts from position $c.", 5 );
2973
  } else {
2974
- wp_cache_debug( "wp_cron_preload_cache: no more posts to get. Limit ($wp_cache_preload_posts) reached.", 5 );
2975
  $posts = false;
2976
  }
2977
  if ( !isset( $wp_cache_preload_email_volume ) )
2978
  $wp_cache_preload_email_volume = 'medium';
2979
 
 
2980
  if ( $posts ) {
2981
- if ( get_option( 'show_on_front' ) == 'page' ) {
2982
- $page_on_front = get_option( 'page_on_front' );
2983
- $page_for_posts = get_option( 'page_for_posts' );
2984
- } else {
2985
- $page_on_front = $page_for_posts = 0;
2986
- }
2987
  if ( $wp_cache_preload_email_me && $wp_cache_preload_email_volume == 'many' )
2988
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] Refreshing posts from %2$d to %3$d', 'wp-super-cache' ), site_url(), $c, ($c+100) ), ' ' );
2989
  $msg = '';
@@ -2991,8 +2760,6 @@ function wp_cron_preload_cache() {
2991
  $permalink_counter_msg = $cache_path . "preload_permalink.txt";
2992
  foreach( $posts as $post_id ) {
2993
  set_time_limit( 60 );
2994
- if ( $page_on_front != 0 && ( $post_id == $page_on_front || $post_id == $page_for_posts ) )
2995
- continue;
2996
  clear_post_supercache( $post_id );
2997
  $url = get_permalink( $post_id );
2998
  $fp = @fopen( $permalink_counter_msg, 'w' );
@@ -3001,7 +2768,6 @@ function wp_cron_preload_cache() {
3001
  @fclose( $fp );
3002
  }
3003
  if ( @file_exists( $cache_path . "stop_preload.txt" ) ) {
3004
- wp_cache_debug( "wp_cron_preload_cache: cancelling preload. stop_preload.txt found.", 5 );
3005
  @unlink( $mutex );
3006
  @unlink( $cache_path . "stop_preload.txt" );
3007
  update_option( 'preload_cache_counter', array( 'c' => 0, 't' => time() ) );
@@ -3011,14 +2777,12 @@ function wp_cron_preload_cache() {
3011
  }
3012
  $msg .= "$url\n";
3013
  wp_remote_get( $url, array('timeout' => 60, 'blocking' => true ) );
3014
- wp_cache_debug( "wp_cron_preload_cache: fetched $url", 5 );
3015
  sleep( 1 );
3016
  $count++;
3017
  }
3018
  if ( $wp_cache_preload_email_me && $wp_cache_preload_email_volume != 'less' )
3019
- wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] %2$d posts refreshed', 'wp-super-cache' ), $WPSC_HTTP_HOST, ($c+100) ), __( "Refreshed the following posts:", 'wp-super-cache' ) . "\n$msg" );
3020
  if ( defined( 'DOING_CRON' ) ) {
3021
- wp_cache_debug( "wp_cron_preload_cache: scheduling the next preload in 30 seconds.", 5 );
3022
  wp_schedule_single_event( time() + 30, 'wp_cache_preload_hook' );
3023
  }
3024
  } else {
@@ -3027,7 +2791,6 @@ function wp_cron_preload_cache() {
3027
  if ( (int)$wp_cache_preload_interval && defined( 'DOING_CRON' ) ) {
3028
  if ( $wp_cache_preload_email_me )
3029
  $msg = sprintf( __( 'Scheduling next preload refresh in %d minutes.', 'wp-super-cache' ), (int)$wp_cache_preload_interval );
3030
- wp_cache_debug( "wp_cron_preload_cache: no more posts. scheduling next preload in $wp_cache_preload_interval minutes.", 5 );
3031
  wp_schedule_single_event( time() + ( (int)$wp_cache_preload_interval * 60 ), 'wp_cache_full_preload_hook' );
3032
  }
3033
  global $file_prefix, $cache_max_time;
@@ -3038,7 +2801,6 @@ function wp_cron_preload_cache() {
3038
  }
3039
  if ( $wp_cache_preload_email_me )
3040
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Cache Preload Completed', 'wp-super-cache' ), site_url() ), __( "Cleaning up old supercache files.", 'wp-super-cache' ) . "\n" . $msg );
3041
- wp_cache_debug( "wp_cron_preload_cache: clean expired cache files older than $cache_max_time seconds.", 5 );
3042
  wp_cache_phase2_clean_expired( $file_prefix, true ); // force cleanup of old files.
3043
  }
3044
  @unlink( $mutex );
@@ -3115,7 +2877,7 @@ function wp_cache_disable_plugin() {
3115
  $code .= "<li><code>chmod 666 " . WP_CONTENT_DIR . "/{$filename}</code></li>\n";
3116
  }
3117
  $code .= "</ul>\n";
3118
-
3119
  $msg .= "</ol>\n<p>First try fixing the directory permissions with this command and refresh this page:<br /><br /><code>chmod 777 " . WP_CONTENT_DIR . "</code><br /><br />If you still see this error, you have to fix the permissions on the files themselves and refresh this page again:</p> {$code}\n<p>Don't forgot to fix things later:<br /><code>chmod 755 " . WP_CONTENT_DIR . "</code></p><p>If you don't know what <strong>chmod</strong> is use <a href='http://www.google.ie/search?hl=en&q=ftp+chmod+777'>this Google search</a> to find out all about it.</p><p>Please refresh this page when the permissions have been modified.</p>";
3120
  wp_die( $msg );
3121
  }
@@ -3123,7 +2885,7 @@ function wp_cache_disable_plugin() {
3123
  if ( $scrules != '' && insert_with_markers( $home_path.'.htaccess', 'WPSuperCache', array() ) ) {
3124
  $wp_rewrite->flush_rules();
3125
  } elseif( $scrules != '' ) {
3126
- wp_mail( get_option( 'admin_email' ), __( 'Supercache Uninstall Problems', 'wp-super-cache' ), sprintf( __( "Dear User,\n\nWP Super Cache was removed from your blog but the mod_rewrite rules\nin your .htaccess were not.\n\nPlease edit the following file and remove the code\nbetween 'BEGIN WPSuperCache' and 'END WPSuperCache'. Please backup the file first!\n\n%s\n\nRegards,\nWP Super Cache Plugin\nhttp://wordpress.org/plugins/wp-super-cache/", 'wp-super-cache' ), ABSPATH . '/.htaccess' ) );
3127
  }
3128
  }
3129
 
@@ -3134,7 +2896,7 @@ function uninstall_supercache( $folderPath ) { // from http://www.php.net/manual
3134
  $dh = @opendir($folderPath);
3135
  while( false !== ( $value = @readdir( $dh ) ) ) {
3136
  if ( $value != "." && $value != ".." ) {
3137
- $value = $folderPath . "/" . $value;
3138
  if ( @is_dir ( $value ) ) {
3139
  uninstall_supercache( $value );
3140
  } else {
@@ -3150,18 +2912,17 @@ function uninstall_supercache( $folderPath ) { // from http://www.php.net/manual
3150
 
3151
  function supercache_admin_bar_render() {
3152
  global $wp_admin_bar, $wp_cache_not_logged_in;
3153
- if ( !is_user_logged_in() || !$wp_cache_not_logged_in )
3154
  return false;
3155
 
3156
- if ( function_exists('current_user_can') && false == current_user_can('delete_others_posts') )
3157
  return false;
3158
 
3159
  $wp_admin_bar->add_menu( array(
3160
  'parent' => '',
3161
  'id' => 'delete-cache',
3162
  'title' => __( 'Delete Cache', 'wp-super-cache' ),
3163
- 'meta' => array( 'title' => __( 'Delete cache of the current page', 'wp-super-cache' ) ),
3164
- 'href' => wp_nonce_url( admin_url( 'index.php?action=delcachepage&path=' . urlencode( preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', $_SERVER[ 'REQUEST_URI' ] ) ) ), 'delete-cache' )
3165
  ) );
3166
  }
3167
  add_action( 'wp_before_admin_bar_render', 'supercache_admin_bar_render' );
1
  <?php
2
  /*
3
  Plugin Name: WP Super Cache
4
+ Plugin URI: http://ocaoimh.ie/wp-super-cache/
5
  Description: Very fast caching plugin for WordPress.
6
+ Version: 1.0.1
7
+ Author: Donncha O Caoimh
8
+ Author URI: http://ocaoimh.ie/
 
 
9
  */
10
 
11
+ /* Copyright 2005-2006 Ricardo Galli Granada (email : gallir@uib.es)
12
+ Copyright 2007-2011 Donncha O Caoimh (http://ocaoimh.ie/) and many others.
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License as published by
34
 
35
  $wp_cache_config_file = WP_CONTENT_DIR . '/wp-cache-config.php';
36
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  if( !@include($wp_cache_config_file) ) {
38
  get_wpcachehome();
39
  $wp_cache_config_file_sample = WPCACHEHOME . 'wp-cache-config-sample.php';
42
  get_wpcachehome();
43
  }
44
 
45
+ $wp_cache_config_file_sample = WPCACHEHOME . 'wp-cache-config-sample.php';
46
  $wp_cache_link = WP_CONTENT_DIR . '/advanced-cache.php';
47
+ $wp_cache_file = WPCACHEHOME . 'advanced-cache.php';
48
 
49
  if( !defined( 'WP_CACHE' ) || ( defined( 'WP_CACHE' ) && constant( 'WP_CACHE' ) == false ) ) {
50
  $wp_cache_check_wp_config = true;
66
  add_action( 'template_redirect', 'wp_cache_set_home' );
67
 
68
 
69
+ // OSSDL CDN plugin (http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/)
70
  include_once( WPCACHEHOME . 'ossdl-cdn.php' );
71
 
72
  // from legolas558 d0t users dot sf dot net at http://www.php.net/is_writable
73
  function is_writeable_ACLSafe($path) {
74
 
75
  // PHP's is_writable does not work with Win32 NTFS
76
+
77
  if ($path{strlen($path)-1}=='/') // recursively return a temporary file path
78
  return is_writeable_ACLSafe($path.uniqid(mt_rand()).'.tmp');
79
  else if (is_dir($path))
115
  @unlink( $cache_path . 'meta' );
116
  @unlink( $cache_path . 'supercache' );
117
  wp_clear_scheduled_hook( 'wp_cache_check_site_hook' );
 
 
118
  wp_cache_disable_plugin();
119
  }
120
+ register_deactivation_hook( __FILE__, 'wpsupercache_deactivate' );
121
 
122
  function wpsupercache_activate() {
123
  }
154
 
155
  function wp_cache_manager_error_checks() {
156
  global $wpmu_version, $wp_cache_debug, $wp_cache_cron_check, $cache_enabled, $super_cache_enabled, $wp_cache_config_file, $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes, $wp_cache_mobile_browsers, $wp_cache_mobile_enabled, $wp_cache_mod_rewrite, $cache_path;
 
157
 
158
  if ( !wpsupercache_site_admin() )
159
  return false;
160
+
161
+ if ( 1 == ini_get( 'safe_mode' ) || "on" == strtolower( ini_get( 'safe_mode' ) ) ) {
162
  echo '<div id="message" class="updated fade"><h3>' . __( 'Warning! PHP Safe Mode Enabled!', 'wp-super-cache' ) . '</h3><p>' .
163
  __( 'You may experience problems running this plugin because SAFE MODE is enabled.', 'wp-super-cache' ) . ' ';
164
+
165
+
166
  if( !ini_get( 'safe_mode_gid' ) ) {
167
  _e( 'Your server is set up to check the owner of PHP scripts before allowing them to read and write files.', 'wp-super-cache' ) . " ";
168
  printf( __( 'You or an administrator may be able to make it work by changing the group owner of the plugin scripts to match that of the web server user. The group owner of the %s/cache/ directory must also be changed. See the <a href="http://php.net/features.safe-mode">safe mode manual page</a> for further details.', 'wp-super-cache' ), WP_CONTENT_DIR );
188
  if( substr( $ip, 0, 3 ) == '127' || substr( $ip, 0, 7 ) == '192.168' ) {
189
  ?><div id="message" class="updated fade"><h3><?php printf( __( 'Warning! Your hostname "%s" resolves to %s', 'wp-super-cache' ), $hostname, $ip ); ?></h3>
190
  <p><?php printf( __( 'Your server thinks your hostname resolves to %s. Some services such as garbage collection by this plugin, and WordPress scheduled posts may not operate correctly.', 'wp-super-cache' ), $ip ); ?></p>
191
+ <p><?php printf( __( 'Please see entry 16 in the <a href="%s">Troubleshooting section</a> of the readme.txt', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/faq/' ); ?></p>
192
  </div>
193
  <?php
194
  return false;
202
  if( $cron[ 'response' ][ 'code' ] == '404' ) {
203
  ?><div id="message" class="updated fade"><h3>Warning! wp-cron.php not found!</h3>
204
  <p><?php _e( 'Unfortunately WordPress cannot find the file wp-cron.php. This script is required for the the correct operation of garbage collection by this plugin, WordPress scheduled posts as well as other critical activities.', 'wp-super-cache' ); ?></p>
205
+ <p><?php printf( __( 'Please see entry 16 in the <a href="%s">Troubleshooting section</a> of the readme.txt', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/faq/' ); ?></p>
206
  </div>
207
  <?php
208
+ return true;
209
  } else {
210
  wp_cache_replace_line('^ *\$wp_cache_cron_check', "\$wp_cache_cron_check = 1;", $wp_cache_config_file);
211
  }
224
  return false;
225
  }
226
 
227
+ if ( 1 == ini_get( 'zlib.output_compression' ) || "on" == strtolower( ini_get( 'zlib.output_compression' ) ) ) {
228
  ?><div id="message" class="updated fade"><h3><?php _e( 'Zlib Output Compression Enabled!', 'wp-super-cache' ); ?></h3>
229
  <p><?php _e( 'PHP is compressing the data sent to the visitors of your site. Disabling this is recommended as the plugin caches the compressed output once instead of compressing the same page over and over again. Also see #21 in the Troubleshooting section. See <a href="http://php.net/manual/en/zlib.configuration.php">this page</a> for instructions on modifying your php.ini.', 'wp-super-cache' ); ?></p></div><?php
230
  }
235
  }
236
 
237
  if( !is_writeable_ACLSafe( $wp_cache_config_file ) ) {
238
+ define( "SUBMITDISABLED", 'disabled style="color: #aaa" ' );
 
239
  ?><div id="message" class="updated fade"><h3><?php _e( 'Read Only Mode. Configuration cannot be changed.', 'wp-super-cache' ); ?></h3>
240
  <p><?php printf( __( 'The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> and cannot be modified. That file must be writeable by the webserver to make any changes.', 'wp-super-cache' ), WP_CONTENT_DIR ); ?>
241
  <?php _e( 'A simple way of doing that is by changing the permissions temporarily using the CHMOD command or through your ftp client. Make sure it&#8217;s globally writeable and it should be fine.', 'wp-super-cache' ); ?></p>
243
  <?php _e( 'Writeable:', 'wp-super-cache' ); ?> <code>chmod 666 <?php echo WP_CONTENT_DIR; ?>/wp-cache-config.php</code>
244
  <?php _e( 'Readonly:', 'wp-super-cache' ); ?> <code>chmod 644 <?php echo WP_CONTENT_DIR; ?>/wp-cache-config.php</code></p>
245
  </div><?php
246
+ } else {
247
  define( "SUBMITDISABLED", ' ' );
248
  }
249
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
250
  // Server could be running as the owner of the wp-content directory. Therefore, if it's
251
  // writable, issue a warning only if the permissions aren't 755.
252
+ if( is_writeable_ACLSafe( WP_CONTENT_DIR . '/' ) ) {
 
 
 
 
 
 
253
  $wp_content_stat = stat(WP_CONTENT_DIR . '/');
254
  $wp_content_mode = decoct( $wp_content_stat[ 'mode' ] & 0777 );
255
  if( substr( $wp_content_mode, -2 ) == '77' ) {
256
  ?><div id="message" class="updated fade"><h3><?php printf( __( 'Warning! %s is writeable!', 'wp-super-cache' ), WP_CONTENT_DIR ); ?></h3>
257
  <p><?php printf( __( 'You should change the permissions on %s and make it more restrictive. Use your ftp client, or the following command to fix things:', 'wp-super-cache' ), WP_CONTENT_DIR ); ?> <code>chmod 755 <?php echo WP_CONTENT_DIR; ?>/</code></p>
258
+ <p><?php _e( '<a href="http://codex.wordpress.org/Changing_File_Permissions">This page</a> explains how to change file permissions.', 'wp-super-cache' ); ?></p></div>
 
 
 
 
 
 
 
 
259
  <?php
260
  }
261
  }
262
 
263
+ if ( function_exists( "is_main_site" ) && true == is_main_site() || function_exists( 'is_main_blog' ) && true == is_main_blog() ) {
264
  $home_path = trailingslashit( get_home_path() );
265
  $scrules = implode( "\n", extract_from_markers( $home_path.'.htaccess', 'WPSuperCache' ) );
266
  if ( $cache_enabled && $wp_cache_mod_rewrite && !$wp_cache_mobile_enabled && strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) ) ) {
267
  echo '<div id="message" class="updated fade"><h3>' . __( 'Mobile rewrite rules detected', 'wp-super-cache' ) . "</h3>";
268
  echo "<p>" . __( 'For best performance you should enable "Mobile device support" or delete the mobile rewrite rules in your .htaccess. Look for the 2 lines with the text "2.0\ MMP|240x320" and delete those.', 'wp-super-cache' ) . "</p><p>" . __( 'This will have no affect on ordinary users but mobile users will see uncached pages.', 'wp-super-cache' ) . "</p></div>";
269
+ } elseif ( $wp_cache_mod_rewrite && $cache_enabled && $wp_cache_mobile_enabled && $scrules != '' && (
270
+ false === strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) ) ||
271
+ false === strpos( $scrules, addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) ) )
272
  ) {
273
  ?>
274
  <div id="message" class="updated fade"><h3><?php _e( 'Rewrite rules must be updated', 'wp-super-cache' ); ?></h3>
277
  <ol><li> <?php _e( 'Set the plugin to legacy mode and enable mobile support.', 'wp-super-cache' ); ?></li>
278
  <li> <?php _e( 'Scroll down the Advanced Settings page and click the <strong>Update Mod_Rewrite Rules</strong> button.', 'wp-super-cache' ); ?></li>
279
  <li> <?php printf( __( 'Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin regenerate them by reloading this page.', 'wp-super-cache' ), $home_path ); ?></li>
280
+ <li> <?php printf( __( 'Add the rules yourself. Edit %s.htaccess and find the block of code enclosed by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</code>. There are two sections that look very similar. Just below the line <code>%%{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$</code> add these lines: (do it twice, once for each section)', 'wp-super-cache' ), $home_path ); ?></p>
281
+ <div style='padding: 2px; margin: 2px; border: 1px solid #333; width:400px; overflow: scroll'><pre><?php echo "RewriteCond %{HTTP_user_agent} !^.*(" . addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) . ").*\nRewriteCond %{HTTP_user_agent} !^(" . addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) . ").*"; ?></pre></div></li></ol></div><?php
282
  }
283
 
284
  if ( $cache_enabled && $super_cache_enabled && $wp_cache_mod_rewrite && $scrules == '' ) {
308
  }
309
  }
310
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
  return true;
312
 
313
  }
314
  add_filter( 'wp_super_cache_error_checking', 'wp_cache_manager_error_checks' );
315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
  function wp_cache_manager_updates() {
317
+ global $wp_cache_mobile_enabled, $wp_supercache_cache_list, $wp_cache_config_file, $wp_cache_hello_world, $wp_cache_clear_on_post_edit, $cache_rebuild_files, $wp_cache_mutex_disabled, $wp_cache_not_logged_in, $wp_cache_make_known_anon, $cache_path, $wp_cache_object_cache, $_wp_using_ext_object_cache, $wp_cache_refresh_single_only, $cache_compression, $wp_cache_mod_rewrite, $wp_supercache_304, $wp_super_cache_late_init, $wp_cache_front_page_checks, $cache_page_secret;
 
318
 
319
  if ( !wpsupercache_site_admin() )
320
  return false;
324
  wp_cache_replace_line('^ *\$cache_page_secret', "\$cache_page_secret = '" . $cache_page_secret . "';", $wp_cache_config_file);
325
  }
326
 
327
+ // Delete cache for a specific page
328
+ if ( isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'delete' && ( isset( $_GET[ '_wpnonce' ] ) ? wp_verify_nonce( $_REQUEST[ '_wpnonce' ], 'delete-cache' ) : false ) ) {
329
+ $path = get_supercache_dir() . preg_replace( '/:.*$/', '', $_GET[ 'path' ] );
330
+ $files = get_all_supercache_filenames( $path );
331
+ foreach( $files as $cache_file )
332
+ prune_super_cache( $path . $cache_file, true );
333
+
334
+ wp_redirect( preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', $_GET[ 'path' ] ) );
335
+ die();
336
+ }
337
+
338
  $valid_nonce = isset($_REQUEST['_wpnonce']) ? wp_verify_nonce($_REQUEST['_wpnonce'], 'wp-cache') : false;
339
  if ( $valid_nonce == false )
340
  return false;
347
  $_POST[ 'super_cache_enabled' ] = 2; // PHP
348
  $_POST[ 'cache_rebuild_files' ] = 1;
349
  unset( $_POST[ 'cache_compression' ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  } else {
351
  unset( $_POST[ 'wp_cache_status' ] );
352
  $_POST[ 'super_cache_enabled' ] = 0;
 
 
 
353
  }
354
  }
355
 
362
  }
363
  wp_cache_replace_line('^ *\$wp_super_cache_late_init', "\$wp_super_cache_late_init = " . $wp_super_cache_late_init . ";", $wp_cache_config_file);
364
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
365
  if( isset( $_POST[ 'wp_supercache_304' ] ) ) {
366
  $wp_supercache_304 = 1;
367
  } else {
369
  }
370
  wp_cache_replace_line('^ *\$wp_supercache_304', "\$wp_supercache_304 = " . $wp_supercache_304 . ";", $wp_cache_config_file);
371
 
 
 
 
 
 
 
 
372
  if( isset( $_POST[ 'wp_cache_mobile_enabled' ] ) ) {
373
  $wp_cache_mobile_enabled = 1;
374
  } else {
383
  }
384
  wp_cache_replace_line('^ *\$wp_cache_front_page_checks', "\$wp_cache_front_page_checks = " . $wp_cache_front_page_checks . ";", $wp_cache_config_file);
385
 
386
+ $wp_supercache_cache_list = $_POST[ 'wp_supercache_cache_list' ] == 1 ? 1 : 0;
 
 
 
 
387
  wp_cache_replace_line('^ *\$wp_supercache_cache_list', "\$wp_supercache_cache_list = " . $wp_supercache_cache_list . ";", $wp_cache_config_file);
388
 
389
  if ( isset( $_POST[ 'wp_cache_status' ] ) ) {
470
  $wp_cache_refresh_single_only = 0;
471
  }
472
  wp_cache_replace_line('^ *\$wp_cache_refresh_single_only', "\$wp_cache_refresh_single_only = '" . $wp_cache_refresh_single_only . "';", $wp_cache_config_file);
473
+
474
  if ( defined( 'WPSC_DISABLE_COMPRESSION' ) ) {
475
  $cache_compression = 0;
476
  wp_cache_replace_line('^ *\$cache_compression', "\$cache_compression = " . $cache_compression . ";", $wp_cache_config_file);
480
  } else {
481
  $new_cache_compression = 0;
482
  }
483
+ if ( 1 == ini_get( 'zlib.output_compression' ) || "on" == strtolower( ini_get( 'zlib.output_compression' ) ) ) {
484
  echo '<div id="message" class="updated fade">' . __( "<strong>Warning!</strong> You attempted to enable compression but <code>zlib.output_compression</code> is enabled. See #21 in the Troubleshooting section of the readme file.", 'wp-super-cache' ) . '</div>';
485
  } else {
486
  if ( $new_cache_compression != $cache_compression ) {
499
 
500
  function wp_cache_manager() {
501
  global $wp_cache_config_file, $valid_nonce, $supercachedir, $cache_path, $cache_enabled, $cache_compression, $super_cache_enabled, $wp_cache_hello_world;
502
+ global $wp_cache_clear_on_post_edit, $cache_rebuild_files, $wp_cache_mutex_disabled, $wp_cache_mobile_enabled, $wp_cache_mobile_browsers;
503
  global $wp_cache_cron_check, $wp_cache_debug, $wp_cache_not_logged_in, $wp_cache_make_known_anon, $wp_supercache_cache_list, $cache_page_secret, $cache_home_path;
504
  global $wp_super_cache_front_page_check, $wp_cache_object_cache, $_wp_using_ext_object_cache, $wp_cache_refresh_single_only, $wp_cache_mobile_prefixes;
505
+ global $wpmu_version, $cache_max_time, $wp_cache_mod_rewrite, $wp_supercache_304, $wp_super_cache_late_init, $wp_cache_front_page_checks;
506
 
507
  if ( !wpsupercache_site_admin() )
508
  return false;
523
  }
524
  $wp_cache_mobile_browsers = apply_filters( 'cached_mobile_browsers', $wp_cache_mobile_browsers ); // Allow mobile plugins access to modify the mobile UA list
525
  $wp_cache_mobile_prefixes = apply_filters( 'cached_mobile_prefixes', $wp_cache_mobile_prefixes ); // Allow mobile plugins access to modify the mobile UA prefix list
 
 
 
 
526
  $mobile_groups = apply_filters( 'cached_mobile_groups', array() ); // Group mobile user agents by capabilities. Lump them all together by default
527
  // mobile_groups = array( 'apple' => array( 'ipod', 'iphone' ), 'nokia' => array( 'nokia5800', 'symbianos' ) );
528
 
529
  if ( false == apply_filters( 'wp_super_cache_error_checking', true ) )
530
  return false;
531
 
532
+ $supercachedir = $cache_path . 'supercache/' . preg_replace('/:.*$/', '', $_SERVER["HTTP_HOST"]);
 
533
  if( get_option( 'gzipcompression' ) == 1 )
534
  update_option( 'gzipcompression', 0 );
535
  if( !isset( $cache_rebuild_files ) )
581
  $wp_cache_mod_rewrite = 1;
582
  }
583
 
584
+ if ( !isset( $_GET[ 'tab' ] ) && $cache_enabled && ( $wp_cache_mod_rewrite || $super_cache_enabled == false ) ) {
 
 
 
585
  $_GET[ 'tab' ] = 'settings';
586
  echo '<div id="message" class="updated fade"><p>' . __( 'Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced Settings Page by default.', 'wp-super-cache' ) . '</p></div>';
587
  }
589
 
590
  if ( isset( $wp_super_cache_front_page_check ) && $wp_super_cache_front_page_check == 1 && !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
591
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
592
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
593
  }
594
 
595
  if(isset($_REQUEST['wp_restore_config']) && $valid_nonce) {
603
  wp_cache_replace_line('^ *\$wp_cache_slash_check', "\$wp_cache_slash_check = 0;", $wp_cache_config_file);
604
  }
605
  $home_path = parse_url( site_url() );
606
+ $home_path = trailingslashit( $home_path[ 'path' ] );
 
 
607
  if ( "$home_path" != "$wp_cache_home_path" )
608
  wp_cache_replace_line('^ *\$wp_cache_home_path', "\$wp_cache_home_path = '$home_path';", $wp_cache_config_file);
609
+
610
 
611
  if( $wp_cache_mobile_enabled == 1 ) {
612
  update_cached_mobile_ua_list( $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes, $mobile_groups );
627
  wp_die( __( 'Caching must be enabled to use this feature', 'wp-super-cache' ) );
628
  echo '<a name="preload"></a>';
629
  if ( $super_cache_enabled == true && false == defined( 'DISABLESUPERCACHEPRELOADING' ) ) {
630
+ global $wp_cache_preload_interval, $wp_cache_preload_on, $wp_cache_preload_email_me, $wp_cache_preload_email_volume, $wp_cache_preload_posts, $wpdb;
631
  $count = $wpdb->get_var( "SELECT count(*) FROM {$wpdb->posts} WHERE post_status = 'publish'" );
632
  if ( $count > 1000 ) {
633
  $min_refresh_interval = 720;
662
  wp_unschedule_event( $next_preload, 'wp_cache_full_preload_hook' );
663
  if ( $wp_cache_preload_interval == 0 ) {
664
  echo "<p><strong>" . __( 'Scheduled preloading of cache cancelled.', 'wp-super-cache' ) . "</strong></p>";
665
+ }
666
  }
667
  if ( $_POST[ 'custom_preload_interval' ] != 0 )
668
  wp_schedule_single_event( time() + ( $_POST[ 'custom_preload_interval' ] * 60 ), 'wp_cache_full_preload_hook' );
681
  $wp_cache_preload_email_volume = 'medium';
682
  }
683
  wp_cache_replace_line('^ *\$wp_cache_preload_email_volume', "\$wp_cache_preload_email_volume = '$wp_cache_preload_email_volume';", $wp_cache_config_file);
 
 
 
 
 
 
684
  if ( isset( $_POST[ 'preload_on' ] ) ) {
685
  $wp_cache_preload_on = 1;
686
  } else {
740
  echo '<input type="checkbox" name="preload_on" value="1" ';
741
  echo $wp_cache_preload_on == 1 ? 'checked=1' : '';
742
  echo ' /> ' . __( 'Preload mode (garbage collection only on legacy cache files. Recommended.)', 'wp-super-cache' ) . '<br />';
 
 
 
743
  echo '<input type="checkbox" name="preload_email_me" value="1" ';
744
  echo $wp_cache_preload_email_me == 1 ? 'checked=1' : '';
745
  echo ' /> ' . __( 'Send me status emails when files are refreshed.', 'wp-super-cache' ) . '<br />';
771
  echo "<p>" . sprintf( __( "<strong>Page last cached:</strong> %s", 'wp-super-cache' ), $url ) . "</p>";
772
  }
773
  }
774
+ echo '<div class="submit"><input type="submit" name="preload" value="' . __( 'Update Settings', 'wp-super-cache' ) . '" />&nbsp;<input type="submit" name="preload" value="' . __( 'Preload Cache Now', 'wp-super-cache' ) . '" />';
775
  if ( $currently_preloading ) {
776
+ echo '&nbsp;<input type="submit" name="preload" value="' . __( 'Cancel Cache Preload', 'wp-super-cache' ) . '" />';
777
  }
778
  echo '</div>';
779
  wp_nonce_field('wp-cache');
791
  case 'settings':
792
  if ( isset( $wp_cache_front_page_checks ) == false )
793
  $wp_cache_front_page_checks = true;
794
+ echo '<form name="wp_manager" action="' . add_query_arg( array( 'page' => 'wpsupercache', 'tab' => 'settings' ) ) . '" method="post">';
795
  wp_nonce_field('wp-cache');
796
  echo '<input type="hidden" name="action" value="scupdates" />';
797
  ?><table class="form-table">
801
  <fieldset>
802
  <legend class="hidden">Caching</legend>
803
  <label><input type='checkbox' name='wp_cache_status' value='all' <?php if ( $cache_enabled == true ) { echo 'checked=checked'; } ?>> <?php _e( 'Cache hits to this website for quick access.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br /><br />
804
+ <label><input type='radio' name='super_cache_enabled' <?php if( $super_cache_enabled ) echo "checked"; ?> value='1'> <?php printf( __( 'Use mod_rewrite to serve cache files.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wordpress-mobile-edition/' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
805
+ <label><input type='radio' name='super_cache_enabled' <?php if( $wp_cache_mod_rewrite == 0 ) echo "checked"; ?> value='2'> <?php printf( __( 'Use PHP to serve cache files.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wordpress-mobile-edition/' ); ?></label><br />
806
  <label><input type='radio' name='super_cache_enabled' <?php if( $super_cache_enabled == false ) echo "checked"; ?> value='0'> <?php _e( 'Legacy page caching.', 'wp-super-cache' ); ?></label><br />
807
  <em><?php _e( 'Mod_rewrite is fastest, PHP is almost as fast and easier to get working, while legacy caching is slower again, but more flexible and also easy to get working. New users should use PHP caching.', 'wp-super-cache' ); ?></em><br />
808
  </legend>
820
  <?php } else { ?>
821
  <label><input type='checkbox' name='cache_compression' <?php if( $cache_compression ) echo "checked"; ?> value='1'> <?php _e( 'Compress pages so they&#8217;re served more quickly to visitors.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
822
  <em><?php _e( 'Compression is disabled by default because some hosts have problems with compressed files. Switching it on and off clears the cache.', 'wp-super-cache' ); ?></em><br />
823
+ <?php } ?>
824
+ <?php } ?>
825
+ <?php if ( 0 == $wp_cache_mod_rewrite ) { ?>
826
+ <label><input type='checkbox' name='wp_supercache_304' <?php if( $wp_supercache_304 ) echo "checked"; ?> value='1'> <?php _e( '304 Not Modified browser caching. Indicate when a page has not been modified since last requested.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
827
+ <em><?php _e( '304 support is disabled by default because in the past GoDaddy had problems with some of the headers used.', 'wp-super-cache' ); ?></em><br />
828
+ <?php } ?>
829
+ <label><input type='checkbox' name='wp_cache_not_logged_in' <?php if( $wp_cache_not_logged_in ) echo "checked"; ?> value='1'> <?php _e( 'Don&#8217;t cache pages for <acronym title="Logged in users and those that comment">known users</acronym>.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
 
 
 
 
 
 
 
 
 
830
  <label><input type='checkbox' name='wp_cache_make_known_anon' <?php if( $wp_cache_make_known_anon ) echo "checked"; ?> value='1'> <?php _e( 'Make known users anonymous so they&#8217;re served supercached static files.', 'wp-super-cache' ); ?></label><br />
831
  <label><input type='checkbox' name='cache_rebuild_files' <?php if( $cache_rebuild_files ) echo "checked"; ?> value='1'> <?php _e( 'Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated.', 'wp-super-cache' ); echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?></label><br />
832
  <label><input type='checkbox' name='wp_cache_hello_world' <?php if( $wp_cache_hello_world ) echo "checked"; ?> value='1'> <?php printf( __( 'Proudly tell the world your server is <a href="%s">Stephen Fry proof</a>! (places a message in your blog&#8217;s footer)', 'wp-super-cache' ), 'https://twitter.com/#!/HibbsLupusTrust/statuses/136429993059291136' ); ?></label><br />
839
  <td>
840
  <fieldset>
841
  <legend class="hidden">Advanced</legend>
842
+ <label><input type='checkbox' name='wp_cache_mobile_enabled' <?php if( $wp_cache_mobile_enabled ) echo "checked"; ?> value='1'> <?php _e( 'Mobile device support. (External plugin or theme required. See the <a href="http://wordpress.org/extend/plugins/wp-super-cache/faq/">FAQ</a> for further details.)', 'wp-super-cache' ); ?></label><br />
 
 
 
 
 
843
  <label><input type='checkbox' name='wp_cache_clear_on_post_edit' <?php if( $wp_cache_clear_on_post_edit ) echo "checked"; ?> value='1'> <?php _e( 'Clear all cache files when a post or page is published or updated.', 'wp-super-cache' ); ?></label><br />
844
  <label><input type='checkbox' name='wp_cache_front_page_checks' <?php if( $wp_cache_front_page_checks ) echo "checked"; ?> value='1'> <?php _e( 'Extra homepage checks. (Very occasionally stops homepage caching)', 'wp-super-cache' ); ?></label><?php echo " <em>(" . __( "Recommended", "wp-super-cache" ) . ")</em>"; ?><br />
845
  <label><input type='checkbox' name='wp_cache_refresh_single_only' <?php if( $wp_cache_refresh_single_only ) echo "checked"; ?> value='1'> <?php _e( 'Only refresh current page when comments made.', 'wp-super-cache' ); ?></label><br />
848
  <label><input type='checkbox' name='wp_cache_mutex_disabled' <?php if( !$wp_cache_mutex_disabled ) echo "checked"; ?> value='0'> <?php _e( 'Coarse file locking. You probably don&#8217;t need this but it may help if your server is underpowered. Warning! <em>May cause your server to lock up in very rare cases!</em>', 'wp-super-cache' ); ?></label><br />
849
  <?php } ?>
850
  <label><input type='checkbox' name='wp_super_cache_late_init' <?php if( $wp_super_cache_late_init ) echo "checked"; ?> value='1'> <?php _e( 'Late init. Display cached files after WordPress has loaded. Most useful in legacy mode.', 'wp-super-cache' ); ?></label><br />
851
+ <?php if ( $_wp_using_ext_object_cache ) {
852
+ ?><label><input type='checkbox' name='wp_cache_object_cache' <?php if( $wp_cache_object_cache ) echo "checked"; ?> value='1'> <?php echo __( 'Use object cache to store cached files.', 'wp-super-cache' ) . ' ' . __( '(Experimental)', 'wp-super-cache' ); ?></label><?php
853
  }?>
854
+ <?php printf( __( '<strong>DO NOT CACHE PAGE</strong> secret key: <a href="%s">%s</a>', 'wp-super-cache' ), trailingslashit( get_bloginfo( 'wpurl' ) ) . "?donotcachepage={$cache_page_secret}", $cache_page_secret ); ?>
855
  </legend>
856
  </fieldset>
857
  </td>
862
  <li><?php _e( 'Uninstall this plugin on the plugins page. It will automatically clean up after itself. If manual intervention is required then simple instructions are provided.', 'wp-super-cache' ); ?></li>
863
  <li><?php printf( __( 'If uninstalling this plugin, make sure the directory <em>%s</em> is writeable by the webserver so the files <em>advanced-cache.php</em> and <em>cache-config.php</em> can be deleted automatically. (Making sure those files are writeable too is probably a good idea!)', 'wp-super-cache' ), WP_CONTENT_DIR ); ?></li>
864
  <li><?php printf( __( 'Please see the <a href="%1$s/wp-super-cache/readme.txt">readme.txt</a> for instructions on uninstalling this script. Look for the heading, "How to uninstall WP Super Cache".', 'wp-super-cache' ), WP_PLUGIN_URL ); ?></li><?php
865
+ echo "<li><em>" . sprintf( __( 'Need help? Check the <a href="%1$s">Super Cache readme file</a>. It includes installation documentation, a FAQ and Troubleshooting tips. The <a href="%2$s">support forum</a> is also available. Your question may already have been answered.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/', 'http://wordpress.org/tags/wp-super-cache?forum_id=10' ) . "</em></li>";
866
  echo "</ol>";
867
+
868
+ echo "<div class='submit'><input class='button-primary' type='submit' " . SUBMITDISABLED . " value='" . __( 'Update Status', 'wp-super-cache' ) . " &raquo;' /></div>";
869
  wp_nonce_field('wp-cache');
870
  ?> </form> <?php
871
  wsc_mod_rewrite();
912
  echo "<p><strong>" . __( 'Notice: PHP caching enabled but Supercache mod_rewrite rules detected. Cached files will be served using those rules. If your site is working ok please ignore this message or you can edit the .htaccess file in the root of your install and remove the SuperCache rules.', 'wp-super-cache' ) . '</strong></p>';
913
  }
914
  }
915
+ echo "<div class='submit'><input class='button-primary' type='submit' " . SUBMITDISABLED . " value='" . __( 'Update Status', 'wp-super-cache' ) . " &raquo;' /></div></form>";
916
  if ( $cache_enabled ) {
917
  echo "<h3>" . __( 'Cache Tester', 'wp-super-cache' ) . "</h3>";
918
  echo '<p>' . __( 'Test your cached website by clicking the test button below.', 'wp-super-cache' ) . '</p>';
974
  }
975
  }
976
 
977
+ if ( preg_match( '/(Cached page generated by WP-Super-Cache on) ([0-9]*-[0-9]*-[0-9]* [0-9]*:[0-9]*:[0-9]*)/', $page[ 'body' ], $matches1 ) &&
978
  preg_match( '/(Cached page generated by WP-Super-Cache on) ([0-9]*-[0-9]*-[0-9]* [0-9]*:[0-9]*:[0-9]*)/', $page2[ 'body' ], $matches2 ) && $matches1[2] == $matches2[2] ) {
979
  echo '<p>' . sprintf( __( 'Page 1: %s', 'wp-super-cache' ), $matches1[ 2 ] ) . '</p>';
980
  echo '<p>' . sprintf( __( 'Page 2: %s', 'wp-super-cache' ), $matches2[ 2 ] ) . '</p>';
991
  }
992
  echo '<form name="cache_tester" action="" method="post">';
993
  echo '<input type="hidden" name="action" value="test" />';
994
+ if ( 'on' == strtolower( $_SERVER['HTTPS' ] ) )
995
  echo "<input type='checkbox' name='httponly' checked='checked' value='1' /> " . __( 'Send non-secure (non https) request for homepage', 'wp-super-cache' );
996
+ echo '<div class="submit"><input type="submit" name="test" value="' . __( 'Test Cache', 'wp-super-cache' ) . '" /></div>';
997
  wp_nonce_field('wp-cache');
998
  echo '</form>';
999
  }
1001
  echo "<p>" . __( "Cached pages are stored on your server as html and PHP files. If you need to delete them use the button below.", 'wp-super-cache' ) . "</p>";
1002
  echo '<form name="wp_cache_content_delete" action="?page=wpsupercache&tab=contents" method="post">';
1003
  echo '<input type="hidden" name="wp_delete_cache" />';
1004
+ echo '<div class="submit" style="float:left;margin-left:10px"><input id="deletepost" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache', 'wp-super-cache' ) . ' &raquo;" /></div>';
1005
  wp_nonce_field('wp-cache');
1006
  echo "</form>\n";
1007
 
1008
+ if ( defined( 'WP_ALLOW_MULTISITE' ) && wpsupercache_site_admin() ) {
1009
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
1010
  echo '<input type="hidden" name="wp_delete_all_cache" />';
1011
+ echo '<div class="submit" style="float:left;margin-left:10px"><input id="deleteallpost" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache On All Blogs', 'wp-super-cache' ) . ' &raquo;" />';
1012
  wp_nonce_field('wp-cache');
1013
  echo "</form><br />\n";
1014
  }
1015
  ?>
1016
+ <h3><?php _e( 'Recommended Links and Plugins', 'wp-super-cache' ); ?></h3>
1017
  <p><?php _e( 'Caching is only one part of making a website faster. Here are some other plugins that will help:', 'wp-super-cache' ); ?></p>
1018
+ <ol><li><?php printf( __( '<a href="%s">WP Minify</a> reduces the number of files served by your web server by joining Javascript and CSS files together. Alternatively you can use <a href="%s">WPSCMin</a>, a Supercache plugin that minifies cached pages. It does not however join JS/CSS files together.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-minify/', 'http://lyncd.com/wpscmin/' ); ?></li>
1019
  <li><?php printf( __( '<a href="%s">Yahoo! Yslow</a> is an extension for the Firefox add-on Firebug. It analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. Also try the performance tools online at <a href="%s">GTMetrix</a>.', 'wp-super-cache' ), 'http://developer.yahoo.com/yslow/', 'http://gtmetrix.com/' ); ?></li>
1020
+ <li><?php printf( __( '<a href="%s">Use Google Libraries</a> allows you to load some commonly used Javascript libraries from Google webservers. Ironically it may reduce your Yslow score.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/use-google-libraries/' ); ?></li>
1021
+ <li><?php printf( __( 'The <a href="%1$s">CDN Sync Tool</a> plugin will help upload files to Amazon S3/Cloudfront if you would rather not depend on origin pull. See the <a href="%2$s">plugin support forum</a> if you have any queries about this plugin.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/cdn-sync-tool/', 'http://wordpress.org/tags/cdn-sync-tool?forum_id=10' ); ?></li>
1022
  <li><?php printf( __( '<strong>Advanced users only:</strong> <a href="%s">Speed up your site with Caching and cache-control</a> explains how to make your site more cacheable with .htaccess rules.', 'wp-super-cache' ), 'http://www.askapache.com/htaccess/speed-up-your-site-with-caching-and-cache-control.html' ); ?></li>
1023
+ <li><?php printf( __( '<strong>Advanced users only:</strong> Install an object cache. Choose from <a href="%s">Memcached</a>, <a href="%s">XCache</a>, <a href="%s">eAcccelerator</a> and others.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/memcached/', 'http://neosmart.net/dl.php?id=12', 'http://neosmart.net/dl.php?id=13' ); ?></li>
 
1024
  </ol>
1025
+
1026
  <?php
1027
  break;
1028
  }
1031
  </fieldset>
1032
  </td><td valign='top' style='width: 300px'>
1033
  <div style='background: #ffc; border: 1px solid #333; margin: 2px; padding: 5px'>
1034
+ <h3 align='center'><?php _e( 'Make WordPress Faster', 'wp-super-cache' ); ?></h3>
1035
+ <p><?php printf( __( '%1$s is maintained and developed by %2$s with contributions from many others.', 'wp-super-cache' ), '<a href="http://ocaoimh.ie/wp-super-cache/?r=supercache">WP Super Cache</a>', '<a href="http://ocaoimh.ie/?r=supercache">Donncha O Caoimh</a>' ); ?></p>
1036
+ <p><?php printf( __( 'He blogs at %1$s and posts photos at %2$s.', 'wp-super-cache' ), '<a href="http://ocaoimh.ie/?r=supercache">Holy Shmoly</a>', '<a href="http://inphotos.org/?r=supercache">In Photos.org</a>' ); ?></p>
1037
+ <p><?php printf( __( 'Please say hi to him on %s too!', 'wp-super-cache' ), '<a href="http://twitter.com/donncha/">Twitter</a>' ); ?></p>
1038
  <h3 align='center'><?php _e( 'Need Help?', 'wp-super-cache' ); ?></h3>
1039
  <ol>
1040
+ <li><?php printf( __( '<a href="%1$s">Installation Help</a>', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/installation/' ); ?></li>
1041
+ <li><?php printf( __( '<a href="%1$s">Frequently Asked Questions</a>', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/faq/' ); ?></li>
 
1042
  <li><?php printf( __( '<a href="%1$s">Support Forum</a>', 'wp-super-cache' ), 'http://wordpress.org/tags/wp-super-cache' ); ?></li>
 
1043
  </ol>
1044
  <h3 align='center'><?php _e( 'Rate This Plugin!', 'wp-super-cache' ); ?></h3>
1045
+ <p><?php printf( __( 'Please <a href="%s">rate</a> this plugin and tell me if it works for you or not. It really helps development.', 'wp-super-cache' ), 'http://wordpress.org/extend/plugins/wp-super-cache/' ); ?></p>
1046
 
1047
+ <?php
1048
+ if ( isset( $wp_supercache_cache_list ) && $wp_supercache_cache_list ) {
1049
  $start_date = get_option( 'wpsupercache_start' );
1050
  if ( !$start_date ) {
1051
  $start_date = time();
1060
  }
1061
  ?></ol>
1062
  <small><?php _e( '(may not always be accurate on busy sites)', 'wp-super-cache' ); ?></small>
1063
+ </p><?php
1064
+ } else {
1065
+ $start_date = get_option( 'wpsupercache_start' );
1066
+ if ( $start_date ) {
1067
+ update_option( 'wpsupercache_start', $start_date );
1068
  update_option( 'wpsupercache_count', 0 );
1069
+ }
1070
  }
1071
  ?>
1072
  </div>
1080
  function wpsc_plugins_tab() {
1081
  echo '<p>' . __( 'Cache plugins are PHP scripts that live in a plugins folder inside the wp-super-cache folder. They are loaded when Supercache loads, much sooner than regular WordPress plugins.', 'wp-super-cache' ) . '</p>';
1082
  echo '<p>' . __( 'This is strictly an advanced feature only and knowledge of both PHP and WordPress actions is required to create them.', 'wp-super-cache' ) . '</p>';
 
1083
  ob_start();
1084
  if( defined( 'WP_CACHE' ) ) {
1085
  if( function_exists( 'do_cacheaction' ) ) {
1127
  function wsc_mod_rewrite() {
1128
  global $cache_enabled, $super_cache_enabled, $valid_nonce, $cache_path, $wp_cache_mod_rewrite, $wpmu_version;
1129
 
 
 
 
1130
  if ( !$wp_cache_mod_rewrite )
1131
  return false;
1132
 
1133
  if ( isset( $wpmu_version ) || function_exists( 'is_multisite' ) && is_multisite() ) {
1134
  if ( false == wpsupercache_site_admin() )
1135
  return false;
1136
+ if ( function_exists( "is_main_site" ) && false == is_main_site() || function_exists( 'is_main_blog' ) && false == is_main_blog() ) {
1137
  global $current_site;
1138
  $protocol = ( 'on' == strtolower( $_SERVER['HTTPS' ] ) ) ? 'https://' : 'http://';
1139
  if ( isset( $wpmu_version ) ) {
1146
  }
1147
  }
1148
 
1149
+ if ( function_exists( "is_main_site" ) && false == is_main_site() || function_exists( 'is_main_blog' ) && false == is_main_blog() )
1150
  return true;
1151
  ?>
1152
+ <a name="modrewrite"></a><fieldset class="options">
1153
  <h3><?php _e( 'Mod Rewrite Rules', 'wp-super-cache' ); ?></h3><?php
1154
 
1155
  extract( wpsc_get_htaccess_info() );
1176
  } elseif( strpos( $scrules, 'supercache' ) || strpos( $wprules, 'supercache' ) ) { // only write the rules once
1177
  $dohtaccess = false;
1178
  }
1179
+ if( $dohtaccess && !$_POST[ 'updatehtaccess' ] ) {
1180
  if ( $scrules == '' ) {
1181
  wpsc_update_htaccess_form( 0 ); // don't hide the update htaccess form
1182
  } else {
1183
  wpsc_update_htaccess_form();
1184
  }
1185
+ } elseif( $valid_nonce && $_POST[ 'updatehtaccess' ] ) {
1186
  echo "<div style='padding:0 8px;color:#4f8a10;background-color:#dff2bf;border:1px solid #4f8a10;'>";
1187
  if( wpsc_update_htaccess() ) {
1188
  echo "<h4>" . __( 'Mod Rewrite rules updated!', 'wp-super-cache' ) . "</h4>";
1204
  echo "<div id='rewriterules' style='display: none;'>";
1205
  if ( $rules != $scrules )
1206
  echo '<div style="background: #fff; border: 1px solid #333; margin: 2px;">' . wp_text_diff( $scrules, $rules, array( 'title' => 'Rewrite Rules', 'title_left' => 'Current Rules', 'title_right' => 'New Rules' ) ) . "</div>";
1207
+ echo "<p><pre># BEGIN WPSuperCache\n" . esc_html( $rules ) . "# END WPSuperCache</pre></p>\n";
1208
  echo "<p>" . sprintf( __( 'Rules must be added to %s too:', 'wp-super-cache' ), WP_CONTENT_DIR . "/cache/.htaccess" ) . "</p>";
1209
  echo "<pre># BEGIN supercache\n" . esc_html( $gziprules ) . "# END supercache</pre></p>";
1210
  echo '</div>';
1222
  echo '<fieldset class="options"><h3>' . __( 'Fix Configuration', 'wp-super-cache' ) . '</h3>';
1223
  echo '<form name="wp_restore" action="#top" method="post">';
1224
  echo '<input type="hidden" name="wp_restore_config" />';
1225
+ echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'id="deletepost" value="' . __( 'Restore Default Configuration', 'wp-super-cache' ) . ' &raquo;" /></div>';
1226
  wp_nonce_field('wp-cache');
1227
  echo "</form>\n";
1228
  echo '</fieldset>';
1254
  }
1255
  }
1256
  ?><a name='lockdown'></a>
1257
+ <fieldset class="options">
1258
  <h3><?php _e( 'Lock Down:', 'wp-super-cache' ); ?> <?php echo $wp_lock_down == '0' ? '<span style="color:red">' . __( 'Disabled', 'wp-super-cache' ) . '</span>' : '<span style="color:green">' . __( 'Enabled', 'wp-super-cache' ) . '</span>'; ?></h3>
1259
  <p><?php _e( 'Prepare your server for an expected spike in traffic by enabling the lock down. When this is enabled, new comments on a post will not refresh the cached static files.', 'wp-super-cache' ); ?></p>
1260
  <p><?php _e( 'Developers: Make your plugin lock down compatible by checking the "WPLOCKDOWN" constant. The following code will make sure your plugin respects the WPLOCKDOWN setting.', 'wp-super-cache' ); ?>
1261
+ <blockquote><code>if( defined( 'WPLOCKDOWN' ) && constant( 'WPLOCKDOWN' ) ) {
1262
  &nbsp;&nbsp;&nbsp;&nbsp;echo "<?php _e( 'Sorry. My blog is locked down. Updates will appear shortly', 'wp-super-cache' ); ?>";
1263
  }</code></blockquote>
1264
  <?php
1271
  $new_lockdown_desc = $wp_lock_down == '1' ? __( 'Disable', 'wp-super-cache' ) : __( 'Enable', 'wp-super-cache' );
1272
  echo '<form name="wp_lock_down" action="#lockdown" method="post">';
1273
  echo "<input type='hidden' name='wp_lock_down' value='{$new_lockdown}' />";
1274
+ echo "<div class='submit'><input type='submit' " . SUBMITDISABLED . " value='{$new_lockdown_desc} " . __( 'Lock Down', 'wp-super-cache' ) . " &raquo;' /></div>";
1275
  wp_nonce_field('wp-cache');
1276
  echo "</form>\n";
1277
 
1278
  ?></fieldset><?php
1279
  if( $cache_enabled == true && $super_cache_enabled == true ) {
1280
  ?><a name='direct'></a>
1281
+ <fieldset class="options">
1282
  <h3><?php _e( 'Directly Cached Files', 'wp-super-cache' ); ?></h3><?php
1283
 
1284
  $out = '';
1286
  $expiredfiles = array_diff( $cached_direct_pages, $_POST[ 'direct_pages' ] );
1287
  unset( $cached_direct_pages );
1288
  foreach( $_POST[ 'direct_pages' ] as $page ) {
1289
+ $page = $wpdb->escape( $page );
1290
  if( $page != '' ) {
1291
  $cached_direct_pages[] = $page;
1292
  $out .= "'$page', ";
1300
  $page = str_replace( get_option( 'siteurl' ), '', $_POST[ 'new_direct_page' ] );
1301
  if( substr( $page, 0, 1 ) != '/' )
1302
  $page = '/' . $page;
1303
+ $page = $wpdb->escape( $page );
1304
  if( in_array( $page, $cached_direct_pages ) == false ) {
1305
  $cached_direct_pages[] = $page;
1306
  $out .= "'$page', ";
1361
  continue;
1362
  $generated = '';
1363
  if( is_file( ABSPATH . $page . '/index.html' ) )
1364
+ $generated = '<input type="Submit" name="deletepage" value="' . $page . '">';
1365
  $out .= "<tr><td><input type='text' $readonly name='direct_pages[]' size='30' value='$page' /></td><td>$generated</td></tr>";
1366
  }
1367
  if( $out != '' ) {
1380
 
1381
  wp_nonce_field('wp-cache');
1382
  if( $readonly != 'READONLY' )
1383
+ echo "<div class='submit'><input type='submit' ' . SUBMITDISABLED . 'value='" . __( 'Update Direct Pages', 'wp-super-cache' ) . " &raquo;' /></div>";
1384
  echo "</form>\n";
1385
  ?></fieldset><?php
1386
  } // if $super_cache_enabled
1393
  $dh = @opendir($folderPath);
1394
  while (false !== ($value = @readdir($dh))) {
1395
  if ( $value != "." && $value != ".." ) {
1396
+ $value = $folderPath . "/" . $value;
1397
  if ( @is_dir ( $value ) ) {
1398
  RecursiveFolderDelete ( $value );
1399
  }
1408
  function wp_cache_edit_max_time () {
1409
  global $cache_max_time, $wp_cache_config_file, $valid_nonce, $cache_enabled, $super_cache_enabled, $cache_schedule_type, $cache_scheduled_time, $cache_schedule_interval, $cache_time_interval, $cache_gc_email_me, $wp_cache_preload_on;
1410
 
 
1411
 
1412
  if( !isset( $cache_schedule_type ) ) {
1413
  $cache_schedule_type = 'interval';
1432
  if ( isset( $_POST['wp_max_time'] ) && $valid_nonce ) {
1433
  $cache_max_time = (int)$_POST['wp_max_time'];
1434
  wp_cache_replace_line('^ *\$cache_max_time', "\$cache_max_time = $cache_max_time;", $wp_cache_config_file);
 
 
 
1435
  }
1436
 
1437
  if ( isset( $_POST[ 'cache_gc_email_me' ] ) && $valid_nonce ) {
1438
  $cache_gc_email_me = 1;
1439
+ wp_cache_replace_line('^ *\$cache_gc_email_me', "\$cache_gc_email_me = $cache_gc_email_me;", $wp_cache_config_file);
1440
  } elseif ( $valid_nonce ) {
1441
  $cache_gc_email_me = 0;
1442
+ wp_cache_replace_line('^ *\$cache_gc_email_me', "\$cache_gc_email_me = $cache_gc_email_me;", $wp_cache_config_file);
1443
  }
1444
+ if ( $_POST[ 'cache_schedule_type' ] == 'interval' && isset( $_POST['cache_time_interval'] ) && $valid_nonce ) {
1445
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1446
  $cache_schedule_type = 'interval';
1447
  if ( (int)$_POST[ 'cache_time_interval' ] == 0 )
1450
  wp_schedule_single_event( time() + $cache_time_interval, 'wp_cache_gc' );
1451
  wp_cache_replace_line('^ *\$cache_schedule_type', "\$cache_schedule_type = '$cache_schedule_type';", $wp_cache_config_file);
1452
  wp_cache_replace_line('^ *\$cache_time_interval', "\$cache_time_interval = '$cache_time_interval';", $wp_cache_config_file);
1453
+ } elseif ( $valid_nonce ) {
1454
  wp_clear_scheduled_hook( 'wp_cache_gc' );
1455
  $cache_schedule_type = 'time';
1456
+ if ( $_POST[ 'cache_scheduled_time' ] == '' )
1457
  $_POST[ 'cache_scheduled_time' ] = '00:00';
1458
  $cache_scheduled_time = $_POST[ 'cache_scheduled_time' ];
1459
+ $cache_schedule_interval = (int)$_POST[ 'cache_schedule_interval' ];
1460
+ wp_schedule_single_event( strtotime( $cache_scheduled_time ), 'wp_cache_gc' );
 
 
 
1461
  wp_cache_replace_line('^ *\$cache_schedule_type', "\$cache_schedule_type = '$cache_schedule_type';", $wp_cache_config_file);
1462
  wp_cache_replace_line('^ *\$cache_schedule_interval', "\$cache_schedule_interval = '{$cache_schedule_interval}';", $wp_cache_config_file);
1463
  wp_cache_replace_line('^ *\$cache_scheduled_time', "\$cache_scheduled_time = '$cache_scheduled_time';", $wp_cache_config_file);
1464
  wp_schedule_event( strtotime( $cache_scheduled_time ), $cache_schedule_interval, 'wp_cache_gc' );
1465
  }
1466
+ ?><fieldset class="options">
1467
  <a name='expirytime'></a>
1468
  <h3><?php _e( 'Expiry Time &amp; Garbage Collection', 'wp-super-cache' ); ?></h3><?php
 
 
 
 
 
 
1469
  $next_gc = wp_next_scheduled( 'wp_cache_gc' );
1470
+ echo "<p>" . sprintf( __( 'Current server time is: %s', 'wp-super-cache' ), "<strong>" . date( 'Y-m-d H:i:s', time() ) . "</strong>" ) . "</p>";
1471
  if ( $next_gc )
1472
+ echo "<p>" . sprintf( __( 'Next scheduled garbage collection will be at (YY-MM-DD H:M:S): %s', 'wp-super-cache' ), "<strong>" . date( 'Y-m-d H:i:s', $next_gc ) . "</strong>" ) . "</p>";
 
1473
 
1474
  if ( $wp_cache_preload_on )
1475
  echo "<p>" . __( 'Warning! <strong>PRELOAD MODE</strong> activated. Supercache files will not be deleted regardless of age.' ) . "</p>";
1495
  echo '<tr><td valign="top"><strong>' . __( 'Scheduler', 'wp-super-cache' ) . '</strong></td><td><table cellpadding=0 cellspacing=0><tr><td valign="top"><input type="radio" id="schedule_interval" name="cache_schedule_type" value="interval" ' . checked( 'interval', $cache_schedule_type, false ) . ' /></td><td valign="top"><label for="cache_interval_time">' . __( 'Timer:', 'wp-super-cache' ) . '</label></td>';
1496
  echo "<td><input type='text' id='cache_interval_time' size=6 name='cache_time_interval' value='$cache_time_interval' /> " . __( "seconds", 'wp-super-cache' ) . '<br />' . __( 'Check for stale cached files every <em>interval</em> seconds.', 'wp-super-cache' ) . "</td></tr>";
1497
  echo '<tr><td valign="top"><input type="radio" id="schedule_time" name="cache_schedule_type" value="time" ' . checked( 'time', $cache_schedule_type, false ) . ' /></td><td valign="top"><label for="schedule_time">' . __( 'Clock:', 'wp-super-cache' ) . '</label></td>';
1498
+ echo "<td><input type=\"text\" size=5 id='cache_scheduled_time' name='cache_scheduled_time' value=\"$cache_scheduled_time\" /> " . __( "HH:MM", 'wp-super-cache' ) . "<br />" . __( 'Check for stale cached files at this time or starting at this time every <em>interval</em> below.', 'wp-super-cache' ) . "</td></tr>";
1499
  $schedules = wp_get_schedules();
1500
  echo "<tr><td><br /></td><td><label for='cache_scheduled_select'>" . __( 'Interval:', 'wp-super-cache' ) . "</label></td><td><select id='cache_scheduled_select' name='cache_schedule_interval' size=1>";
1501
  foreach( $schedules as $desc => $details ) {
1502
+ echo "<option name='$desc' " . selected( $desc, $cache_schedule_interval, false ) . " /> $desc</option>";
1503
  }
1504
  echo "</select></td></tr>";
1505
  echo '</table></td></tr>';
1506
  echo '<tr><td><label for="cache_gc_email_me"><strong>' . __( 'Notification Emails', 'wp-super-cache' ) . '</strong></label></td>';
1507
+ echo "<td><input type='checkbox' id='cache_gc_email_me' name='cache_gc_email_me' " . checked( $cache_gc_email_me, 1, false ) . " /> </td></tr>\n";
1508
  echo "</table>\n";
1509
  echo "<h4>" . __( 'Garbage Collection', 'wp-super-cache' ) . "</h4>";
1510
  echo "<ol><li>" . __( '<em>Garbage collection</em> is the simple act of throwing out your garbage. For this plugin that would be old or <em>stale</em> cached files that may be out of date. New cached files are described as <em>fresh</em>.', 'wp-super-cache' ) . "</li>\n";
1523
  echo "</ol>";
1524
  echo "<p>" . __( 'Checking for and deleting expired files is expensive, but it&#8217;s expensive leaving them there too. On a very busy site you should set the expiry time to <em>600 seconds</em>. Experiment with different values and visit this page to see how many expired files remain at different times during the day. If you are using legacy caching aim to have less than 500 cached files if possible. You can have many times more cached files when using mod_rewrite or PHP caching.', 'wp-super-cache' ) . "</p>";
1525
  echo "<p>" . __( 'Set the expiry time to 0 seconds to disable garbage collection.', 'wp-super-cache' ) . "</p>";
1526
+ echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Change Expiration', 'wp-super-cache' ) . ' &raquo;" /></div>';
1527
  wp_nonce_field('wp-cache');
1528
  echo "</form>\n";
1529
  ?></fieldset><?php
1575
  echo esc_html( $ua ) . "\n";
1576
  }
1577
  echo '</textarea> ';
1578
+ echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save UA Strings', 'wp-super-cache' ) . ' &raquo;" /></div>';
1579
  wp_nonce_field('wp-cache');
1580
  echo '</form>';
1581
  echo "</fieldset>\n";
1612
  echo '<label><input type="checkbox" value="1" name="wp_cache_pages[search]" ' . checked( 1, $wp_cache_pages[ 'search' ], false ) . ' /> ' . __( 'Search Pages', 'wp-super-cache' ) . ' (is_search)</label><br />';
1613
  echo '<label><input type="checkbox" value="1" name="wp_cache_pages[author]" ' . checked( 1, $wp_cache_pages[ 'author' ], false ) . ' /> ' . __( 'Author Pages', 'wp-super-cache' ) . ' (is_author)</label><br />';
1614
 
1615
+ echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save' ) . ' &raquo;" /></div>';
1616
  wp_nonce_field('wp-cache');
1617
  echo "</form>\n";
1618
 
1635
  echo esc_html( $file ) . "\n";
1636
  }
1637
  echo '</textarea> ';
1638
+ echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save Strings', 'wp-super-cache' ) . ' &raquo;" /></div>';
1639
  wp_nonce_field('wp-cache');
1640
  echo "</form>\n";
1641
  }
1657
  echo esc_html($file) . "\n";
1658
  }
1659
  echo '</textarea> ';
1660
+ echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save Files', 'wp-super-cache' ) . ' &raquo;" /></div>';
1661
  wp_nonce_field('wp-cache');
1662
  echo "</form>\n";
1663
  }
1664
 
1665
  function wp_cache_debug_settings() {
1666
+ global $wp_super_cache_debug, $wp_cache_debug_log, $wp_cache_debug_level, $wp_cache_debug_ip, $cache_path, $valid_nonce, $wp_cache_config_file;
1667
  global $wp_super_cache_front_page_check, $wp_super_cache_front_page_clear, $wp_super_cache_front_page_text, $wp_super_cache_front_page_notification, $wp_super_cache_advanced_debug;
1668
 
1669
+ if ( !isset( $wp_cache_debug_level ) )
1670
+ $wp_cache_debug_level = 1;
1671
  if ( isset( $_POST[ 'wp_cache_debug' ] ) && $valid_nonce ) {
 
 
1672
  $wp_super_cache_debug = intval( $_POST[ 'wp_super_cache_debug' ] );
1673
  wp_cache_replace_line('^ *\$wp_super_cache_debug', "\$wp_super_cache_debug = '$wp_super_cache_debug';", $wp_cache_config_file);
1674
  if ( $wp_super_cache_debug && ( ( isset( $wp_cache_debug_log ) && $wp_cache_debug_log == '' ) || !isset( $wp_cache_debug_log ) ) ) {
1677
  $wp_cache_debug_log = "";
1678
  }
1679
  wp_cache_replace_line('^ *\$wp_cache_debug_log', "\$wp_cache_debug_log = '$wp_cache_debug_log';", $wp_cache_config_file);
 
 
1680
  $wp_cache_debug_ip = esc_html( $_POST[ 'wp_cache_debug_ip' ] );
1681
  wp_cache_replace_line('^ *\$wp_cache_debug_ip', "\$wp_cache_debug_ip = '$wp_cache_debug_ip';", $wp_cache_config_file);
1682
+ $wp_cache_debug_level = (int)$_POST[ 'wp_cache_debug_level' ];
1683
+ wp_cache_replace_line('^ *\$wp_cache_debug_level', "\$wp_cache_debug_level = '$wp_cache_debug_level';", $wp_cache_config_file);
1684
+ $wp_super_cache_front_page_check = (int)$_POST[ 'wp_super_cache_front_page_check' ];
1685
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_check', "\$wp_super_cache_front_page_check = '$wp_super_cache_front_page_check';", $wp_cache_config_file);
1686
+ $wp_super_cache_front_page_clear = (int)$_POST[ 'wp_super_cache_front_page_clear' ];
1687
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_clear', "\$wp_super_cache_front_page_clear = '$wp_super_cache_front_page_clear';", $wp_cache_config_file);
1688
  $wp_super_cache_front_page_text = esc_html( $_POST[ 'wp_super_cache_front_page_text' ] );
1689
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_text', "\$wp_super_cache_front_page_text = '$wp_super_cache_front_page_text';", $wp_cache_config_file);
1690
+ $wp_super_cache_front_page_notification = (int)$_POST[ 'wp_super_cache_front_page_notification' ];
1691
  wp_cache_replace_line('^ *\$wp_super_cache_front_page_notification', "\$wp_super_cache_front_page_notification = '$wp_super_cache_front_page_notification';", $wp_cache_config_file);
1692
+ if ( isset( $wp_super_cache_front_page_check ) && $wp_super_cache_front_page_check == 1 && !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
1693
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
1694
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
1695
  }
1696
  }
1697
 
1707
  echo "<table class='form-table'>";
1708
  echo "<tr><td>" . __( 'Debugging', 'wp-super-cache' ) . "</td><td><input type='checkbox' name='wp_super_cache_debug' value='1' " . checked( 1, $wp_super_cache_debug, false ) . " /> " . __( 'enabled', 'wp-super-cache' ) . "</td></tr>";
1709
  echo "<tr><td>" . __( 'IP Address', 'wp-super-cache' ) . "</td><td> <input type='text' size='20' name='wp_cache_debug_ip' value='{$wp_cache_debug_ip}' /> " . sprintf( __( '(only log requests from this IP address. Your IP is %s)', 'wp-super-cache' ), $_SERVER[ 'REMOTE_ADDR' ] ) . "</td></tr>";
1710
+ echo "<tr><td>" . __( 'Log level', 'wp-super-cache' ) . "</td><td> ";
1711
+ for( $t = 1; $t <= 5; $t++ ) {
1712
+ echo "<input type='radio' name='wp_cache_debug_level' value='$t' ";
1713
+ echo $wp_cache_debug_level == $t ? "checked='checked' " : '';
1714
+ echo "/> $t ";
1715
+ }
1716
+ echo " " . __( '(1 = less, 5 = more, may cause severe server load.)', 'wp-super-cache' ) . "</td></tr>";
1717
  echo "</table>\n";
1718
  if ( isset( $wp_super_cache_advanced_debug ) ) {
1719
  echo "<h4>" . __( 'Advanced', 'wp-super-cache' ) . "</h4><p>" . __( 'In very rare cases two problems may arise on some blogs:<ol><li> The front page may start downloading as a zip file.</li><li> The wrong page is occasionally cached as the front page if your blog uses a static front page and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>', 'wp-super-cache' ) . '</p>';
1723
  echo "<tr><td valign='top'>" . __( 'Front page text', 'wp-super-cache' ) . "</td><td> <input type='text' size='30' name='wp_super_cache_front_page_text' value='{$wp_super_cache_front_page_text}' /> (" . __( 'Text to search for on your front page. If this text is missing the cache will be cleared. Leave blank to disable.', 'wp-super-cache' ) . ")</td></tr>";
1724
  echo "<tr><td valign='top' colspan='2'><input type='checkbox' name='wp_super_cache_front_page_clear' value='1' " . checked( 1, $wp_super_cache_front_page_clear, false ) . " /> " . __( 'Clear cache on error.', 'wp-super-cache' ) . "</td></tr>";
1725
  echo "<tr><td valign='top' colspan='2'><input type='checkbox' name='wp_super_cache_front_page_notification' value='1' " . checked( 1, $wp_super_cache_front_page_notification, false ) . " /> " . __( 'Email the blog admin when checks are made. (useful for testing)', 'wp-super-cache' ) . "</td></tr>";
1726
+
1727
  echo "</table>\n";
1728
  }
1729
+ echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save', 'wp-super-cache' ) . ' &raquo;" /></div>';
1730
  wp_nonce_field('wp-cache');
1731
  echo "</form>\n";
1732
  echo '</fieldset>';
1748
  function wp_cache_disable() {
1749
  global $wp_cache_config_file, $cache_enabled;
1750
 
 
 
 
1751
  if (wp_cache_replace_line('^ *\$cache_enabled', '$cache_enabled = false;', $wp_cache_config_file)) {
1752
  $cache_enabled = false;
1753
  }
1872
 
1873
  function wp_cache_verify_config_file() {
1874
  global $wp_cache_config_file, $wp_cache_config_file_sample, $sem_id, $cache_path;
 
1875
 
1876
  $new = false;
1877
  $dir = dirname($wp_cache_config_file);
1906
  $new = true;
1907
  }
1908
  if( $sem_id == 5419 && $cache_path != '' ) {
1909
+ $sem_id = crc32( $_SERVER[ 'HTTP_HOST' ] . $cache_path ) & 0x7fffffff;
1910
  wp_cache_replace_line('sem_id', '$sem_id = ' . $sem_id . ';', $wp_cache_config_file);
1911
  }
1912
  require($wp_cache_config_file);
1915
 
1916
  function wp_cache_create_advanced_cache() {
1917
  global $wp_cache_link, $wp_cache_file;
 
 
 
 
 
 
 
 
 
 
 
1918
  $ret = true;
1919
 
1920
  $file = file_get_contents( $wp_cache_file );
1921
+ $file = str_replace( 'CACHEHOME', constant( 'WPCACHEHOME' ), $file );
1922
  $fp = @fopen( $wp_cache_link, 'w' );
1923
  if( $fp ) {
1924
  fputs( $fp, $file );
1931
 
1932
  function wp_cache_check_link() {
1933
  global $wp_cache_link, $wp_cache_file;
1934
+
1935
  $ret = true;
1936
  if( file_exists($wp_cache_link) ) {
1937
  $file = file_get_contents( $wp_cache_link );
1938
+ if( strpos( $file, "WP SUPER CACHE 0.8.9.1" ) ) {
1939
  return true;
1940
  } else {
1941
  if( !@unlink($wp_cache_link) ) {
1984
  }
1985
  return false;
1986
  } else {
1987
+ echo "<div style='border: 1px solid #333; background: #ffffaa; padding: 2px;'>" . __( '<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see this warning message please see point 5 of the <a href="http://wordpress.org/extend/plugins/wp-super-cache/faq/">FAQ</a>. The WP_CACHE line must be moved up.', 'wp-super-cache' ) . "</p></div>";
1988
  }
1989
  return true;
1990
  }
2027
  $count = 0;
2028
  $expired = 0;
2029
  $now = time();
2030
+ if ( ($handle = @opendir( $blog_cache_dir . 'meta/' )) ) {
2031
  $wp_cache_fsize = 0;
2032
  if ( $valid_nonce && isset( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'deletewpcache' ) {
2033
  $deleteuri = preg_replace( '/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '/index.php', '/', str_replace( '..', '', preg_replace("/(\?.*)?$/", '', base64_decode( $_GET[ 'uri' ] ) ) ) ) );
2049
  if ( preg_match("/^$file_prefix.*\.meta/", $file) ) {
2050
  $content_file = preg_replace("/meta$/", "html", $file);
2051
  $mtime = filemtime( $blog_cache_dir . 'meta/' . $file );
2052
+ if ( ! ( $fsize = @filesize( $blog_cache_dir . $content_file ) ) )
2053
  continue; // .meta does not exists
2054
 
2055
  $age = $now - $mtime;
2056
+ if ( $valid_nonce && $_GET[ 'listfiles' ] ) {
2057
  $meta = unserialize( file_get_contents( $blog_cache_dir . 'meta/' . $file ) );
2058
  if ( $deleteuri != '' && $meta[ 'uri' ] == $deleteuri ) {
2059
  printf( __( "Deleting wp-cache file: <strong>%s</strong><br />", 'wp-super-cache' ), $deleteuri );
2118
  if ( $valid_nonce && $_GET[ 'listfiles' ] && $filem )
2119
  $sizes[ 'cached_list' ][ str_replace( $cache_path . 'supercache/' , '', $supercachedir ) ] = $now - $filem;
2120
  }
2121
+ }
2122
  $sizes[ 'ts' ] = time();
2123
  $cache_stats = array( 'generated' => time(), 'supercache' => $sizes, 'wpcache' => array( 'cached' => $count, 'expired' => $expired, 'fsize' => $wp_cache_fsize ) );
2124
  update_option( 'supercache_stats', $cache_stats );
2156
  echo "<li>" . sprintf( __( '%s Expired Pages', 'wp-super-cache' ), intval( $cache_stats[ 'supercache' ][ 'expired' ] / $divisor ) ) . "</li></ul>";
2157
  if ( $valid_nonce && array_key_exists('listfiles', $_GET) && $_GET[ 'listfiles' ] ) {
2158
  echo "<div style='padding: 10px; border: 1px solid #333; height: 400px; width: 90%; overflow: auto'>";
2159
+ if ( is_array( $cached_list ) && !empty( $cached_list ) ) {
2160
  echo "<h4>" . __( 'Fresh WP-Cached Files', 'wp-super-cache' ) . "</h4>";
2161
  echo "<table class='widefat'><tr><th>#</th><th>" . __( 'URI', 'wp-super-cache' ) . "</th><th>" . __( 'Key', 'wp-super-cache' ) . "</th><th>" . __( 'Age', 'wp-super-cache' ) . "</th><th>" . __( 'Delete', 'wp-super-cache' ) . "</th></tr>";
2162
  $c = 1;
2172
  }
2173
  echo "</table>";
2174
  }
2175
+ if ( is_array( $expired_list ) && !empty( $expired_list ) ) {
2176
  echo "<h4>" . __( 'Stale WP-Cached Files', 'wp-super-cache' ) . "</h4>";
2177
  echo "<table class='widefat'><tr><th>#</th><th>" . __( 'URI', 'wp-super-cache' ) . "</th><th>" . __( 'Key', 'wp-super-cache' ) . "</th><th>" . __( 'Age', 'wp-super-cache' ) . "</th><th>" . __( 'Delete', 'wp-super-cache' ) . "</th></tr>";
2178
  $c = 1;
2222
  }
2223
  echo "</div>";
2224
  echo "<p><a href='?page=wpsupercache&tab=contents#top'>" . __( 'Hide file list', 'wp-super-cache' ) . "</a></p>";
2225
+ } elseif ( $cache_stats[ 'supercache' ][ 'cached' ] > 300 || $cache_stats[ 'supercache' ][ 'expired' ] > 300 || ( $cache_stats[ 'wpcache' ][ 'cached' ] / $divisor ) > 300 || ( $cache_stats[ 'wpcache' ][ 'expired' ] / $divisor) > 300 ) {
2226
  echo "<p><em>" . __( 'Too many cached files, no listing possible.', 'wp-super-cache' ) . "</em></p>";
2227
  } else {
2228
  echo "<p><a href='" . wp_nonce_url( add_query_arg( array( 'page' => 'wpsupercache', 'listfiles' => '1' ) ), 'wp-cache' ) . "#listfiles'>" . __( 'List all cached files', 'wp-super-cache' ) . "</a></p>";
2229
  }
2230
+ $last_gc = get_option( "wpsupercache_gc_time" );
2231
+ if ( $cache_max_time > 0 && $last_gc ) {
2232
+ $next_gc = $cache_max_time < 1800 ? $cache_max_time : 600;
2233
+ $next_gc_mins = ( time() - $last_gc );
2234
+ echo "<p>" . sprintf( __( '<strong>Garbage Collection</strong><br />Last GC was <strong>%s</strong> minutes ago<br />', 'wp-super-cache' ), date( 'i:s', $next_gc_mins ) );
2235
+ printf( __( "Next GC in <strong>%s</strong> minutes", 'wp-super-cache' ), date( 'i:s', $next_gc - $next_gc_mins ) ) . "</p>";
2236
+ }
2237
  if ( $cache_max_time > 0 )
2238
  echo "<p>" . sprintf( __( 'Expired files are files older than %s seconds. They are still used by the plugin and are deleted periodically.', 'wp-super-cache' ), $cache_max_time ) . "</p>";
2239
  } // cache_stats
2246
 
2247
  echo '<form name="wp_cache_content_expired" action="#listfiles" method="post">';
2248
  echo '<input type="hidden" name="wp_delete_expired" />';
2249
+ echo '<div class="submit" style="float:left"><input type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Expired', 'wp-super-cache' ) . ' &raquo;" /></div>';
2250
  wp_nonce_field('wp-cache');
2251
  echo "</form>\n";
2252
 
2253
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
2254
  echo '<input type="hidden" name="wp_delete_cache" />';
2255
+ echo '<div class="submit" style="float:left;margin-left:10px"><input id="deletepost" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache', 'wp-super-cache' ) . ' &raquo;" /></div>';
2256
  wp_nonce_field('wp-cache');
2257
  echo "</form>\n";
2258
+ if ( defined( 'WP_ALLOW_MULTISITE' ) && wpsupercache_site_admin() ) {
2259
  echo '<form name="wp_cache_content_delete" action="#listfiles" method="post">';
2260
  echo '<input type="hidden" name="wp_delete_all_cache" />';
2261
+ echo '<div class="submit" style="float:left;margin-left:10px"><input id="deleteallpost" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Delete Cache On All Blogs', 'wp-super-cache' ) . ' &raquo;" />';
2262
  wp_nonce_field('wp-cache');
2263
  echo "</form>\n";
2264
  }
2327
  prune_super_cache( $supercachedir . '.disabled', true );
2328
  }
2329
  $_POST[ 'super_cache_stats' ] = 1; // regenerate super cache stats;
2330
+ } elseif ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'Warning! prune_super_cache() not found in wp-cache.php', 1 );
 
 
 
 
 
 
 
2331
 
2332
+ if ( $handle = @opendir( $blog_cache_dir . 'meta/' ) ) {
 
 
2333
  while ( false !== ($file = readdir($handle))) {
2334
  if ( preg_match( "/^$file_prefix/", $file ) ) {
2335
+ $meta = unserialize( file_get_contents( $blog_cache_dir . 'meta/' . $file ) );
2336
+ if ( $meta[ 'blog_id' ] == $wpdb->blogid ) {
2337
+ @unlink( $blog_cache_dir . 'meta/' . $file);
2338
+ @unlink( $blog_cache_dir . str_replace( '.meta', '.html', $file ) );
2339
+ }
2340
  }
2341
  }
2342
  closedir($handle);
2353
  // If phase2 was compiled, use its function to avoid race-conditions
2354
  if(function_exists('wp_cache_phase2_clean_expired')) {
2355
  if ( $wp_cache_preload_on != 1 && function_exists ('prune_super_cache')) {
2356
+ $dir = $cache_path . 'supercache/' . preg_replace('/:.*$/', '', $_SERVER["HTTP_HOST"]);
2357
  if( is_dir( $dir ) ) {
2358
  prune_super_cache( $dir );
2359
  } elseif( is_dir( $dir . '.disabled' ) ) {
2366
 
2367
  $expr = "/^$file_prefix/";
2368
  $now = time();
2369
+ if ( ($handle = @opendir( $blog_cache_dir )) ) {
2370
  while ( false !== ($file = readdir($handle))) {
2371
  if ( preg_match( $expr, $file ) &&
2372
  ( filemtime( $blog_cache_dir . $file ) + $cache_max_time ) <= $now ) {
2429
  add_action( 'template_redirect', 'wp_cache_catch_404' );
2430
 
2431
  function wp_cache_favorite_action( $actions ) {
2432
+ if ( false == wpsupercache_site_admin() )
2433
  return $actions;
2434
 
2435
  if ( function_exists('current_user_can') && !current_user_can('manage_options') )
2458
  add_filter( 'plugin_action_links', 'wp_cache_plugin_actions', 10, 2 );
2459
 
2460
  function wp_cache_admin_notice() {
2461
+ global $cache_enabled;
2462
  if( substr( $_SERVER["PHP_SELF"], -11 ) == 'plugins.php' && !$cache_enabled && function_exists( "admin_url" ) )
2463
  echo '<div class="error"><p><strong>' . sprintf( __('WP Super Cache is disabled. Please go to the <a href="%s">plugin admin page</a> to enable caching.', 'wp-super-cache' ), admin_url( 'options-general.php?page=wpsupercache' ) ) . '</strong></p></div>';
2464
 
2465
+ if ( defined( 'ADVANCEDCACHEPROBLEM' ) )
2466
+ echo '<div class="error"><p><strong>' . sprintf( __( 'Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.<br /><br />Please edit %1$s/advanced-cache.php and make sure the path to %2$swp-cache-phase1.php is correct.', 'wp-super-cache' ), WP_CONTENT_DIR, WPCACHEHOME ) . '</strong></p></div>';
 
 
2467
  }
2468
  add_action( 'admin_notices', 'wp_cache_admin_notice' );
2469
 
2484
  if ( !isset( $wp_super_cache_front_page_clear ) || ( isset( $wp_super_cache_front_page_clear ) && $wp_super_cache_front_page_clear == 0 ) ) {
2485
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is gzipped! Please clear cache!', 'wp-super-cache' ), site_url() ), sprintf( __( "Please visit %s to clear the cache as the front page of your site is now downloading!", 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache" ) );
2486
  } else {
2487
+ wp_cache_clear_cache();
2488
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is gzipped! Cache Cleared!', 'wp-super-cache' ), site_url() ), sprintf( __( "The cache on your blog has been cleared because the front page of your site is now downloading. Please visit %s to verify the cache has been cleared.", 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache" ) );
2489
  }
2490
  }
2494
  if ( !isset( $wp_super_cache_front_page_clear ) || ( isset( $wp_super_cache_front_page_clear ) && $wp_super_cache_front_page_clear == 0 ) ) {
2495
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is not correct! Please clear cache!', 'wp-super-cache' ), site_url() ), sprintf( __( 'Please visit %1$s to clear the cache as the front page of your site is not correct and missing the text, "%2$s"!', 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache", $wp_super_cache_front_page_text ) );
2496
  } else {
2497
+ wp_cache_clear_cache();
2498
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Front page is not correct! Cache Cleared!', 'wp-super-cache' ), site_url() ), sprintf( __( 'The cache on your blog has been cleared because the front page of your site is missing the text "%2$s". Please visit %1$s to verify the cache has been cleared.', 'wp-super-cache' ), trailingslashit( site_url() ) . "wp-admin/options-general.php?page=wpsupercache", $wp_super_cache_front_page_text ) );
2499
  }
2500
  }
2505
 
2506
  if ( !wp_next_scheduled( 'wp_cache_check_site_hook' ) ) {
2507
  wp_schedule_single_event( time() + 360 , 'wp_cache_check_site_hook' );
2508
+ if ( isset( $GLOBALS[ 'wp_super_cache_debug' ] ) && $GLOBALS[ 'wp_super_cache_debug' ] ) wp_cache_debug( 'scheduled wp_cache_check_site_hook for 360 seconds time.', 2 );
2509
  }
2510
  }
2511
  add_action( 'wp_cache_check_site_hook', 'wp_cache_check_site' );
2524
  $wp_cache_mobile_groups = $mobile_groups;
2525
  wp_cache_replace_line('^ *\$wp_cache_mobile_groups', "\$wp_cache_mobile_groups = '" . implode( ', ', $mobile_groups ) . "';", $wp_cache_config_file);
2526
  }
2527
+
2528
  return true;
2529
  }
2530
 
2557
  if ( !isset( $wpmu_version ) || $wpmu_version == '' ) {
2558
  echo '<form name="updatehtaccess" action="#modrewrite" method="post">';
2559
  echo '<input type="hidden" name="updatehtaccess" value="1" />';
2560
+ echo '<div class="submit"><input type="submit" ' . SUBMITDISABLED . 'id="updatehtaccess" value="' . __( 'Update Mod_Rewrite Rules', 'wp-super-cache' ) . ' &raquo;" /></div>';
2561
  wp_nonce_field('wp-cache');
2562
  echo "</form></div>\n";
2563
  }
2564
  }
2565
  }
2566
 
 
 
 
 
 
 
 
 
 
 
 
2567
  function wpsc_get_htaccess_info() {
2568
+ global $wp_cache_mobile_enabled, $wp_cache_mobile_prefixes, $wp_cache_mobile_browsers;
2569
  if ( isset( $_SERVER[ "PHP_DOCUMENT_ROOT" ] ) ) {
2570
  $document_root = $_SERVER[ "PHP_DOCUMENT_ROOT" ];
2571
  $apache_root = $_SERVER[ "PHP_DOCUMENT_ROOT" ];
2607
  }
2608
  $condition_rules[] = "RewriteCond %{REQUEST_METHOD} !POST";
2609
  $condition_rules[] = "RewriteCond %{QUERY_STRING} !.*=.*";
2610
+ $condition_rules[] = "RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$";
2611
  $condition_rules[] = "RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\\\"]+ [NC]";
2612
  $condition_rules[] = "RewriteCond %{HTTP:Profile} !^[a-z0-9\\\"]+ [NC]";
2613
  if ( $wp_cache_mobile_enabled ) {
2614
+ $condition_rules[] = "RewriteCond %{HTTP_USER_AGENT} !^.*(" . addcslashes( implode( '|', $wp_cache_mobile_browsers ), ' ' ) . ").* [NC]";
2615
+ $condition_rules[] = "RewriteCond %{HTTP_user_agent} !^(" . addcslashes( implode( '|', $wp_cache_mobile_prefixes ), ' ' ) . ").* [NC]";
 
 
2616
  }
2617
  $condition_rules = apply_filters( 'supercacherewriteconditions', $condition_rules );
2618
 
2620
  $rules .= "RewriteEngine On\n";
2621
  $rules .= "RewriteBase $home_root\n"; // props Chris Messina
2622
  $rules .= "#If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible\n";
 
 
 
 
 
2623
  $rules .= "CONDITION_RULES";
2624
  $rules .= "RewriteCond %{HTTP:Accept-Encoding} gzip\n";
2625
  $rules .= "RewriteCond %{HTTPS} on\n";
2626
+ $rules .= "RewriteCond {$apache_root}{$inst_root}cache/supercache/%{HTTP_HOST}{$home_root_lc}$1/index-https.html.gz -f\n";
2627
+ $rules .= "RewriteRule ^(.*) \"{$inst_root}cache/supercache/%{HTTP_HOST}{$home_root_lc}$1/index-https.html.gz\" [L]\n\n";
2628
 
2629
  $rules .= "CONDITION_RULES";
2630
  $rules .= "RewriteCond %{HTTP:Accept-Encoding} gzip\n";
2631
  $rules .= "RewriteCond %{HTTPS} !on\n";
2632
+ $rules .= "RewriteCond {$apache_root}{$inst_root}cache/supercache/%{HTTP_HOST}{$home_root_lc}$1/index.html.gz -f\n";
2633
+ $rules .= "RewriteRule ^(.*) \"{$inst_root}cache/supercache/%{HTTP_HOST}{$home_root_lc}$1/index.html.gz\" [L]\n\n";
2634
 
2635
  $rules .= "CONDITION_RULES";
2636
  $rules .= "RewriteCond %{HTTPS} on\n";
2637
+ $rules .= "RewriteCond {$apache_root}{$inst_root}cache/supercache/%{HTTP_HOST}{$home_root_lc}$1/index-https.html -f\n";
2638
+ $rules .= "RewriteRule ^(.*) \"{$inst_root}cache/supercache/%{HTTP_HOST}{$home_root_lc}$1/index-https.html\" [L]\n\n";
2639
 
2640
  $rules .= "CONDITION_RULES";
2641
  $rules .= "RewriteCond %{HTTPS} !on\n";
2642
+ $rules .= "RewriteCond {$apache_root}{$inst_root}cache/supercache/%{HTTP_HOST}{$home_root_lc}$1/index.html -f\n";
2643
+ $rules .= "RewriteRule ^(.*) \"{$inst_root}cache/supercache/%{HTTP_HOST}{$home_root_lc}$1/index.html\" [L]\n";
2644
  $rules .= "</IfModule>\n";
2645
  $rules = apply_filters( 'supercacherewriterules', $rules );
2646
 
2661
  if ( !function_exists( 'prune_super_cache' ) )
2662
  include_once( 'wp-cache-phase2.php' );
2663
 
2664
+ prune_super_cache( $dir, true);
 
 
 
 
2665
  }
2666
 
2667
  function wp_cron_preload_cache() {
2668
+ global $wpdb, $wp_cache_preload_interval, $wp_cache_preload_posts, $wp_cache_preload_email_me, $wp_cache_preload_email_volume, $cache_path;
 
2669
 
2670
  if ( get_option( 'preload_cache_stop' ) ) {
2671
  delete_option( 'preload_cache_stop' );
 
2672
  return true;
2673
  }
2674
  $mutex = $cache_path . "preload_mutex.tmp";
2675
  sleep( 3 + mt_rand( 1, 5 ) );
2676
  if ( @file_exists( $mutex ) ) {
2677
  if ( @filemtime( $mutex ) > ( time() - 600 ) ) {
 
2678
  return true;
2679
  } else {
 
2680
  @unlink( $mutex );
2681
  }
2682
  }
2685
 
2686
  $counter = get_option( 'preload_cache_counter' );
2687
  if ( is_array( $counter ) == false ) {
 
2688
  $counter = array( 'c' => 0, 't' => time() );
2689
  update_option( 'preload_cache_counter', $counter );
2690
  }
2691
  $c = $counter[ 'c' ];
2692
 
 
 
2693
  if ( $wp_cache_preload_email_me && $c == 0 )
2694
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] Cache Preload Started', 'wp-super-cache' ), site_url(), '' ), ' ' );
2695
 
2696
+ $taxonomies = apply_filters( 'wp_cache_preload_taxonomies', array( 'post_tag' => 'tag', 'category' => 'category' ) );
2697
+ $finished = false;
2698
+ $permalink_counter_msg = $cache_path . "preload_permalink.txt";
2699
+ foreach( $taxonomies as $taxonomy => $path ) {
2700
+ $taxonomy_filename = $cache_path . "taxonomy_" . $taxonomy . ".txt";
2701
+ if ( $c == 0 )
2702
+ @unlink( $taxonomy_filename );
2703
+
2704
+ if ( false == @file_exists( $taxonomy_filename ) ) {
2705
+ $out = '';
2706
+ $records = get_terms( $taxonomy );
2707
+ foreach( $records as $term ) {
2708
+ $out .= site_url( $path . "/" . $term->slug . "/" ) . "\n";
2709
+ }
2710
+ $fp = fopen( $taxonomy_filename, 'w' );
2711
+ if ( $fp ) {
2712
+ fwrite( $fp, $out );
2713
+ fclose( $fp );
2714
+ }
2715
+ $details = explode( "\n", $out );
2716
+ } else {
2717
+ $details = explode( "\n", file_get_contents( $taxonomy_filename ) );
2718
+ }
2719
+ if ( count( $details ) != 1 && $details[ 0 ] != '' ) {
2720
+ $rows = array_splice( $details, 0, 50 );
2721
+ if ( $wp_cache_preload_email_me && $wp_cache_preload_email_volume == 'many' )
2722
+ wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] Refreshing %2$s taxonomy from %3$d to %4$d', 'wp-super-cache' ), site_url(), $taxonomy, $c, ($c+100) ), 'Refreshing: ' . print_r( $rows, 1 ) );
2723
+ foreach( (array)$rows as $url ) {
2724
+ set_time_limit( 60 );
2725
+ if ( $url == '' )
2726
+ continue;
2727
+ $url_info = parse_url( $url );
2728
+ $dir = get_supercache_dir() . $url_info[ 'path' ];
2729
+ prune_super_cache( $dir );
2730
+ $fp = @fopen( $permalink_counter_msg, 'w' );
2731
+ if ( $fp ) {
2732
+ @fwrite( $fp, "$taxonomy: $url" );
2733
+ @fclose( $fp );
 
 
 
 
 
 
 
 
 
 
 
 
 
2734
  }
2735
+ wp_remote_get( $url, array('timeout' => 60, 'blocking' => true ) );
2736
+ sleep( 1 );
2737
+ }
2738
+ $fp = fopen( $taxonomy_filename, 'w' );
2739
+ if ( $fp ) {
2740
+ fwrite( $fp, implode( "\n", $details ) );
2741
+ fclose( $fp );
2742
  }
2743
  }
2744
  }
2745
 
2746
+ if ( $wp_cache_preload_posts == 'all' || $c <= $wp_cache_preload_posts ) {
2747
+ $posts = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE ( post_type != 'revision' AND post_type != 'nav_menu_item' ) AND post_status = 'publish' ORDER BY post_date DESC LIMIT $c, 100" );
 
2748
  } else {
 
2749
  $posts = false;
2750
  }
2751
  if ( !isset( $wp_cache_preload_email_volume ) )
2752
  $wp_cache_preload_email_volume = 'medium';
2753
 
2754
+ update_option( 'preload_cache_counter', array( 'c' => ( $c + 100 ), 't' => time() ) );
2755
  if ( $posts ) {
 
 
 
 
 
 
2756
  if ( $wp_cache_preload_email_me && $wp_cache_preload_email_volume == 'many' )
2757
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] Refreshing posts from %2$d to %3$d', 'wp-super-cache' ), site_url(), $c, ($c+100) ), ' ' );
2758
  $msg = '';
2760
  $permalink_counter_msg = $cache_path . "preload_permalink.txt";
2761
  foreach( $posts as $post_id ) {
2762
  set_time_limit( 60 );
 
 
2763
  clear_post_supercache( $post_id );
2764
  $url = get_permalink( $post_id );
2765
  $fp = @fopen( $permalink_counter_msg, 'w' );
2768
  @fclose( $fp );
2769
  }
2770
  if ( @file_exists( $cache_path . "stop_preload.txt" ) ) {
 
2771
  @unlink( $mutex );
2772
  @unlink( $cache_path . "stop_preload.txt" );
2773
  update_option( 'preload_cache_counter', array( 'c' => 0, 't' => time() ) );
2777
  }
2778
  $msg .= "$url\n";
2779
  wp_remote_get( $url, array('timeout' => 60, 'blocking' => true ) );
 
2780
  sleep( 1 );
2781
  $count++;
2782
  }
2783
  if ( $wp_cache_preload_email_me && $wp_cache_preload_email_volume != 'less' )
2784
+ wp_mail( get_option( 'admin_email' ), sprintf( __( '[%1$s] %2$d posts refreshed', 'wp-super-cache' ), $_SERVER[ 'HTTP_HOST' ], ($c+100) ), __( "Refreshed the following posts:", 'wp-super-cache' ) . "\n$msg" );
2785
  if ( defined( 'DOING_CRON' ) ) {
 
2786
  wp_schedule_single_event( time() + 30, 'wp_cache_preload_hook' );
2787
  }
2788
  } else {
2791
  if ( (int)$wp_cache_preload_interval && defined( 'DOING_CRON' ) ) {
2792
  if ( $wp_cache_preload_email_me )
2793
  $msg = sprintf( __( 'Scheduling next preload refresh in %d minutes.', 'wp-super-cache' ), (int)$wp_cache_preload_interval );
 
2794
  wp_schedule_single_event( time() + ( (int)$wp_cache_preload_interval * 60 ), 'wp_cache_full_preload_hook' );
2795
  }
2796
  global $file_prefix, $cache_max_time;
2801
  }
2802
  if ( $wp_cache_preload_email_me )
2803
  wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Cache Preload Completed', 'wp-super-cache' ), site_url() ), __( "Cleaning up old supercache files.", 'wp-super-cache' ) . "\n" . $msg );
 
2804
  wp_cache_phase2_clean_expired( $file_prefix, true ); // force cleanup of old files.
2805
  }
2806
  @unlink( $mutex );
2877
  $code .= "<li><code>chmod 666 " . WP_CONTENT_DIR . "/{$filename}</code></li>\n";
2878
  }
2879
  $code .= "</ul>\n";
2880
+
2881
  $msg .= "</ol>\n<p>First try fixing the directory permissions with this command and refresh this page:<br /><br /><code>chmod 777 " . WP_CONTENT_DIR . "</code><br /><br />If you still see this error, you have to fix the permissions on the files themselves and refresh this page again:</p> {$code}\n<p>Don't forgot to fix things later:<br /><code>chmod 755 " . WP_CONTENT_DIR . "</code></p><p>If you don't know what <strong>chmod</strong> is use <a href='http://www.google.ie/search?hl=en&q=ftp+chmod+777'>this Google search</a> to find out all about it.</p><p>Please refresh this page when the permissions have been modified.</p>";
2882
  wp_die( $msg );
2883
  }
2885
  if ( $scrules != '' && insert_with_markers( $home_path.'.htaccess', 'WPSuperCache', array() ) ) {
2886
  $wp_rewrite->flush_rules();
2887
  } elseif( $scrules != '' ) {
2888
+ wp_mail( get_option( 'admin_email' ), __( 'Supercache Uninstall Problems', 'wp-super-cache' ), sprintf( __( "Dear User,\n\nWP Super Cache was removed from your blog but the mod_rewrite rules\nin your .htaccess were not.\n\nPlease edit the following file and remove the code\nbetween 'BEGIN WPSuperCache' and 'END WPSuperCache'. Please backup the file first!\n\n%s\n\nRegards,\nWP Super Cache Plugin\nhttp://wordpress.org/extend/plugins/wp-super-cache/", 'wp-super-cache' ), ABSPATH . '/.htaccess' ) );
2889
  }
2890
  }
2891
 
2896
  $dh = @opendir($folderPath);
2897
  while( false !== ( $value = @readdir( $dh ) ) ) {
2898
  if ( $value != "." && $value != ".." ) {
2899
+ $value = $folderPath . "/" . $value;
2900
  if ( @is_dir ( $value ) ) {
2901
  uninstall_supercache( $value );
2902
  } else {
2912
 
2913
  function supercache_admin_bar_render() {
2914
  global $wp_admin_bar, $wp_cache_not_logged_in;
2915
+ if ( !is_user_logged_in() && !$wp_cache_not_logged_in )
2916
  return false;
2917
 
2918
+ if ( !wpsupercache_site_admin() )
2919
  return false;
2920
 
2921
  $wp_admin_bar->add_menu( array(
2922
  'parent' => '',
2923
  'id' => 'delete-cache',
2924
  'title' => __( 'Delete Cache', 'wp-super-cache' ),
2925
+ 'href' => wp_nonce_url( admin_url( 'options-general.php?page=wpsupercache&action=delete&path=' . urlencode( $_SERVER[ 'REQUEST_URI' ] ) ), 'delete-cache' )
 
2926
  ) );
2927
  }
2928
  add_action( 'wp_before_admin_bar_render', 'supercache_admin_bar_render' );
wp-super-cache.pot CHANGED
@@ -1,311 +1,39 @@
1
- # Copyright (C) 2013
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-super-cache\n"
7
- "POT-Creation-Date: 2013-10-23 10:46:15+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: ossdl-cdn.php:151
16
- msgid ""
17
- "Your website probably uses lots of static files. Image, Javascript and CSS "
18
- "files are usually static files that could just as easily be served from "
19
- "another site or CDN. Therefore this plugin replaces any links in the "
20
- "<code>wp-content</code> and <code>wp-includes</code> directories (except for "
21
- "PHP files) on your site with the URL you provide below. That way you can "
22
- "either copy all the static content to a dedicated host or mirror the files "
23
- "to a CDN by <a href=\"http://knowledgelayer.softlayer.com/questions/365/How"
24
- "+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a>."
25
- msgstr ""
26
-
27
- #: ossdl-cdn.php:152 wp-cache.php:1177
28
- msgid ""
29
- "The <a href=\"%1$s\">CDN Sync Tool</a> plugin will help upload files to "
30
- "Amazon S3/Cloudfront if you would rather not depend on origin pull. See the "
31
- "<a href=\"%2$s\">plugin support forum</a> if you have any queries about this "
32
- "plugin."
33
- msgstr ""
34
-
35
- #: ossdl-cdn.php:153
36
- msgid ""
37
- "<strong style=\"color: red\">WARNING:</strong> Test some static urls e.g., "
38
- "%s to ensure your CDN service is fully working before saving changes."
39
- msgstr ""
40
-
41
- #: ossdl-cdn.php:154
42
- msgid "You can define different CDN URLs for each site on a multsite network."
43
- msgstr ""
44
-
45
- #: ossdl-cdn.php:162
46
- msgid "Enable CDN Support"
47
- msgstr ""
48
-
49
- #: ossdl-cdn.php:165
50
- msgid "Off-site URL"
51
- msgstr ""
52
-
53
- #: ossdl-cdn.php:168
54
- msgid ""
55
- "The new URL to be used in place of %1$s for rewriting. No trailing <code>/</"
56
- "code> please.<br />Example: <code>%2$s</code>."
57
- msgstr ""
58
-
59
- #: ossdl-cdn.php:172
60
- msgid "Include directories"
61
- msgstr ""
62
-
63
- #: ossdl-cdn.php:175
64
- msgid ""
65
- "Directories to include in static file matching. Use a comma as the "
66
- "delimiter. Default is <code>wp-content, wp-includes</code>, which will be "
67
- "enforced if this field is left empty."
68
- msgstr ""
69
-
70
- #: ossdl-cdn.php:179
71
- msgid "Exclude if substring"
72
- msgstr ""
73
-
74
- #: ossdl-cdn.php:182
75
- msgid ""
76
- "Excludes something from being rewritten if one of the above strings is found "
77
- "in the match. Use a comma as the delimiter like this, <code>.php, .flv, .do</"
78
- "code>, and always include <code>.php</code> (default)."
79
- msgstr ""
80
-
81
- #: ossdl-cdn.php:186
82
- msgid "Additional CNAMES"
83
- msgstr ""
84
-
85
- #: ossdl-cdn.php:189
86
- msgid ""
87
- "These <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">CNAMES</a> will "
88
- "be used in place of %1$s for rewriting (in addition to the off-site URL "
89
- "above). Use a comma as the delimiter. For pages with a large number of "
90
- "static files, this can improve browser performance. CNAMEs may also need to "
91
- "be configured on your CDN.<br />Example: %2$s"
92
- msgstr ""
93
-
94
- #: ossdl-cdn.php:193
95
- msgid "Skip https URLs to avoid \"mixed content\" errors"
96
- msgstr ""
97
-
98
- #: ossdl-cdn.php:197
99
- msgid "Save Changes"
100
- msgstr ""
101
-
102
- #: ossdl-cdn.php:199
103
- msgid ""
104
- "CDN functionality provided by <a href=\"http://wordpress.org/extend/plugins/"
105
- "ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a> by <a href=\"http://mark."
106
- "ossdl.de/\">Mark Kubacki</a>"
107
- msgstr ""
108
-
109
- #: plugins/awaitingmoderation.php:4
110
- msgid "Your comment is awaiting moderation."
111
- msgstr ""
112
-
113
- #: plugins/awaitingmoderation.php:32
114
- msgid "Awaiting Moderation"
115
- msgstr ""
116
-
117
- #: plugins/awaitingmoderation.php:34 plugins/badbehaviour.php:65
118
- #: plugins/domain-mapping.php:75 plugins/jetpack.php:31
119
- #: plugins/searchengine.php:69 plugins/wptouch.php:22 wp-cache.php:1418
120
- msgid "Enabled"
121
- msgstr ""
122
-
123
- #: plugins/awaitingmoderation.php:35 plugins/badbehaviour.php:66
124
- #: plugins/domain-mapping.php:76 plugins/jetpack.php:32
125
- #: plugins/searchengine.php:70 plugins/wptouch.php:23 wp-cache.php:1418
126
- msgid "Disabled"
127
- msgstr ""
128
-
129
- #: plugins/awaitingmoderation.php:36
130
- msgid ""
131
- "Enables or disables plugin to Remove the text \"Your comment is awaiting "
132
- "moderation.\" when someone leaves a moderated comment."
133
- msgstr ""
134
-
135
- #: plugins/awaitingmoderation.php:40 plugins/badbehaviour.php:71
136
- #: plugins/domain-mapping.php:81 plugins/jetpack.php:37
137
- #: plugins/searchengine.php:75 plugins/wptouch.php:28 wp-cache.php:1879
138
- #: wp-cache.php:1881
139
- msgid "enabled"
140
- msgstr ""
141
-
142
- #: plugins/awaitingmoderation.php:42 plugins/badbehaviour.php:73
143
- #: plugins/domain-mapping.php:83 plugins/jetpack.php:39
144
- #: plugins/searchengine.php:77 plugins/wptouch.php:30
145
- msgid "disabled"
146
- msgstr ""
147
-
148
- #: plugins/awaitingmoderation.php:43
149
- msgid "Awaiting Moderation is now %s"
150
- msgstr ""
151
-
152
- #: plugins/awaitingmoderation.php:45 plugins/badbehaviour.php:76
153
- #: plugins/domain-mapping.php:86 plugins/jetpack.php:42
154
- #: plugins/searchengine.php:80 plugins/wptouch.php:33
155
- msgid "Update"
156
- msgstr ""
157
-
158
- #: plugins/badbehaviour.php:47
159
- msgid "Bad Behaviour not found. Please check your install."
160
- msgstr ""
161
-
162
- #: plugins/badbehaviour.php:63
163
- msgid "Bad Behavior"
164
- msgstr ""
165
-
166
- #: plugins/badbehaviour.php:68
167
- msgid ""
168
- "(Only legacy caching supported, disabled compression and requires <a href="
169
- "\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> in \"%s/plugins/bad-"
170
- "behavior/\") "
171
- msgstr ""
172
-
173
- #: plugins/badbehaviour.php:74
174
- msgid "Bad Behavior support is now %s"
175
- msgstr ""
176
-
177
- #: plugins/badbehaviour.php:83 wp-cache.php:1508 wp-cache.php:1513
178
- msgid "Warning!"
179
- msgstr ""
180
-
181
- #: plugins/domain-mapping.php:73
182
- msgid "Domain Mapping"
183
- msgstr ""
184
-
185
- #: plugins/domain-mapping.php:78
186
- msgid ""
187
- "Provides support for <a href=\"http://wordpress.org/extend/plugins/wordpress-"
188
- "mu-domain-mapping/\">Domain Mapping</a> plugin to map multiple domains to a "
189
- "blog."
190
- msgstr ""
191
-
192
- #: plugins/domain-mapping.php:84
193
- msgid "Domain Mapping support is now %s"
194
- msgstr ""
195
-
196
- #: plugins/domain-mapping.php:98
197
- msgid ""
198
- "Domain Mapping plugin detected! Please go to the Supercache plugins page and "
199
- "enable the domain mapping helper plugin."
200
- msgstr ""
201
-
202
- #: plugins/jetpack.php:25
203
- msgid "Jetpack Mobile Theme"
204
- msgstr ""
205
-
206
- #: plugins/jetpack.php:28
207
- msgid ""
208
- "Jetpack not found in %s. Install it and enable the mobile theme and this "
209
- "helper plugin to cache visits by mobile visitors."
210
- msgstr ""
211
-
212
- #: plugins/jetpack.php:34
213
- msgid ""
214
- "Provides support for the <a href=\"http://wordpress.org/extend/plugins/"
215
- "jetpack/\">Jetpack</a> mobile theme and plugin. PHP caching mode and mobile "
216
- "support will be enabled too."
217
- msgstr ""
218
-
219
- #: plugins/jetpack.php:40
220
- msgid "Jetpack Mobile Theme support is now %s"
221
- msgstr ""
222
-
223
- #: plugins/multisite.php:13
224
- msgid "Cached"
225
- msgstr ""
226
-
227
- #: plugins/multisite.php:31 wp-cache.php:1431
228
- msgid "Enable"
229
- msgstr ""
230
-
231
- #: plugins/multisite.php:33 plugins/searchengine.php:61 wp-cache.php:1431
232
- msgid "Disable"
233
- msgstr ""
234
-
235
- #: plugins/multisite.php:39
236
- msgid "Caching has been disabled on this blog on the Network Admin Sites page."
237
- msgstr ""
238
-
239
- #: plugins/searchengine.php:67
240
- msgid "No Adverts for Friends"
241
- msgstr ""
242
-
243
- #: plugins/searchengine.php:72
244
- msgid ""
245
- "Provides support for <a href=\"http://ocaoimh.ie/no-adverts-for-friends/"
246
- "\">No Adverts for Friends</a>."
247
- msgstr ""
248
-
249
- #: plugins/searchengine.php:78
250
- msgid "No Adverts for Friends support is now %s"
251
- msgstr ""
252
-
253
- #: plugins/wptouch.php:20
254
- msgid "WPTouch"
255
- msgstr ""
256
-
257
- #: plugins/wptouch.php:25
258
- msgid ""
259
- "Provides support for <a href=\"http://wordpress.org/extend/plugins/wptouch/"
260
- "\">WPTouch</a> mobile theme and plugin."
261
- msgstr ""
262
-
263
- #: plugins/wptouch.php:31
264
- msgid "WPTouch support is now %s"
265
- msgstr ""
266
-
267
- #: plugins/wptouch.php:45
268
- msgid ""
269
- "WPTouch plugin detected! Please go to the Supercache plugins page and enable "
270
- "the WPTouch helper plugin."
271
- msgstr ""
272
-
273
- #: wp-cache-phase2.php:1264
274
- msgid "Cache expiry cron job failed. Job will run again in 10 seconds."
275
- msgstr ""
276
-
277
- #: wp-cache-phase2.php:1268
278
- msgid ""
279
- "Cache expiry cron job took more than 30 seconds. You should probably run the "
280
- "garbage collector more often."
281
- msgstr ""
282
-
283
- #: wp-cache-phase2.php:1277
284
- msgid "[%1$s] WP Super Cache GC Report"
285
- msgstr ""
286
-
287
- #: wp-cache.php:109
288
  msgid ""
289
  "Please create %s /wp-cache-config.php from wp-super-cache/wp-cache-config-"
290
  "sample.php"
291
  msgstr ""
292
 
293
- #: wp-cache.php:175
294
  msgid "Warning! PHP Safe Mode Enabled!"
295
  msgstr ""
296
 
297
- #: wp-cache.php:176
298
  msgid ""
299
  "You may experience problems running this plugin because SAFE MODE is enabled."
300
  msgstr ""
301
 
302
- #: wp-cache.php:180
303
  msgid ""
304
  "Your server is set up to check the owner of PHP scripts before allowing them "
305
  "to read and write files."
306
  msgstr ""
307
 
308
- #: wp-cache.php:181
309
  msgid ""
310
  "You or an administrator may be able to make it work by changing the group "
311
  "owner of the plugin scripts to match that of the web server user. The group "
@@ -314,7 +42,7 @@ msgid ""
314
  "details."
315
  msgstr ""
316
 
317
- #: wp-cache.php:183
318
  msgid ""
319
  "You or an administrator must disable this. See the <a href=\"http://php.net/"
320
  "features.safe-mode\">safe mode manual page</a> for further details. This "
@@ -322,50 +50,50 @@ msgid ""
322
  "php.ini config file."
323
  msgstr ""
324
 
325
- #: wp-cache.php:189
326
  msgid "Permlink Structure Error"
327
  msgstr ""
328
 
329
- #: wp-cache.php:190
330
  msgid ""
331
  "A custom url or permalink structure is required for this plugin to work "
332
  "correctly. Please go to the <a href=\"options-permalink.php\">Permalinks "
333
  "Options Page</a> to configure your permalinks."
334
  msgstr ""
335
 
336
- #: wp-cache.php:202
337
  msgid "Warning! Your hostname \"%s\" resolves to %s"
338
  msgstr ""
339
 
340
- #: wp-cache.php:203
341
  msgid ""
342
  "Your server thinks your hostname resolves to %s. Some services such as "
343
  "garbage collection by this plugin, and WordPress scheduled posts may not "
344
  "operate correctly."
345
  msgstr ""
346
 
347
- #: wp-cache.php:204 wp-cache.php:218
348
  msgid ""
349
  "Please see entry 16 in the <a href=\"%s\">Troubleshooting section</a> of the "
350
  "readme.txt"
351
  msgstr ""
352
 
353
- #: wp-cache.php:217
354
  msgid ""
355
  "Unfortunately WordPress cannot find the file wp-cron.php. This script is "
356
  "required for the the correct operation of garbage collection by this plugin, "
357
  "WordPress scheduled posts as well as other critical activities."
358
  msgstr ""
359
 
360
- #: wp-cache.php:231
361
  msgid "Cannot continue... fix previous problems and retry."
362
  msgstr ""
363
 
364
- #: wp-cache.php:240
365
  msgid "Zlib Output Compression Enabled!"
366
  msgstr ""
367
 
368
- #: wp-cache.php:241
369
  msgid ""
370
  "PHP is compressing the data sent to the visitors of your site. Disabling "
371
  "this is recommended as the plugin caches the compressed output once instead "
@@ -374,11 +102,11 @@ msgid ""
374
  "configuration.php\">this page</a> for instructions on modifying your php.ini."
375
  msgstr ""
376
 
377
- #: wp-cache.php:245
378
  msgid "Mod rewrite may not be installed!"
379
  msgstr ""
380
 
381
- #: wp-cache.php:246
382
  msgid ""
383
  "It appears that mod_rewrite is not installed. Sometimes this check isn&#8217;"
384
  "t 100% reliable, especially if you are not using Apache. Please verify that "
@@ -386,214 +114,186 @@ msgid ""
386
  "static files. You will still be able to use legacy or PHP modes."
387
  msgstr ""
388
 
389
- #: wp-cache.php:252
390
  msgid "Read Only Mode. Configuration cannot be changed."
391
  msgstr ""
392
 
393
- #: wp-cache.php:253
394
  msgid ""
395
  "The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> "
396
  "and cannot be modified. That file must be writeable by the webserver to make "
397
  "any changes."
398
  msgstr ""
399
 
400
- #: wp-cache.php:254
401
  msgid ""
402
  "A simple way of doing that is by changing the permissions temporarily using "
403
  "the CHMOD command or through your ftp client. Make sure it&#8217;s globally "
404
  "writeable and it should be fine."
405
  msgstr ""
406
 
407
- #: wp-cache.php:255 wp-cache.php:304
408
  msgid ""
409
  "<a href=\"http://codex.wordpress.org/Changing_File_Permissions\">This page</"
410
  "a> explains how to change file permissions."
411
  msgstr ""
412
 
413
- #: wp-cache.php:256
414
  msgid "Writeable:"
415
  msgstr ""
416
 
417
- #: wp-cache.php:257
418
  msgid "Readonly:"
419
  msgstr ""
420
 
421
- #: wp-cache.php:275
422
- msgid "Warning! Garbage collection is not scheduled!"
423
- msgstr ""
424
-
425
- #: wp-cache.php:276
426
- msgid ""
427
- "Garbage collection by this plugin clears out expired and old cached pages on "
428
- "a regular basis. Use <a href=\"#expirytime\">this form</a> to enable it."
429
- msgstr ""
430
-
431
- #: wp-cache.php:281 wp-cache.php:309 wp-cache.php:379
432
- msgid "Dismiss"
433
- msgstr ""
434
-
435
- #: wp-cache.php:302
436
  msgid "Warning! %s is writeable!"
437
  msgstr ""
438
 
439
- #: wp-cache.php:303
440
  msgid ""
441
  "You should change the permissions on %s and make it more restrictive. Use "
442
  "your ftp client, or the following command to fix things:"
443
  msgstr ""
444
 
445
- #: wp-cache.php:321
446
  msgid "Mobile rewrite rules detected"
447
  msgstr ""
448
 
449
- #: wp-cache.php:322
450
  msgid ""
451
  "For best performance you should enable \"Mobile device support\" or delete "
452
  "the mobile rewrite rules in your .htaccess. Look for the 2 lines with the "
453
  "text \"2.0\\ MMP|240x320\" and delete those."
454
  msgstr ""
455
 
456
- #: wp-cache.php:322
457
  msgid ""
458
  "This will have no affect on ordinary users but mobile users will see "
459
  "uncached pages."
460
  msgstr ""
461
 
462
- #: wp-cache.php:328 wp-cache.php:339
463
  msgid "Rewrite rules must be updated"
464
  msgstr ""
465
 
466
- #: wp-cache.php:329 wp-cache.php:340
467
  msgid "The rewrite rules required by this plugin have changed or are missing. "
468
  msgstr ""
469
 
470
- #: wp-cache.php:330
471
  msgid ""
472
  "Mobile support requires extra rules in your .htaccess file, or you can set "
473
  "the plugin to legacy mode. Here are your options (in order of difficulty):"
474
  msgstr ""
475
 
476
- #: wp-cache.php:331
477
  msgid "Set the plugin to legacy mode and enable mobile support."
478
  msgstr ""
479
 
480
- #: wp-cache.php:332 wp-cache.php:341
481
  msgid ""
482
  "Scroll down the Advanced Settings page and click the <strong>Update "
483
  "Mod_Rewrite Rules</strong> button."
484
  msgstr ""
485
 
486
- #: wp-cache.php:333
487
  msgid ""
488
  "Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN "
489
  "WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin "
490
  "regenerate them by reloading this page."
491
  msgstr ""
492
 
493
- #: wp-cache.php:334
494
  msgid ""
495
  "Add the rules yourself. Edit %s.htaccess and find the block of code enclosed "
496
  "by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</"
497
  "code>. There are two sections that look very similar. Just below the line "
498
- "<code>%%{HTTP:Cookie} !^.*(comment_author_|%s|wp-postpass_).*$</code> add "
499
- "these lines: (do it twice, once for each section)"
500
  msgstr ""
501
 
502
- #: wp-cache.php:347
503
  msgid "Required to serve compressed supercache files properly."
504
  msgstr ""
505
 
506
- #: wp-cache.php:347
507
  msgid ""
508
  "Required to set caching information on supercache pages. IE7 users will see "
509
  "old pages without this module."
510
  msgstr ""
511
 
512
- #: wp-cache.php:347
513
  msgid ""
514
  "Set the expiry date on supercached pages. Visitors may not see new pages "
515
  "when they refresh or leave comments without this module."
516
  msgstr ""
517
 
518
- #: wp-cache.php:354
519
  msgid "Missing Apache Modules"
520
  msgstr ""
521
 
522
- #: wp-cache.php:355
523
  msgid ""
524
  "The following Apache modules are missing. The plugin will work in legacy "
525
  "mode without them. In full Supercache mode, your visitors may see corrupted "
526
  "pages or out of date content however."
527
  msgstr ""
528
 
529
- #: wp-cache.php:373
530
- msgid ".htaccess file may need to be moved"
531
- msgstr ""
532
-
533
- #: wp-cache.php:374
534
- msgid ""
535
- "It appears you have WordPress installed in a sub directory as described <a "
536
- "href=\"http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory\">here</"
537
- "a>. Unfortunately WordPress writes to the .htaccess in the install "
538
- "directory, not where your site is served from.<br />When you update the "
539
- "rewrite rules in this plugin you will have to copy the file to where your "
540
- "site is hosted. This will be fixed in the future."
541
- msgstr ""
542
-
543
- #: wp-cache.php:607
544
  msgid ""
545
  "<strong>Warning!</strong> You attempted to enable compression but <code>zlib."
546
  "output_compression</code> is enabled. See #21 in the Troubleshooting section "
547
  "of the readme file."
548
  msgstr ""
549
 
550
- #: wp-cache.php:703
551
  msgid "WP Super Cache Settings"
552
  msgstr ""
553
 
554
- #: wp-cache.php:717
555
  msgid ""
556
  "Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced "
557
  "Settings Page by default."
558
  msgstr ""
559
 
560
- #: wp-cache.php:728
561
  msgid ""
562
  "Configuration file changed, some values might be wrong. Load the page again "
563
  "from the \"Settings\" menu to reset them."
564
  msgstr ""
565
 
566
- #: wp-cache.php:760
567
  msgid "Caching must be enabled to use this feature"
568
  msgstr ""
569
 
570
- #: wp-cache.php:778 wp-cache.php:918
571
  msgid "Cancel Cache Preload"
572
  msgstr ""
573
 
574
- #: wp-cache.php:786
575
  msgid ""
576
  "Scheduled preloading of cache almost cancelled. It may take up to a minute "
577
  "for it to cancel completely."
578
  msgstr ""
579
 
580
- #: wp-cache.php:797
581
  msgid "Scheduled preloading of cache cancelled."
582
  msgstr ""
583
 
584
- #: wp-cache.php:829 wp-cache.php:916
585
  msgid "Preload Cache Now"
586
  msgstr ""
587
 
588
- #: wp-cache.php:833
589
  msgid "Scheduled preloading of cache in 10 seconds."
590
  msgstr ""
591
 
592
- #: wp-cache.php:838
593
  msgid "Scheduled preloading of cache in %d minutes"
594
  msgstr ""
595
 
596
- #: wp-cache.php:842
597
  msgid ""
598
  "This will cache every published post and page on your site. It will create "
599
  "supercache static files so unknown visitors (including bots) will hit a "
@@ -601,266 +301,230 @@ msgid ""
601
  "speed as a metric when judging websites now."
602
  msgstr ""
603
 
604
- #: wp-cache.php:843
605
  msgid ""
606
  "Preloading creates lots of files however. Caching is done from the newest "
607
  "post to the oldest so please consider only caching the newest if you have "
608
  "lots (10,000+) of posts. This is especially important on shared hosting."
609
  msgstr ""
610
 
611
- #: wp-cache.php:844
612
  msgid ""
613
  "In &#8217;Preload Mode&#8217; regular garbage collection will only clean out "
614
  "old legacy files for known users, not the preloaded supercache files. This "
615
  "is a recommended setting when the cache is preloaded."
616
  msgstr ""
617
 
618
- #: wp-cache.php:848
619
  msgid ""
620
  "Refresh preloaded cache files every %s minutes. (0 to disable, minimum %d "
621
  "minutes.)"
622
  msgstr ""
623
 
624
- #: wp-cache.php:861
625
  msgid "all"
626
  msgstr ""
627
 
628
- #: wp-cache.php:874
629
  msgid "Preload %s posts."
630
  msgstr ""
631
 
632
- #: wp-cache.php:881
633
  msgid ""
634
  "Preload mode (garbage collection only on legacy cache files. Recommended.)"
635
  msgstr ""
636
 
637
- #: wp-cache.php:884
638
- msgid "Preload tags, categories and other taxonomies."
639
- msgstr ""
640
-
641
- #: wp-cache.php:887
642
  msgid "Send me status emails when files are refreshed."
643
  msgstr ""
644
 
645
- #: wp-cache.php:892
646
  msgid "Many emails, 2 emails per 100 posts."
647
  msgstr ""
648
 
649
- #: wp-cache.php:895
650
  msgid "Medium, 1 email per 100 posts."
651
  msgstr ""
652
 
653
- #: wp-cache.php:898
654
  msgid "Less emails, 1 at the start and 1 at the end of preloading all posts."
655
  msgstr ""
656
 
657
- #: wp-cache.php:902
658
  msgid "Refresh of cache in %d hours %d minutes and %d seconds."
659
  msgstr ""
660
 
661
- #: wp-cache.php:903
662
  msgid "Full refresh of cache in %d hours %d minutes and %d seconds."
663
  msgstr ""
664
 
665
- #: wp-cache.php:909
666
  msgid "Currently caching from post %d to %d."
667
  msgstr ""
668
 
669
- #: wp-cache.php:913
670
  msgid "<strong>Page last cached:</strong> %s"
671
  msgstr ""
672
 
673
- #: wp-cache.php:916
674
  msgid "Update Settings"
675
  msgstr ""
676
 
677
- #: wp-cache.php:924
678
  msgid ""
679
  "Preloading of cache disabled. Please disable legacy page caching or talk to "
680
  "your host administrator."
681
  msgstr ""
682
 
683
- #: wp-cache.php:941 wp-cache.php:1053
684
  msgid "Caching"
685
  msgstr ""
686
 
687
- #: wp-cache.php:945
688
  msgid "Cache hits to this website for quick access."
689
  msgstr ""
690
 
691
- #: wp-cache.php:945 wp-cache.php:946 wp-cache.php:963 wp-cache.php:972
692
- #: wp-cache.php:979 wp-cache.php:982 wp-cache.php:1000 wp-cache.php:1056
693
  msgid "Recommended"
694
  msgstr ""
695
 
696
- #: wp-cache.php:946
697
  msgid "Use mod_rewrite to serve cache files."
698
  msgstr ""
699
 
700
- #: wp-cache.php:947
701
  msgid "Use PHP to serve cache files."
702
  msgstr ""
703
 
704
- #: wp-cache.php:948
705
  msgid "Legacy page caching."
706
  msgstr ""
707
 
708
- #: wp-cache.php:949
709
  msgid ""
710
  "Mod_rewrite is fastest, PHP is almost as fast and easier to get working, "
711
  "while legacy caching is slower again, but more flexible and also easy to get "
712
  "working. New users should use PHP caching."
713
  msgstr ""
714
 
715
- #: wp-cache.php:955
716
  msgid "Miscellaneous"
717
  msgstr ""
718
 
719
- #: wp-cache.php:961
720
  msgid "Warning! Compression is disabled as gzencode() function not found."
721
  msgstr ""
722
 
723
- #: wp-cache.php:963
724
  msgid "Compress pages so they&#8217;re served more quickly to visitors."
725
  msgstr ""
726
 
727
- #: wp-cache.php:964
728
  msgid ""
729
  "Compression is disabled by default because some hosts have problems with "
730
  "compressed files. Switching it on and off clears the cache."
731
  msgstr ""
732
 
733
- #: wp-cache.php:972
734
  msgid ""
735
  "304 Not Modified browser caching. Indicate when a page has not been modified "
736
  "since last requested."
737
  msgstr ""
738
 
739
- #: wp-cache.php:975
740
  msgid ""
741
- "Warning! 304 browser caching is only supported when not using mod_rewrite "
742
- "caching."
743
  msgstr ""
744
 
745
- #: wp-cache.php:977
746
- msgid ""
747
- "304 support is disabled by default because some hosts have had problems with "
748
- "the headers used in the past."
749
- msgstr ""
750
-
751
- #: wp-cache.php:979
752
  msgid ""
753
  "Don&#8217;t cache pages for <acronym title=\"Logged in users and those that "
754
  "comment\">known users</acronym>."
755
  msgstr ""
756
 
757
- #: wp-cache.php:980
758
- msgid "Don&#8217;t cache pages with GET parameters. (?x=y at the end of a url)"
759
- msgstr ""
760
-
761
- #: wp-cache.php:981
762
  msgid ""
763
  "Make known users anonymous so they&#8217;re served supercached static files."
764
  msgstr ""
765
 
766
- #: wp-cache.php:982
767
  msgid ""
768
  "Cache rebuild. Serve a supercache file to anonymous users while a new file "
769
  "is being generated."
770
  msgstr ""
771
 
772
- #: wp-cache.php:983
773
  msgid ""
774
  "Proudly tell the world your server is <a href=\"%s\">Stephen Fry proof</a>! "
775
  "(places a message in your blog&#8217;s footer)"
776
  msgstr ""
777
 
778
- #: wp-cache.php:989 wp-cache.php:1266 wp-cache.php:1888
779
  msgid "Advanced"
780
  msgstr ""
781
 
782
- #: wp-cache.php:993
783
- msgid ""
784
- "Enable dynamic caching. Requires PHP or legacy caching. (See <a href="
785
- "\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> or wp-"
786
- "super-cache/plugins/dynamic-cache-test.php for example code.)"
787
- msgstr ""
788
-
789
- #: wp-cache.php:994
790
  msgid ""
791
  "Mobile device support. (External plugin or theme required. See the <a href="
792
  "\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for "
793
  "further details.)"
794
  msgstr ""
795
 
796
- #: wp-cache.php:996
797
- msgid "Mobile Browsers"
798
- msgstr ""
799
-
800
- #: wp-cache.php:996
801
- msgid "Mobile Prefixes"
802
- msgstr ""
803
-
804
- #: wp-cache.php:998
805
- msgid ""
806
- "Remove UTF8/blog charset support from .htaccess file. Only necessary if you "
807
- "see odd characters or punctuation looks incorrect. Requires rewrite rules "
808
- "update."
809
- msgstr ""
810
-
811
- #: wp-cache.php:999
812
  msgid "Clear all cache files when a post or page is published or updated."
813
  msgstr ""
814
 
815
- #: wp-cache.php:1000
816
  msgid "Extra homepage checks. (Very occasionally stops homepage caching)"
817
  msgstr ""
818
 
819
- #: wp-cache.php:1001
820
  msgid "Only refresh current page when comments made."
821
  msgstr ""
822
 
823
- #: wp-cache.php:1002
824
  msgid "List the newest cached pages on this page."
825
  msgstr ""
826
 
827
- #: wp-cache.php:1004
828
  msgid ""
829
  "Coarse file locking. You probably don&#8217;t need this but it may help if "
830
  "your server is underpowered. Warning! <em>May cause your server to lock up "
831
  "in very rare cases!</em>"
832
  msgstr ""
833
 
834
- #: wp-cache.php:1006
835
  msgid ""
836
  "Late init. Display cached files after WordPress has loaded. Most useful in "
837
  "legacy mode."
838
  msgstr ""
839
 
840
- #: wp-cache.php:1008
841
  msgid "Use object cache to store cached files."
842
  msgstr ""
843
 
844
- #: wp-cache.php:1008
845
  msgid "(Experimental)"
846
  msgstr ""
847
 
848
- #: wp-cache.php:1010
849
  msgid "<strong>DO NOT CACHE PAGE</strong> secret key: <a href=\"%s\">%s</a>"
850
  msgstr ""
851
 
852
- #: wp-cache.php:1016
853
  msgid "Note:"
854
  msgstr ""
855
 
856
- #: wp-cache.php:1018
857
  msgid ""
858
  "Uninstall this plugin on the plugins page. It will automatically clean up "
859
  "after itself. If manual intervention is required then simple instructions "
860
  "are provided."
861
  msgstr ""
862
 
863
- #: wp-cache.php:1019
864
  msgid ""
865
  "If uninstalling this plugin, make sure the directory <em>%s</em> is "
866
  "writeable by the webserver so the files <em>advanced-cache.php</em> and "
@@ -868,14 +532,14 @@ msgid ""
868
  "files are writeable too is probably a good idea!)"
869
  msgstr ""
870
 
871
- #: wp-cache.php:1020
872
  msgid ""
873
  "Please see the <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> for "
874
  "instructions on uninstalling this script. Look for the heading, \"How to "
875
  "uninstall WP Super Cache\"."
876
  msgstr ""
877
 
878
- #: wp-cache.php:1021
879
  msgid ""
880
  "Need help? Check the <a href=\"%1$s\">Super Cache readme file</a>. It "
881
  "includes installation documentation, a FAQ and Troubleshooting tips. The <a "
@@ -883,27 +547,27 @@ msgid ""
883
  "have been answered."
884
  msgstr ""
885
 
886
- #: wp-cache.php:1024 wp-cache.php:1071
887
  msgid "Update Status"
888
  msgstr ""
889
 
890
- #: wp-cache.php:1031
891
  msgid "Accepted Filenames &amp; Rejected URIs"
892
  msgstr ""
893
 
894
- #: wp-cache.php:1056
895
  msgid "Caching On"
896
  msgstr ""
897
 
898
- #: wp-cache.php:1057
899
  msgid "Caching Off"
900
  msgstr ""
901
 
902
- #: wp-cache.php:1058
903
  msgid "Note: enables PHP caching, cache rebuild, and mobile support"
904
  msgstr ""
905
 
906
- #: wp-cache.php:1068
907
  msgid ""
908
  "Notice: PHP caching enabled but Supercache mod_rewrite rules detected. "
909
  "Cached files will be served using those rules. If your site is working ok "
@@ -911,125 +575,127 @@ msgid ""
911
  "your install and remove the SuperCache rules."
912
  msgstr ""
913
 
914
- #: wp-cache.php:1073
915
  msgid "Cache Tester"
916
  msgstr ""
917
 
918
- #: wp-cache.php:1074
919
  msgid "Test your cached website by clicking the test button below."
920
  msgstr ""
921
 
922
- #: wp-cache.php:1080
923
  msgid "Fetching %s to prime cache: "
924
  msgstr ""
925
 
926
- #: wp-cache.php:1082 wp-cache.php:1091 wp-cache.php:1103
927
  msgid "OK"
928
  msgstr ""
929
 
930
- #: wp-cache.php:1085
931
  msgid "Fetching first copy of %s: "
932
  msgstr ""
933
 
934
- #: wp-cache.php:1094 wp-cache.php:1105
935
  msgid "FAILED"
936
  msgstr ""
937
 
938
- #: wp-cache.php:1097
939
  msgid "Fetching second copy of %s: "
940
  msgstr ""
941
 
942
- #: wp-cache.php:1109
943
  msgid "One or more page requests failed:"
944
  msgstr ""
945
 
946
- #: wp-cache.php:1128 wp-cache.php:1129
947
  msgid "Page %d: %d (%s)"
948
  msgstr ""
949
 
950
- #: wp-cache.php:1135
951
  msgid "Page 1: %s"
952
  msgstr ""
953
 
954
- #: wp-cache.php:1136
955
  msgid "Page 2: %s"
956
  msgstr ""
957
 
958
- #: wp-cache.php:1137
959
  msgid "The timestamps on both pages match!"
960
  msgstr ""
961
 
962
- #: wp-cache.php:1139
963
  msgid "The pages do not match! Timestamps differ or were not found!"
964
  msgstr ""
965
 
966
- #: wp-cache.php:1140
967
  msgid "Things you can do:"
968
  msgstr ""
969
 
970
- #: wp-cache.php:1141
971
  msgid ""
972
  "Load your homepage in a logged out browser, check the timestamp at the end "
973
  "of the html source. Load the page again and compare the timestamp. Caching "
974
  "is working if the timestamps match."
975
  msgstr ""
976
 
977
- #: wp-cache.php:1142
978
  msgid ""
979
  "Enable logging on the Debug page here. That should help you track down the "
980
  "problem."
981
  msgstr ""
982
 
983
- #: wp-cache.php:1143
984
  msgid ""
985
  "You should check Page 1 and Page 2 above for errors. Your local server "
986
  "configuration may not allow your website to access itself."
987
  msgstr ""
988
 
989
- #: wp-cache.php:1151
990
  msgid "Send non-secure (non https) request for homepage"
991
  msgstr ""
992
 
993
- #: wp-cache.php:1152
994
  msgid "Test Cache"
995
  msgstr ""
996
 
997
- #: wp-cache.php:1156
998
  msgid "Delete Cached Pages"
999
  msgstr ""
1000
 
1001
- #: wp-cache.php:1157
1002
  msgid ""
1003
  "Cached pages are stored on your server as html and PHP files. If you need to "
1004
  "delete them use the button below."
1005
  msgstr ""
1006
 
1007
- #: wp-cache.php:1160 wp-cache.php:2429 wp-cache.php:2448 wp-cache.php:2619
1008
- #: wp-cache.php:3156
1009
  msgid "Delete Cache"
1010
  msgstr ""
1011
 
1012
- #: wp-cache.php:1167 wp-cache.php:2435
1013
  msgid "Delete Cache On All Blogs"
1014
  msgstr ""
1015
 
1016
- #: wp-cache.php:1172
1017
  msgid "Recommended Links and Plugins"
1018
  msgstr ""
1019
 
1020
- #: wp-cache.php:1173
1021
  msgid ""
1022
  "Caching is only one part of making a website faster. Here are some other "
1023
  "plugins that will help:"
1024
  msgstr ""
1025
 
1026
- #: wp-cache.php:1174
1027
  msgid ""
1028
- "<a href=\"%s\">WPSCMin</a>, a Supercache plugin that minifies cached pages "
1029
- "by removing whitespaces and extra characters "
 
 
1030
  msgstr ""
1031
 
1032
- #: wp-cache.php:1175
1033
  msgid ""
1034
  "<a href=\"%s\">Yahoo! Yslow</a> is an extension for the Firefox add-on "
1035
  "Firebug. It analyzes web pages and suggests ways to improve their "
@@ -1037,195 +703,176 @@ msgid ""
1037
  "the performance tools online at <a href=\"%s\">GTMetrix</a>."
1038
  msgstr ""
1039
 
1040
- #: wp-cache.php:1176
1041
  msgid ""
1042
  "<a href=\"%s\">Use Google Libraries</a> allows you to load some commonly "
1043
  "used Javascript libraries from Google webservers. Ironically it may reduce "
1044
  "your Yslow score."
1045
  msgstr ""
1046
 
1047
- #: wp-cache.php:1178
 
 
 
 
 
 
 
 
1048
  msgid ""
1049
  "<strong>Advanced users only:</strong> <a href=\"%s\">Speed up your site with "
1050
  "Caching and cache-control</a> explains how to make your site more cacheable "
1051
  "with .htaccess rules."
1052
  msgstr ""
1053
 
1054
- #: wp-cache.php:1179
1055
  msgid ""
1056
  "<strong>Advanced users only:</strong> Install an object cache. Choose from "
1057
  "<a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a href=\"%s"
1058
  "\">eAcccelerator</a> and others."
1059
  msgstr ""
1060
 
1061
- #: wp-cache.php:1180
1062
- msgid ""
1063
- "<a href=\"%s\">Cron View</a> is a useful plugin to use when trying to debug "
1064
- "garbage collection and preload problems."
1065
- msgstr ""
1066
-
1067
- #: wp-cache.php:1191
1068
  msgid "Make WordPress Faster"
1069
  msgstr ""
1070
 
1071
- #: wp-cache.php:1192
1072
  msgid ""
1073
  "%1$s is maintained and developed by %2$s with contributions from many others."
1074
  msgstr ""
1075
 
1076
- #: wp-cache.php:1193
1077
  msgid "He blogs at %1$s and posts photos at %2$s."
1078
  msgstr ""
1079
 
1080
- #: wp-cache.php:1194
1081
  msgid "Please say hi to him on %s too!"
1082
  msgstr ""
1083
 
1084
- #: wp-cache.php:1195
1085
  msgid "Need Help?"
1086
  msgstr ""
1087
 
1088
- #: wp-cache.php:1197
1089
- msgid ""
1090
- "Use the debug system in the Debug tab above. It will tell you what the "
1091
- "plugin is doing."
1092
- msgstr ""
1093
-
1094
- #: wp-cache.php:1198
1095
  msgid "<a href=\"%1$s\">Installation Help</a>"
1096
  msgstr ""
1097
 
1098
- #: wp-cache.php:1199
1099
  msgid "<a href=\"%1$s\">Frequently Asked Questions</a>"
1100
  msgstr ""
1101
 
1102
- #: wp-cache.php:1200
1103
  msgid "<a href=\"%1$s\">Support Forum</a>"
1104
  msgstr ""
1105
 
1106
- #: wp-cache.php:1201
1107
- msgid "<a href=\"%1$s\">Development Version</a>"
1108
- msgstr ""
1109
-
1110
- #: wp-cache.php:1203
1111
  msgid "Rate This Plugin!"
1112
  msgstr ""
1113
 
1114
- #: wp-cache.php:1204
1115
  msgid ""
1116
  "Please <a href=\"%s\">rate</a> this plugin and tell me if it works for you "
1117
  "or not. It really helps development."
1118
  msgstr ""
1119
 
1120
- #: wp-cache.php:1213
1121
  msgid "Cached pages since %1$s : <strong>%2$s</strong>"
1122
  msgstr ""
1123
 
1124
- #: wp-cache.php:1214
1125
  msgid "Newest Cached Pages:"
1126
  msgstr ""
1127
 
1128
- #: wp-cache.php:1218
1129
  msgid "Cached %s seconds ago"
1130
  msgstr ""
1131
 
1132
- #: wp-cache.php:1221
1133
  msgid "(may not always be accurate on busy sites)"
1134
  msgstr ""
1135
 
1136
- #: wp-cache.php:1237
1137
  msgid ""
1138
  "Cache plugins are PHP scripts that live in a plugins folder inside the wp-"
1139
  "super-cache folder. They are loaded when Supercache loads, much sooner than "
1140
  "regular WordPress plugins."
1141
  msgstr ""
1142
 
1143
- #: wp-cache.php:1238
1144
  msgid ""
1145
  "This is strictly an advanced feature only and knowledge of both PHP and "
1146
  "WordPress actions is required to create them."
1147
  msgstr ""
1148
 
1149
- #: wp-cache.php:1239
1150
- msgid ""
1151
- "<strong>Warning</strong>! Due to the way WordPress upgrades plugins the "
1152
- "plugins you upload to wp-super-cache/plugins/ will be deleted when you "
1153
- "upgrade WP Super Cache. You can avoid this by loading the plugins from "
1154
- "elsewhere. Set <strong>$wp_cache_plugins_dir</strong> to the new location in "
1155
- "wp-config.php and WP Super Cache will look there instead.<br />More info "
1156
- "available in the <a href=\"http://ocaoimh.ie/wp-super-cache-developers/"
1157
- "\">developer documentation</a>."
1158
- msgstr ""
1159
-
1160
- #: wp-cache.php:1249
1161
  msgid "Available Plugins"
1162
  msgstr ""
1163
 
1164
- #: wp-cache.php:1266
1165
  msgid "Easy"
1166
  msgstr ""
1167
 
1168
- #: wp-cache.php:1266
1169
  msgid "CDN"
1170
  msgstr ""
1171
 
1172
- #: wp-cache.php:1266
1173
  msgid "Contents"
1174
  msgstr ""
1175
 
1176
- #: wp-cache.php:1266
1177
  msgid "Preload"
1178
  msgstr ""
1179
 
1180
- #: wp-cache.php:1266
1181
  msgid "Plugins"
1182
  msgstr ""
1183
 
1184
- #: wp-cache.php:1266
1185
  msgid "Debug"
1186
  msgstr ""
1187
 
1188
- #: wp-cache.php:1304
1189
  msgid ""
1190
  "Notice: WP Super Cache mod_rewrite rule checks disabled unless running on <a "
1191
  "href=\"%s\">the main site</a> of this network."
1192
  msgstr ""
1193
 
1194
- #: wp-cache.php:1313
1195
  msgid "Mod Rewrite Rules"
1196
  msgstr ""
1197
 
1198
- #: wp-cache.php:1319
1199
  msgid "WordPress MU Detected"
1200
  msgstr ""
1201
 
1202
- #: wp-cache.php:1319
1203
  msgid ""
1204
  "Unfortunately the rewrite rules cannot be updated automatically when running "
1205
  "WordPress MU. Please open your .htaccess and add the following mod_rewrite "
1206
  "rules above any other rules in that file."
1207
  msgstr ""
1208
 
1209
- #: wp-cache.php:1321
1210
  msgid "Mod Rewrite rules cannot be updated!"
1211
  msgstr ""
1212
 
1213
- #: wp-cache.php:1322
1214
  msgid ""
1215
  "You must have <strong>BEGIN</strong> and <strong>END</strong> markers in %s."
1216
  "htaccess for the auto update to work. They look like this and surround the "
1217
  "main WordPress mod_rewrite rules:"
1218
  msgstr ""
1219
 
1220
- #: wp-cache.php:1324
1221
  msgid "Refresh this page when you have updated your .htaccess file."
1222
  msgstr ""
1223
 
1224
- #: wp-cache.php:1328
1225
  msgid "Thank you for upgrading."
1226
  msgstr ""
1227
 
1228
- #: wp-cache.php:1328
1229
  msgid ""
1230
  "The mod_rewrite rules changed since you last installed this plugin. "
1231
  "Unfortunately you must remove the old supercache rules before the new ones "
@@ -1237,11 +884,11 @@ msgid ""
1237
  "brave enough to use them."
1238
  msgstr ""
1239
 
1240
- #: wp-cache.php:1332
1241
  msgid "Trailing slash check required."
1242
  msgstr ""
1243
 
1244
- #: wp-cache.php:1332
1245
  msgid ""
1246
  "It looks like your blog has URLs that end with a \"/\". Unfortunately since "
1247
  "you installed this plugin a duplicate content bug has been found where URLs "
@@ -1250,41 +897,41 @@ msgid ""
1250
  "and add these two rules to the two groups of Super Cache rules:"
1251
  msgstr ""
1252
 
1253
- #: wp-cache.php:1334
1254
  msgid ""
1255
  "You can see where the rules go and examine the complete rules by clicking "
1256
  "the \"View mod_rewrite rules\" link below."
1257
  msgstr ""
1258
 
1259
- #: wp-cache.php:1348
1260
  msgid "Mod Rewrite rules updated!"
1261
  msgstr ""
1262
 
1263
- #: wp-cache.php:1349
1264
  msgid ""
1265
  "%s.htaccess has been updated with the necessary mod_rewrite rules. Please "
1266
  "verify they are correct. They should look like this:"
1267
  msgstr ""
1268
 
1269
- #: wp-cache.php:1351
1270
  msgid "Mod Rewrite rules must be updated!"
1271
  msgstr ""
1272
 
1273
- #: wp-cache.php:1352
1274
  msgid ""
1275
  "Your %s.htaccess is not writable by the webserver and must be updated with "
1276
  "the necessary mod_rewrite rules. The new rules go above the regular "
1277
  "WordPress rules as shown in the code below:"
1278
  msgstr ""
1279
 
1280
- #: wp-cache.php:1357
1281
  msgid ""
1282
  "WP Super Cache mod rewrite rules were detected in your %s.htaccess file.<br /"
1283
  "> Click the following link to see the lines added to that file. If you have "
1284
  "upgraded the plugin make sure these rules match."
1285
  msgstr ""
1286
 
1287
- #: wp-cache.php:1360
1288
  msgid ""
1289
  "A difference between the rules in your .htaccess file and the plugin rewrite "
1290
  "rules has been found. This could be simple whitespace differences but you "
@@ -1292,243 +939,251 @@ msgid ""
1292
  "Click the &#8217;Update Mod_Rewrite Rules&#8217; button to update the rules."
1293
  msgstr ""
1294
 
1295
- #: wp-cache.php:1362
1296
  msgid "View Mod_Rewrite Rules"
1297
  msgstr ""
1298
 
1299
- #: wp-cache.php:1368 wp-cache.php:2737
1300
  msgid "Rules must be added to %s too:"
1301
  msgstr ""
1302
 
1303
- #: wp-cache.php:1375
1304
  msgid "Gzip encoding rules in %s.htaccess created."
1305
  msgstr ""
1306
 
1307
- #: wp-cache.php:1382
1308
  msgid "Fix Configuration"
1309
  msgstr ""
1310
 
1311
- #: wp-cache.php:1385
1312
  msgid "Restore Default Configuration"
1313
  msgstr ""
1314
 
1315
- #: wp-cache.php:1393
1316
  msgid ""
1317
  "Comment moderation is enabled. Your comment may take some time to appear."
1318
  msgstr ""
1319
 
1320
- #: wp-cache.php:1418
1321
  msgid "Lock Down:"
1322
  msgstr ""
1323
 
1324
- #: wp-cache.php:1419
 
 
 
 
 
 
 
 
 
 
1325
  msgid ""
1326
  "Prepare your server for an expected spike in traffic by enabling the lock "
1327
  "down. When this is enabled, new comments on a post will not refresh the "
1328
  "cached static files."
1329
  msgstr ""
1330
 
1331
- #: wp-cache.php:1420
1332
  msgid ""
1333
  "Developers: Make your plugin lock down compatible by checking the "
1334
  "\"WPLOCKDOWN\" constant. The following code will make sure your plugin "
1335
  "respects the WPLOCKDOWN setting."
1336
  msgstr ""
1337
 
1338
- #: wp-cache.php:1422
1339
  msgid "Sorry. My blog is locked down. Updates will appear shortly"
1340
  msgstr ""
1341
 
1342
- #: wp-cache.php:1426
1343
  msgid ""
1344
  "WordPress is locked down. Super Cache static files will not be deleted when "
1345
  "new comments are made."
1346
  msgstr ""
1347
 
1348
- #: wp-cache.php:1428
1349
  msgid ""
1350
  "WordPress is not locked down. New comments will refresh Super Cache static "
1351
  "files as normal."
1352
  msgstr ""
1353
 
1354
- #: wp-cache.php:1434
 
 
 
 
 
 
 
 
1355
  msgid "Lock Down"
1356
  msgstr ""
1357
 
1358
- #: wp-cache.php:1442
1359
  msgid "Directly Cached Files"
1360
  msgstr ""
1361
 
1362
- #: wp-cache.php:1500
1363
  msgid "%s removed!"
1364
  msgstr ""
1365
 
1366
- #: wp-cache.php:1508
 
 
 
 
1367
  msgid ""
1368
  "You must make %s writable to enable this feature. As this is a security risk "
1369
  "please make it readonly after your page is generated."
1370
  msgstr ""
1371
 
1372
- #: wp-cache.php:1513
1373
  msgid ""
1374
  "%s is writable. Please make it readonly after your page is generated as this "
1375
  "is a security risk."
1376
  msgstr ""
1377
 
1378
- #: wp-cache.php:1528
1379
  msgid "Existing direct page"
1380
  msgstr ""
1381
 
1382
- #: wp-cache.php:1528
1383
  msgid "Delete cached file"
1384
  msgstr ""
1385
 
1386
- #: wp-cache.php:1533
1387
  msgid "Add direct page:"
1388
  msgstr ""
1389
 
1390
- #: wp-cache.php:1535
1391
  msgid ""
1392
  "Directly cached files are files created directly off %s where your blog "
1393
  "lives. This feature is only useful if you are expecting a major Digg or "
1394
  "Slashdot level of traffic to one post or page."
1395
  msgstr ""
1396
 
1397
- #: wp-cache.php:1537
1398
  msgid ""
1399
  "For example: to cache <em>%1$sabout/</em>, you would enter %1$sabout/ or /"
1400
  "about/. The cached file will be generated the next time an anonymous user "
1401
  "visits that page."
1402
  msgstr ""
1403
 
1404
- #: wp-cache.php:1538
1405
  msgid ""
1406
  "Make the textbox blank to remove it from the list of direct pages and delete "
1407
  "the cached file."
1408
  msgstr ""
1409
 
1410
- #: wp-cache.php:1543
1411
  msgid "Update Direct Pages"
1412
  msgstr ""
1413
 
1414
- #: wp-cache.php:1571
1415
- msgctxt "timezone date format"
1416
- msgid "Y-m-d G:i:s"
1417
- msgstr ""
1418
-
1419
- #: wp-cache.php:1633
1420
  msgid "Expiry Time &amp; Garbage Collection"
1421
  msgstr ""
1422
 
1423
- #: wp-cache.php:1635
1424
- msgid ""
1425
- "<abbr title=\"Coordinated Universal Time\">UTC</abbr> time is <code>%s</code>"
1426
- msgstr ""
1427
-
1428
- #: wp-cache.php:1638
1429
- msgid "Local time is <code>%1$s</code>"
1430
  msgstr ""
1431
 
1432
- #: wp-cache.php:1642
1433
- msgid "Next scheduled garbage collection will be at <strong>%s UTC</strong>"
1434
  msgstr ""
1435
 
1436
- #: wp-cache.php:1646
1437
  msgid ""
1438
  "Warning! <strong>PRELOAD MODE</strong> activated. Supercache files will not "
1439
  "be deleted regardless of age."
1440
  msgstr ""
1441
 
1442
- #: wp-cache.php:1663
1443
  msgid "Cache Timeout"
1444
  msgstr ""
1445
 
1446
- #: wp-cache.php:1664 wp-cache.php:1667
1447
  msgid "seconds"
1448
  msgstr ""
1449
 
1450
- #: wp-cache.php:1665
1451
  msgid ""
1452
  "How long should cached pages remain fresh? Set to 0 to disable garbage "
1453
  "collection. A good starting point is 3600 seconds."
1454
  msgstr ""
1455
 
1456
- #: wp-cache.php:1666
1457
  msgid "Scheduler"
1458
  msgstr ""
1459
 
1460
- #: wp-cache.php:1666
1461
  msgid "Timer:"
1462
  msgstr ""
1463
 
1464
- #: wp-cache.php:1667
1465
  msgid "Check for stale cached files every <em>interval</em> seconds."
1466
  msgstr ""
1467
 
1468
- #: wp-cache.php:1668
1469
  msgid "Clock:"
1470
  msgstr ""
1471
 
1472
- #: wp-cache.php:1669
1473
  msgid "HH:MM"
1474
  msgstr ""
1475
 
1476
- #: wp-cache.php:1669
1477
  msgid ""
1478
- "Check for stale cached files at this time <strong>(UTC)</strong> or starting "
1479
- "at this time every <em>interval</em> below."
1480
  msgstr ""
1481
 
1482
- #: wp-cache.php:1671
1483
  msgid "Interval:"
1484
  msgstr ""
1485
 
1486
- #: wp-cache.php:1677
1487
  msgid "Notification Emails"
1488
  msgstr ""
1489
 
1490
- #: wp-cache.php:1678
1491
- msgid "Email me when the garbage collection runs."
1492
- msgstr ""
1493
-
1494
- #: wp-cache.php:1680
1495
  msgid "Garbage Collection"
1496
  msgstr ""
1497
 
1498
- #: wp-cache.php:1681
1499
  msgid ""
1500
  "<em>Garbage collection</em> is the simple act of throwing out your garbage. "
1501
  "For this plugin that would be old or <em>stale</em> cached files that may be "
1502
  "out of date. New cached files are described as <em>fresh</em>."
1503
  msgstr ""
1504
 
1505
- #: wp-cache.php:1682
1506
  msgid ""
1507
  "Cached files are fresh for a limited length of time. You can set that time "
1508
  "in the <em>Cache Timeout</em> text box on this page."
1509
  msgstr ""
1510
 
1511
- #: wp-cache.php:1683
1512
  msgid ""
1513
  "Stale cached files are not removed as soon as they become stale. They have "
1514
  "to be removed by the garbage collecter. That is why you have to tell the "
1515
  "plugin when the garbage collector should run."
1516
  msgstr ""
1517
 
1518
- #: wp-cache.php:1684
1519
  msgid ""
1520
  "Use the <em>Timer</em> or <em>Clock</em> schedulers to define when the "
1521
  "garbage collector should run."
1522
  msgstr ""
1523
 
1524
- #: wp-cache.php:1685
1525
  msgid ""
1526
  "The <em>Timer</em> scheduler tells the plugin to run the garbage collector "
1527
  "at regular intervals. When one garbage collection is done, the next run is "
1528
  "scheduled."
1529
  msgstr ""
1530
 
1531
- #: wp-cache.php:1686
1532
  msgid ""
1533
  "Or, the <em>Clock</em> scheduler allows the garbage collection to run at "
1534
  "specific times. If set to run hourly or twicedaily the garbage collector "
@@ -1537,42 +1192,42 @@ msgid ""
1537
  "time specified."
1538
  msgstr ""
1539
 
1540
- #: wp-cache.php:1688
1541
  msgid ""
1542
  "There are no best garbage collection settings but here are a few scenarios. "
1543
  "Garbage collection is separate to other actions that clear our cached files "
1544
  "like leaving a comment or publishing a post."
1545
  msgstr ""
1546
 
1547
- #: wp-cache.php:1690
1548
  msgid ""
1549
  "Sites that want to serve lots of newly generated data should set the "
1550
  "<em>Cache Timeout</em> to 60 and use the <em>Timer</em> scheduler set to 90 "
1551
  "seconds."
1552
  msgstr ""
1553
 
1554
- #: wp-cache.php:1691
1555
  msgid ""
1556
  "Sites with widgets and rss feeds in their sidebar should probably use a "
1557
  "timeout of 3600 seconds and set the timer to 600 seconds. Stale files will "
1558
  "be caught within 10 minutes of going stale."
1559
  msgstr ""
1560
 
1561
- #: wp-cache.php:1692
1562
  msgid ""
1563
  "Sites with lots of static content, no widgets or rss feeds in their sidebar "
1564
  "can use a timeout of 86400 seconds or even more and set the timer to "
1565
  "something equally long."
1566
  msgstr ""
1567
 
1568
- #: wp-cache.php:1693
1569
  msgid ""
1570
  "Sites where an external data source updates at a particular time every day "
1571
  "should set the timeout to 86400 seconds and use the Clock scheduler set "
1572
  "appropriately."
1573
  msgstr ""
1574
 
1575
- #: wp-cache.php:1695
1576
  msgid ""
1577
  "Checking for and deleting expired files is expensive, but it&#8217;s "
1578
  "expensive leaving them there too. On a very busy site you should set the "
@@ -1583,81 +1238,81 @@ msgid ""
1583
  "using mod_rewrite or PHP caching."
1584
  msgstr ""
1585
 
1586
- #: wp-cache.php:1696
1587
  msgid "Set the expiry time to 0 seconds to disable garbage collection."
1588
  msgstr ""
1589
 
1590
- #: wp-cache.php:1697
1591
  msgid "Change Expiration"
1592
  msgstr ""
1593
 
1594
- #: wp-cache.php:1741
1595
  msgid "Rejected User Agents"
1596
  msgstr ""
1597
 
1598
- #: wp-cache.php:1742
1599
  msgid ""
1600
  "Strings in the HTTP &#8217;User Agent&#8217; header that prevent WP-Cache "
1601
  "from caching bot, spiders, and crawlers&#8217; requests. Note that super "
1602
  "cached files are still sent to these agents if they already exists."
1603
  msgstr ""
1604
 
1605
- #: wp-cache.php:1749
1606
  msgid "Save UA Strings"
1607
  msgstr ""
1608
 
1609
- #: wp-cache.php:1772
1610
  msgid ""
1611
  "Do not cache the following page types. See the <a href=\"http://codex."
1612
  "wordpress.org/Conditional_Tags\">Conditional Tags</a> documentation for a "
1613
  "complete discussion on each type."
1614
  msgstr ""
1615
 
1616
- #: wp-cache.php:1775
1617
  msgid "Single Posts"
1618
  msgstr ""
1619
 
1620
- #: wp-cache.php:1776
1621
  msgid "Pages"
1622
  msgstr ""
1623
 
1624
- #: wp-cache.php:1777
1625
  msgid "Front Page"
1626
  msgstr ""
1627
 
1628
- #: wp-cache.php:1778
1629
  msgid "Home"
1630
  msgstr ""
1631
 
1632
- #: wp-cache.php:1779
1633
  msgid "Archives"
1634
  msgstr ""
1635
 
1636
- #: wp-cache.php:1780
1637
  msgid "Tags"
1638
  msgstr ""
1639
 
1640
- #: wp-cache.php:1781
1641
  msgid "Category"
1642
  msgstr ""
1643
 
1644
- #: wp-cache.php:1782
1645
  msgid "Feeds"
1646
  msgstr ""
1647
 
1648
- #: wp-cache.php:1783
1649
  msgid "Search Pages"
1650
  msgstr ""
1651
 
1652
- #: wp-cache.php:1784
1653
  msgid "Author Pages"
1654
  msgstr ""
1655
 
1656
- #: wp-cache.php:1786 wp-cache.php:1898
1657
  msgid "Save"
1658
  msgstr ""
1659
 
1660
- #: wp-cache.php:1803
1661
  msgid ""
1662
  "Add here strings (not a filename) that forces a page not to be cached. For "
1663
  "example, if your URLs include year and you dont want to cache last year "
@@ -1666,51 +1321,57 @@ msgid ""
1666
  "cache that page."
1667
  msgstr ""
1668
 
1669
- #: wp-cache.php:1809
1670
  msgid "Save Strings"
1671
  msgstr ""
1672
 
1673
- #: wp-cache.php:1825
1674
  msgid ""
1675
  "Add here those filenames that can be cached, even if they match one of the "
1676
  "rejected substring specified above."
1677
  msgstr ""
1678
 
1679
- #: wp-cache.php:1831
1680
  msgid "Save Files"
1681
  msgstr ""
1682
 
1683
- #: wp-cache.php:1872
1684
  msgid "Currently logging to: %s"
1685
  msgstr ""
1686
 
1687
- #: wp-cache.php:1875
1688
  msgid ""
1689
  "Fix problems with the plugin by debugging it here. It can log them to a file "
1690
  "in your cache directory."
1691
  msgstr ""
1692
 
1693
- #: wp-cache.php:1879
1694
  msgid "Debugging"
1695
  msgstr ""
1696
 
1697
- #: wp-cache.php:1880
 
 
 
 
 
 
1698
  msgid "IP Address"
1699
  msgstr ""
1700
 
1701
- #: wp-cache.php:1880
1702
  msgid "(only log requests from this IP address. Your IP is %s)"
1703
  msgstr ""
1704
 
1705
- #: wp-cache.php:1881
1706
- msgid "Cache Status Messages"
1707
  msgstr ""
1708
 
1709
- #: wp-cache.php:1882
1710
- msgid "Display comments at the end of every page like this:"
1711
  msgstr ""
1712
 
1713
- #: wp-cache.php:1888
1714
  msgid ""
1715
  "In very rare cases two problems may arise on some blogs:<ol><li> The front "
1716
  "page may start downloading as a zip file.</li><li> The wrong page is "
@@ -1718,7 +1379,7 @@ msgid ""
1718
  "and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>"
1719
  msgstr ""
1720
 
1721
- #: wp-cache.php:1889
1722
  msgid ""
1723
  "I&#8217;m 99% certain that they aren&#8217;t bugs in WP Super Cache and they "
1724
  "only happen in very rare cases but you can run a simple check once every 5 "
@@ -1726,92 +1387,88 @@ msgid ""
1726
  "emailed if there is a problem."
1727
  msgstr ""
1728
 
1729
- #: wp-cache.php:1891
1730
  msgid "Check front page every 5 minutes."
1731
  msgstr ""
1732
 
1733
- #: wp-cache.php:1892
1734
  msgid "Front page text"
1735
  msgstr ""
1736
 
1737
- #: wp-cache.php:1892
1738
  msgid ""
1739
  "Text to search for on your front page. If this text is missing the cache "
1740
  "will be cleared. Leave blank to disable."
1741
  msgstr ""
1742
 
1743
- #: wp-cache.php:1893
1744
  msgid "Clear cache on error."
1745
  msgstr ""
1746
 
1747
- #: wp-cache.php:1894
1748
  msgid "Email the blog admin when checks are made. (useful for testing)"
1749
  msgstr ""
1750
 
1751
- #: wp-cache.php:1908
1752
  msgid ""
1753
  "Error: GZIP compression is enabled, disable it if you want to enable wp-"
1754
  "cache."
1755
  msgstr ""
1756
 
1757
- #: wp-cache.php:1958 wp-cache.php:2099 wp-cache.php:2135
1758
  msgid "Warning"
1759
  msgstr ""
1760
 
1761
- #: wp-cache.php:1958
1762
  msgid ""
1763
  "GZIP compression is enabled in WordPress, wp-cache will be bypassed until "
1764
  "you disable gzip compression."
1765
  msgstr ""
1766
 
1767
- #: wp-cache.php:2020 wp-cache.php:2025 wp-cache.php:2058 wp-cache.php:2063
1768
- #: wp-cache.php:2069
1769
  msgid "Error"
1770
  msgstr ""
1771
 
1772
- #: wp-cache.php:2020
1773
  msgid ""
1774
  "Your cache directory (<strong>%1$s</strong>) did not exist and couldn&#8217;"
1775
  "t be created by the web server. Check %1$s permissions."
1776
  msgstr ""
1777
 
1778
- #: wp-cache.php:2025
1779
  msgid ""
1780
  "Your cache directory (<strong>%1$s</strong>) or <strong>%2$s</strong> need "
1781
  "to be writable for this plugin to work. Double-check it."
1782
  msgstr ""
1783
 
1784
- #: wp-cache.php:2058
1785
  msgid ""
1786
  "Your WP-Cache config file (<strong>%s</strong>) is out of date and not "
1787
  "writable by the Web server.Please delete it and refresh this page."
1788
  msgstr ""
1789
 
1790
- #: wp-cache.php:2063
1791
  msgid ""
1792
  "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is "
1793
  "not writable by the Web server.Check its permissions."
1794
  msgstr ""
1795
 
1796
- #: wp-cache.php:2069
1797
  msgid ""
1798
  "Sample WP-Cache config file (<strong>%s</strong>) does not exist.Verify you "
1799
  "installation."
1800
  msgstr ""
1801
 
1802
- #: wp-cache.php:2099
1803
- msgid "Could not update %s!</em> WPCACHEHOME must be set in config file."
1804
- msgstr ""
1805
-
1806
- #: wp-cache.php:2135
1807
  msgid "%s/advanced-cache.php</em> does not exist or cannot be updated."
1808
  msgstr ""
1809
 
1810
- #: wp-cache.php:2136
1811
  msgid "1. If it already exists please delete the file first."
1812
  msgstr ""
1813
 
1814
- #: wp-cache.php:2137
1815
  msgid ""
1816
  "2. Make %1$s writable using the chmod command through your ftp or server "
1817
  "software. (<em>chmod 777 %1$s</em>) and refresh this page. This is only a "
@@ -1819,24 +1476,24 @@ msgid ""
1819
  "again. (Change 777 to 755 in the previous command)"
1820
  msgstr ""
1821
 
1822
- #: wp-cache.php:2138
1823
  msgid "3. Refresh this page to update <em>%s/advanced-cache.php</em>"
1824
  msgstr ""
1825
 
1826
- #: wp-cache.php:2139
1827
  msgid ""
1828
  "If that doesn&#8217;t work, make sure the file <em>%s/advanced-cache.php</"
1829
  "em> doesn&#8217;t exist:"
1830
  msgstr ""
1831
 
1832
- #: wp-cache.php:2140
1833
  msgid ""
1834
  "<li>1. Open <em>%1$s$wp_cache_file</em> in a text editor.</li><li>2. Change "
1835
  "the text <em>CACHEHOME</em> to <em>%2$s</em></li><li>3. Save the file and "
1836
  "copy it to <em>%3$s</em> and refresh this page.</li>"
1837
  msgstr ""
1838
 
1839
- #: wp-cache.php:2163
1840
  msgid ""
1841
  "<h3>WP_CACHE constant set to false</h3><p>The WP_CACHE constant is used by "
1842
  "WordPress to load the code that serves cached pages. Unfortunately it is set "
@@ -1845,300 +1502,308 @@ msgid ""
1845
  "true);</code></p>"
1846
  msgstr ""
1847
 
1848
- #: wp-cache.php:2165
1849
  msgid ""
1850
  "<strong>Error: WP_CACHE is not enabled</strong> in your <code>wp-config.php</"
1851
  "code> file and I couldn&#8217;t modify it."
1852
  msgstr ""
1853
 
1854
- #: wp-cache.php:2166
1855
  msgid ""
1856
  "Edit <code>%s</code> and add the following line:<br /> <code>define"
1857
  "('WP_CACHE', true);</code><br />Otherwise, <strong>WP-Cache will not be "
1858
  "executed</strong> by WordPress core. "
1859
  msgstr ""
1860
 
1861
- #: wp-cache.php:2170
1862
  msgid ""
1863
  "<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see "
1864
  "this warning message please see point 5 of the <a href=\"http://wordpress."
1865
- "org/extend/plugins/wp-super-cache/faq/\">Troubleshooting Guide</a>. The "
1866
- "WP_CACHE line must be moved up."
1867
  msgstr ""
1868
 
1869
- #: wp-cache.php:2198
1870
  msgid "Cache Contents"
1871
  msgstr ""
1872
 
1873
- #: wp-cache.php:2201
1874
  msgid "Object cache in use. No cache listing available."
1875
  msgstr ""
1876
 
1877
- #: wp-cache.php:2225
1878
  msgid "Deleting supercache file: <strong>%s</strong><br />"
1879
  msgstr ""
1880
 
1881
- #: wp-cache.php:2242
1882
  msgid "Deleting wp-cache file: <strong>%s</strong><br />"
1883
  msgstr ""
1884
 
1885
- #: wp-cache.php:2307
1886
  msgid ""
1887
  "Cache stats are not automatically generated. You must click the link below "
1888
  "to regenerate the stats on this page."
1889
  msgstr ""
1890
 
1891
- #: wp-cache.php:2308
1892
  msgid "Regenerate cache stats"
1893
  msgstr ""
1894
 
1895
- #: wp-cache.php:2310
1896
  msgid "Cache stats last generated: %s minutes ago."
1897
  msgstr ""
1898
 
1899
- #: wp-cache.php:2316
1900
  msgid "WP-Cache"
1901
  msgstr ""
1902
 
1903
- #: wp-cache.php:2317 wp-cache.php:2332
1904
  msgid "%s Cached Pages"
1905
  msgstr ""
1906
 
1907
- #: wp-cache.php:2318 wp-cache.php:2337
1908
  msgid "%s Expired Pages"
1909
  msgstr ""
1910
 
1911
- #: wp-cache.php:2331
1912
  msgid "WP-Super-Cache"
1913
  msgstr ""
1914
 
1915
- #: wp-cache.php:2341
1916
  msgid "Fresh WP-Cached Files"
1917
  msgstr ""
1918
 
1919
- #: wp-cache.php:2342 wp-cache.php:2358 wp-cache.php:2374 wp-cache.php:2390
1920
  msgid "URI"
1921
  msgstr ""
1922
 
1923
- #: wp-cache.php:2342 wp-cache.php:2358
1924
  msgid "Key"
1925
  msgstr ""
1926
 
1927
- #: wp-cache.php:2342 wp-cache.php:2358 wp-cache.php:2374 wp-cache.php:2390
1928
  msgid "Age"
1929
  msgstr ""
1930
 
1931
- #: wp-cache.php:2342 wp-cache.php:2358 wp-cache.php:2374 wp-cache.php:2390
1932
  msgid "Delete"
1933
  msgstr ""
1934
 
1935
- #: wp-cache.php:2357
1936
  msgid "Stale WP-Cached Files"
1937
  msgstr ""
1938
 
1939
- #: wp-cache.php:2373
1940
  msgid "Fresh Super Cached Files"
1941
  msgstr ""
1942
 
1943
- #: wp-cache.php:2389
1944
  msgid "Stale Super Cached Files"
1945
  msgstr ""
1946
 
1947
- #: wp-cache.php:2405
1948
  msgid "Hide file list"
1949
  msgstr ""
1950
 
1951
- #: wp-cache.php:2407
1952
  msgid "Too many cached files, no listing possible."
1953
  msgstr ""
1954
 
1955
- #: wp-cache.php:2409
1956
  msgid "List all cached files"
1957
  msgstr ""
1958
 
1959
- #: wp-cache.php:2412
 
 
 
 
 
 
 
 
 
 
1960
  msgid ""
1961
  "Expired files are files older than %s seconds. They are still used by the "
1962
  "plugin and are deleted periodically."
1963
  msgstr ""
1964
 
1965
- #: wp-cache.php:2423
1966
  msgid "Delete Expired"
1967
  msgstr ""
1968
 
1969
- #: wp-cache.php:2448
1970
  msgid "Delete Super Cache cached files (opens in new window)"
1971
  msgstr ""
1972
 
1973
- #: wp-cache.php:2595
1974
  msgid "%1$s is Stephen Fry proof thanks to caching by %2$s"
1975
  msgstr ""
1976
 
1977
- #: wp-cache.php:2628
1978
  msgid ""
1979
  "WP Super Cache must be configured. Go to <a href=\"%s\">the admin page</a> "
1980
  "to enable and configure the plugin."
1981
  msgstr ""
1982
 
1983
- #: wp-cache.php:2634
1984
  msgid "Settings"
1985
  msgstr ""
1986
 
1987
- #: wp-cache.php:2644
1988
  msgid ""
1989
  "WP Super Cache is disabled. Please go to the <a href=\"%s\">plugin admin "
1990
  "page</a> to enable caching."
1991
  msgstr ""
1992
 
1993
- #: wp-cache.php:2647
1994
  msgid ""
1995
- "Warning! WP Super Cache caching <strong>was</strong> broken but has been "
1996
- "<strong>fixed</strong>! The script advanced-cache.php could not load wp-"
1997
- "cache-phase1.php.<br /><br />The file %1$s/advanced-cache.php has been "
1998
- "recreated and WPCACHEHOME fixed in your wp-config.php. Reload to hide this "
1999
- "message."
2000
  msgstr ""
2001
 
2002
- #: wp-cache.php:2668
2003
  msgid "[%s] Front page is gzipped! Please clear cache!"
2004
  msgstr ""
2005
 
2006
- #: wp-cache.php:2668
2007
  msgid ""
2008
  "Please visit %s to clear the cache as the front page of your site is now "
2009
  "downloading!"
2010
  msgstr ""
2011
 
2012
- #: wp-cache.php:2671
2013
  msgid "[%s] Front page is gzipped! Cache Cleared!"
2014
  msgstr ""
2015
 
2016
- #: wp-cache.php:2671
2017
  msgid ""
2018
  "The cache on your blog has been cleared because the front page of your site "
2019
  "is now downloading. Please visit %s to verify the cache has been cleared."
2020
  msgstr ""
2021
 
2022
- #: wp-cache.php:2678
2023
  msgid "[%s] Front page is not correct! Please clear cache!"
2024
  msgstr ""
2025
 
2026
- #: wp-cache.php:2678
2027
  msgid ""
2028
  "Please visit %1$s to clear the cache as the front page of your site is not "
2029
  "correct and missing the text, \"%2$s\"!"
2030
  msgstr ""
2031
 
2032
- #: wp-cache.php:2681
2033
  msgid "[%s] Front page is not correct! Cache Cleared!"
2034
  msgstr ""
2035
 
2036
- #: wp-cache.php:2681
2037
  msgid ""
2038
  "The cache on your blog has been cleared because the front page of your site "
2039
  "is missing the text \"%2$s\". Please visit %1$s to verify the cache has been "
2040
  "cleared."
2041
  msgstr ""
2042
 
2043
- #: wp-cache.php:2686
2044
  msgid "[%s] Front page check!"
2045
  msgstr ""
2046
 
2047
- #: wp-cache.php:2686
2048
  msgid ""
2049
  "WP Super Cache has checked the front page of your blog. Please visit %s if "
2050
  "you would like to disable this."
2051
  msgstr ""
2052
 
2053
- #: wp-cache.php:2729
2054
  msgid "Cannot update .htaccess"
2055
  msgstr ""
2056
 
2057
- #: wp-cache.php:2729
2058
  msgid ""
2059
  "The file <code>%s.htaccess</code> cannot be modified by the web server. "
2060
  "Please correct this using the chmod command or your ftp client."
2061
  msgstr ""
2062
 
2063
- #: wp-cache.php:2729
2064
  msgid "Refresh this page when the file permissions have been modified."
2065
  msgstr ""
2066
 
2067
- #: wp-cache.php:2729
2068
  msgid ""
2069
  "Alternatively, you can edit your <code>%s.htaccess</code> file manually and "
2070
  "add the following code (before any WordPress rules):"
2071
  msgstr ""
2072
 
2073
- #: wp-cache.php:2733
2074
  msgid ""
2075
  "To serve static html files your server must have the correct mod_rewrite "
2076
  "rules added to a file called <code>%s.htaccess</code>"
2077
  msgstr ""
2078
 
2079
- #: wp-cache.php:2734
2080
  msgid "You can edit the file yourself add the following rules."
2081
  msgstr ""
2082
 
2083
- #: wp-cache.php:2735
2084
  msgid " Make sure they appear before any existing WordPress rules. "
2085
  msgstr ""
2086
 
2087
- #: wp-cache.php:2743
2088
  msgid "Update Mod_Rewrite Rules"
2089
  msgstr ""
2090
 
2091
- #: wp-cache.php:2906
2092
  msgid "[%1$s] Cache Preload Started"
2093
  msgstr ""
2094
 
2095
- #: wp-cache.php:2936
2096
  msgid "[%1$s] Refreshing %2$s taxonomy from %3$d to %4$d"
2097
  msgstr ""
2098
 
2099
- #: wp-cache.php:2982
2100
  msgid "[%1$s] Refreshing posts from %2$d to %3$d"
2101
  msgstr ""
2102
 
2103
- #: wp-cache.php:3003
2104
  msgid "[%1$s] Cache Preload Stopped"
2105
  msgstr ""
2106
 
2107
- #: wp-cache.php:3013
2108
  msgid "[%1$s] %2$d posts refreshed"
2109
  msgstr ""
2110
 
2111
- #: wp-cache.php:3013
2112
  msgid "Refreshed the following posts:"
2113
  msgstr ""
2114
 
2115
- #: wp-cache.php:3023
2116
  msgid "Scheduling next preload refresh in %d minutes."
2117
  msgstr ""
2118
 
2119
- #: wp-cache.php:3034
2120
  msgid "[%s] Cache Preload Completed"
2121
  msgstr ""
2122
 
2123
- #: wp-cache.php:3034
2124
  msgid "Cleaning up old supercache files."
2125
  msgstr ""
2126
 
2127
- #: wp-cache.php:3077
2128
  msgid "[%s] Preload may have stalled."
2129
  msgstr ""
2130
 
2131
- #: wp-cache.php:3077
2132
  msgid ""
2133
  "Preload has been restarted.\n"
2134
  "%s"
2135
  msgstr ""
2136
 
2137
- #: wp-cache.php:3120
2138
  msgid "Supercache Uninstall Problems"
2139
  msgstr ""
2140
 
2141
- #: wp-cache.php:3120
2142
  msgid ""
2143
  "Dear User,\n"
2144
  "\n"
@@ -2156,6 +1821,182 @@ msgid ""
2156
  "http://wordpress.org/extend/plugins/wp-super-cache/"
2157
  msgstr ""
2158
 
2159
- #: wp-cache.php:3157
2160
- msgid "Delete cache of the current page"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2161
  msgstr ""
1
+ # Copyright (C) 2010
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-super-cache\n"
7
+ "POT-Creation-Date: 2011-12-06 13:03:54+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: wp-cache.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  msgid ""
17
  "Please create %s /wp-cache-config.php from wp-super-cache/wp-cache-config-"
18
  "sample.php"
19
  msgstr ""
20
 
21
+ #: wp-cache.php:162
22
  msgid "Warning! PHP Safe Mode Enabled!"
23
  msgstr ""
24
 
25
+ #: wp-cache.php:163
26
  msgid ""
27
  "You may experience problems running this plugin because SAFE MODE is enabled."
28
  msgstr ""
29
 
30
+ #: wp-cache.php:167
31
  msgid ""
32
  "Your server is set up to check the owner of PHP scripts before allowing them "
33
  "to read and write files."
34
  msgstr ""
35
 
36
+ #: wp-cache.php:168
37
  msgid ""
38
  "You or an administrator may be able to make it work by changing the group "
39
  "owner of the plugin scripts to match that of the web server user. The group "
42
  "details."
43
  msgstr ""
44
 
45
+ #: wp-cache.php:170
46
  msgid ""
47
  "You or an administrator must disable this. See the <a href=\"http://php.net/"
48
  "features.safe-mode\">safe mode manual page</a> for further details. This "
50
  "php.ini config file."
51
  msgstr ""
52
 
53
+ #: wp-cache.php:176
54
  msgid "Permlink Structure Error"
55
  msgstr ""
56
 
57
+ #: wp-cache.php:177
58
  msgid ""
59
  "A custom url or permalink structure is required for this plugin to work "
60
  "correctly. Please go to the <a href=\"options-permalink.php\">Permalinks "
61
  "Options Page</a> to configure your permalinks."
62
  msgstr ""
63
 
64
+ #: wp-cache.php:189
65
  msgid "Warning! Your hostname \"%s\" resolves to %s"
66
  msgstr ""
67
 
68
+ #: wp-cache.php:190
69
  msgid ""
70
  "Your server thinks your hostname resolves to %s. Some services such as "
71
  "garbage collection by this plugin, and WordPress scheduled posts may not "
72
  "operate correctly."
73
  msgstr ""
74
 
75
+ #: wp-cache.php:191 wp-cache.php:205
76
  msgid ""
77
  "Please see entry 16 in the <a href=\"%s\">Troubleshooting section</a> of the "
78
  "readme.txt"
79
  msgstr ""
80
 
81
+ #: wp-cache.php:204
82
  msgid ""
83
  "Unfortunately WordPress cannot find the file wp-cron.php. This script is "
84
  "required for the the correct operation of garbage collection by this plugin, "
85
  "WordPress scheduled posts as well as other critical activities."
86
  msgstr ""
87
 
88
+ #: wp-cache.php:219
89
  msgid "Cannot continue... fix previous problems and retry."
90
  msgstr ""
91
 
92
+ #: wp-cache.php:228
93
  msgid "Zlib Output Compression Enabled!"
94
  msgstr ""
95
 
96
+ #: wp-cache.php:229
97
  msgid ""
98
  "PHP is compressing the data sent to the visitors of your site. Disabling "
99
  "this is recommended as the plugin caches the compressed output once instead "
102
  "configuration.php\">this page</a> for instructions on modifying your php.ini."
103
  msgstr ""
104
 
105
+ #: wp-cache.php:233
106
  msgid "Mod rewrite may not be installed!"
107
  msgstr ""
108
 
109
+ #: wp-cache.php:234
110
  msgid ""
111
  "It appears that mod_rewrite is not installed. Sometimes this check isn&#8217;"
112
  "t 100% reliable, especially if you are not using Apache. Please verify that "
114
  "static files. You will still be able to use legacy or PHP modes."
115
  msgstr ""
116
 
117
+ #: wp-cache.php:239
118
  msgid "Read Only Mode. Configuration cannot be changed."
119
  msgstr ""
120
 
121
+ #: wp-cache.php:240
122
  msgid ""
123
  "The WP Super Cache configuration file is <code>%s/wp-cache-config.php</code> "
124
  "and cannot be modified. That file must be writeable by the webserver to make "
125
  "any changes."
126
  msgstr ""
127
 
128
+ #: wp-cache.php:241
129
  msgid ""
130
  "A simple way of doing that is by changing the permissions temporarily using "
131
  "the CHMOD command or through your ftp client. Make sure it&#8217;s globally "
132
  "writeable and it should be fine."
133
  msgstr ""
134
 
135
+ #: wp-cache.php:242 wp-cache.php:258
136
  msgid ""
137
  "<a href=\"http://codex.wordpress.org/Changing_File_Permissions\">This page</"
138
  "a> explains how to change file permissions."
139
  msgstr ""
140
 
141
+ #: wp-cache.php:243
142
  msgid "Writeable:"
143
  msgstr ""
144
 
145
+ #: wp-cache.php:244
146
  msgid "Readonly:"
147
  msgstr ""
148
 
149
+ #: wp-cache.php:256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
  msgid "Warning! %s is writeable!"
151
  msgstr ""
152
 
153
+ #: wp-cache.php:257
154
  msgid ""
155
  "You should change the permissions on %s and make it more restrictive. Use "
156
  "your ftp client, or the following command to fix things:"
157
  msgstr ""
158
 
159
+ #: wp-cache.php:267
160
  msgid "Mobile rewrite rules detected"
161
  msgstr ""
162
 
163
+ #: wp-cache.php:268
164
  msgid ""
165
  "For best performance you should enable \"Mobile device support\" or delete "
166
  "the mobile rewrite rules in your .htaccess. Look for the 2 lines with the "
167
  "text \"2.0\\ MMP|240x320\" and delete those."
168
  msgstr ""
169
 
170
+ #: wp-cache.php:268
171
  msgid ""
172
  "This will have no affect on ordinary users but mobile users will see "
173
  "uncached pages."
174
  msgstr ""
175
 
176
+ #: wp-cache.php:274 wp-cache.php:285
177
  msgid "Rewrite rules must be updated"
178
  msgstr ""
179
 
180
+ #: wp-cache.php:275 wp-cache.php:286
181
  msgid "The rewrite rules required by this plugin have changed or are missing. "
182
  msgstr ""
183
 
184
+ #: wp-cache.php:276
185
  msgid ""
186
  "Mobile support requires extra rules in your .htaccess file, or you can set "
187
  "the plugin to legacy mode. Here are your options (in order of difficulty):"
188
  msgstr ""
189
 
190
+ #: wp-cache.php:277
191
  msgid "Set the plugin to legacy mode and enable mobile support."
192
  msgstr ""
193
 
194
+ #: wp-cache.php:278 wp-cache.php:287
195
  msgid ""
196
  "Scroll down the Advanced Settings page and click the <strong>Update "
197
  "Mod_Rewrite Rules</strong> button."
198
  msgstr ""
199
 
200
+ #: wp-cache.php:279
201
  msgid ""
202
  "Delete the plugin mod_rewrite rules in %s.htaccess enclosed by <code># BEGIN "
203
  "WPSuperCache</code> and <code># END WPSuperCache</code> and let the plugin "
204
  "regenerate them by reloading this page."
205
  msgstr ""
206
 
207
+ #: wp-cache.php:280
208
  msgid ""
209
  "Add the rules yourself. Edit %s.htaccess and find the block of code enclosed "
210
  "by the lines <code># BEGIN WPSuperCache</code> and <code># END WPSuperCache</"
211
  "code>. There are two sections that look very similar. Just below the line "
212
+ "<code>%%{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_)."
213
+ "*$</code> add these lines: (do it twice, once for each section)"
214
  msgstr ""
215
 
216
+ #: wp-cache.php:293
217
  msgid "Required to serve compressed supercache files properly."
218
  msgstr ""
219
 
220
+ #: wp-cache.php:293
221
  msgid ""
222
  "Required to set caching information on supercache pages. IE7 users will see "
223
  "old pages without this module."
224
  msgstr ""
225
 
226
+ #: wp-cache.php:293
227
  msgid ""
228
  "Set the expiry date on supercached pages. Visitors may not see new pages "
229
  "when they refresh or leave comments without this module."
230
  msgstr ""
231
 
232
+ #: wp-cache.php:300
233
  msgid "Missing Apache Modules"
234
  msgstr ""
235
 
236
+ #: wp-cache.php:301
237
  msgid ""
238
  "The following Apache modules are missing. The plugin will work in legacy "
239
  "mode without them. In full Supercache mode, your visitors may see corrupted "
240
  "pages or out of date content however."
241
  msgstr ""
242
 
243
+ #: wp-cache.php:484
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  msgid ""
245
  "<strong>Warning!</strong> You attempted to enable compression but <code>zlib."
246
  "output_compression</code> is enabled. See #21 in the Troubleshooting section "
247
  "of the readme file."
248
  msgstr ""
249
 
250
+ #: wp-cache.php:575
251
  msgid "WP Super Cache Settings"
252
  msgstr ""
253
 
254
+ #: wp-cache.php:586
255
  msgid ""
256
  "Notice: <em>Mod_rewrite or Legacy caching enabled</em>. Showing Advanced "
257
  "Settings Page by default."
258
  msgstr ""
259
 
260
+ #: wp-cache.php:597
261
  msgid ""
262
  "Configuration file changed, some values might be wrong. Load the page again "
263
  "from the \"Settings\" menu to reset them."
264
  msgstr ""
265
 
266
+ #: wp-cache.php:627
267
  msgid "Caching must be enabled to use this feature"
268
  msgstr ""
269
 
270
+ #: wp-cache.php:645 wp-cache.php:776
271
  msgid "Cancel Cache Preload"
272
  msgstr ""
273
 
274
+ #: wp-cache.php:653
275
  msgid ""
276
  "Scheduled preloading of cache almost cancelled. It may take up to a minute "
277
  "for it to cancel completely."
278
  msgstr ""
279
 
280
+ #: wp-cache.php:664
281
  msgid "Scheduled preloading of cache cancelled."
282
  msgstr ""
283
 
284
+ #: wp-cache.php:690 wp-cache.php:774
285
  msgid "Preload Cache Now"
286
  msgstr ""
287
 
288
+ #: wp-cache.php:694
289
  msgid "Scheduled preloading of cache in 10 seconds."
290
  msgstr ""
291
 
292
+ #: wp-cache.php:699
293
  msgid "Scheduled preloading of cache in %d minutes"
294
  msgstr ""
295
 
296
+ #: wp-cache.php:703
297
  msgid ""
298
  "This will cache every published post and page on your site. It will create "
299
  "supercache static files so unknown visitors (including bots) will hit a "
301
  "speed as a metric when judging websites now."
302
  msgstr ""
303
 
304
+ #: wp-cache.php:704
305
  msgid ""
306
  "Preloading creates lots of files however. Caching is done from the newest "
307
  "post to the oldest so please consider only caching the newest if you have "
308
  "lots (10,000+) of posts. This is especially important on shared hosting."
309
  msgstr ""
310
 
311
+ #: wp-cache.php:705
312
  msgid ""
313
  "In &#8217;Preload Mode&#8217; regular garbage collection will only clean out "
314
  "old legacy files for known users, not the preloaded supercache files. This "
315
  "is a recommended setting when the cache is preloaded."
316
  msgstr ""
317
 
318
+ #: wp-cache.php:709
319
  msgid ""
320
  "Refresh preloaded cache files every %s minutes. (0 to disable, minimum %d "
321
  "minutes.)"
322
  msgstr ""
323
 
324
+ #: wp-cache.php:722
325
  msgid "all"
326
  msgstr ""
327
 
328
+ #: wp-cache.php:735
329
  msgid "Preload %s posts."
330
  msgstr ""
331
 
332
+ #: wp-cache.php:742
333
  msgid ""
334
  "Preload mode (garbage collection only on legacy cache files. Recommended.)"
335
  msgstr ""
336
 
337
+ #: wp-cache.php:745
 
 
 
 
338
  msgid "Send me status emails when files are refreshed."
339
  msgstr ""
340
 
341
+ #: wp-cache.php:750
342
  msgid "Many emails, 2 emails per 100 posts."
343
  msgstr ""
344
 
345
+ #: wp-cache.php:753
346
  msgid "Medium, 1 email per 100 posts."
347
  msgstr ""
348
 
349
+ #: wp-cache.php:756
350
  msgid "Less emails, 1 at the start and 1 at the end of preloading all posts."
351
  msgstr ""
352
 
353
+ #: wp-cache.php:760
354
  msgid "Refresh of cache in %d hours %d minutes and %d seconds."
355
  msgstr ""
356
 
357
+ #: wp-cache.php:761
358
  msgid "Full refresh of cache in %d hours %d minutes and %d seconds."
359
  msgstr ""
360
 
361
+ #: wp-cache.php:767
362
  msgid "Currently caching from post %d to %d."
363
  msgstr ""
364
 
365
+ #: wp-cache.php:771
366
  msgid "<strong>Page last cached:</strong> %s"
367
  msgstr ""
368
 
369
+ #: wp-cache.php:774
370
  msgid "Update Settings"
371
  msgstr ""
372
 
373
+ #: wp-cache.php:782
374
  msgid ""
375
  "Preloading of cache disabled. Please disable legacy page caching or talk to "
376
  "your host administrator."
377
  msgstr ""
378
 
379
+ #: wp-cache.php:799 wp-cache.php:897
380
  msgid "Caching"
381
  msgstr ""
382
 
383
+ #: wp-cache.php:803
384
  msgid "Cache hits to this website for quick access."
385
  msgstr ""
386
 
387
+ #: wp-cache.php:803 wp-cache.php:804 wp-cache.php:821 wp-cache.php:826
388
+ #: wp-cache.php:829 wp-cache.php:831 wp-cache.php:844 wp-cache.php:900
389
  msgid "Recommended"
390
  msgstr ""
391
 
392
+ #: wp-cache.php:804
393
  msgid "Use mod_rewrite to serve cache files."
394
  msgstr ""
395
 
396
+ #: wp-cache.php:805
397
  msgid "Use PHP to serve cache files."
398
  msgstr ""
399
 
400
+ #: wp-cache.php:806
401
  msgid "Legacy page caching."
402
  msgstr ""
403
 
404
+ #: wp-cache.php:807
405
  msgid ""
406
  "Mod_rewrite is fastest, PHP is almost as fast and easier to get working, "
407
  "while legacy caching is slower again, but more flexible and also easy to get "
408
  "working. New users should use PHP caching."
409
  msgstr ""
410
 
411
+ #: wp-cache.php:813
412
  msgid "Miscellaneous"
413
  msgstr ""
414
 
415
+ #: wp-cache.php:819
416
  msgid "Warning! Compression is disabled as gzencode() function not found."
417
  msgstr ""
418
 
419
+ #: wp-cache.php:821
420
  msgid "Compress pages so they&#8217;re served more quickly to visitors."
421
  msgstr ""
422
 
423
+ #: wp-cache.php:822
424
  msgid ""
425
  "Compression is disabled by default because some hosts have problems with "
426
  "compressed files. Switching it on and off clears the cache."
427
  msgstr ""
428
 
429
+ #: wp-cache.php:826
430
  msgid ""
431
  "304 Not Modified browser caching. Indicate when a page has not been modified "
432
  "since last requested."
433
  msgstr ""
434
 
435
+ #: wp-cache.php:827
436
  msgid ""
437
+ "304 support is disabled by default because in the past GoDaddy had problems "
438
+ "with some of the headers used."
439
  msgstr ""
440
 
441
+ #: wp-cache.php:829
 
 
 
 
 
 
442
  msgid ""
443
  "Don&#8217;t cache pages for <acronym title=\"Logged in users and those that "
444
  "comment\">known users</acronym>."
445
  msgstr ""
446
 
447
+ #: wp-cache.php:830
 
 
 
 
448
  msgid ""
449
  "Make known users anonymous so they&#8217;re served supercached static files."
450
  msgstr ""
451
 
452
+ #: wp-cache.php:831
453
  msgid ""
454
  "Cache rebuild. Serve a supercache file to anonymous users while a new file "
455
  "is being generated."
456
  msgstr ""
457
 
458
+ #: wp-cache.php:832
459
  msgid ""
460
  "Proudly tell the world your server is <a href=\"%s\">Stephen Fry proof</a>! "
461
  "(places a message in your blog&#8217;s footer)"
462
  msgstr ""
463
 
464
+ #: wp-cache.php:838 wp-cache.php:1109 wp-cache.php:1719
465
  msgid "Advanced"
466
  msgstr ""
467
 
468
+ #: wp-cache.php:842
 
 
 
 
 
 
 
469
  msgid ""
470
  "Mobile device support. (External plugin or theme required. See the <a href="
471
  "\"http://wordpress.org/extend/plugins/wp-super-cache/faq/\">FAQ</a> for "
472
  "further details.)"
473
  msgstr ""
474
 
475
+ #: wp-cache.php:843
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
476
  msgid "Clear all cache files when a post or page is published or updated."
477
  msgstr ""
478
 
479
+ #: wp-cache.php:844
480
  msgid "Extra homepage checks. (Very occasionally stops homepage caching)"
481
  msgstr ""
482
 
483
+ #: wp-cache.php:845
484
  msgid "Only refresh current page when comments made."
485
  msgstr ""
486
 
487
+ #: wp-cache.php:846
488
  msgid "List the newest cached pages on this page."
489
  msgstr ""
490
 
491
+ #: wp-cache.php:848
492
  msgid ""
493
  "Coarse file locking. You probably don&#8217;t need this but it may help if "
494
  "your server is underpowered. Warning! <em>May cause your server to lock up "
495
  "in very rare cases!</em>"
496
  msgstr ""
497
 
498
+ #: wp-cache.php:850
499
  msgid ""
500
  "Late init. Display cached files after WordPress has loaded. Most useful in "
501
  "legacy mode."
502
  msgstr ""
503
 
504
+ #: wp-cache.php:852
505
  msgid "Use object cache to store cached files."
506
  msgstr ""
507
 
508
+ #: wp-cache.php:852
509
  msgid "(Experimental)"
510
  msgstr ""
511
 
512
+ #: wp-cache.php:854
513
  msgid "<strong>DO NOT CACHE PAGE</strong> secret key: <a href=\"%s\">%s</a>"
514
  msgstr ""
515
 
516
+ #: wp-cache.php:860
517
  msgid "Note:"
518
  msgstr ""
519
 
520
+ #: wp-cache.php:862
521
  msgid ""
522
  "Uninstall this plugin on the plugins page. It will automatically clean up "
523
  "after itself. If manual intervention is required then simple instructions "
524
  "are provided."
525
  msgstr ""
526
 
527
+ #: wp-cache.php:863
528
  msgid ""
529
  "If uninstalling this plugin, make sure the directory <em>%s</em> is "
530
  "writeable by the webserver so the files <em>advanced-cache.php</em> and "
532
  "files are writeable too is probably a good idea!)"
533
  msgstr ""
534
 
535
+ #: wp-cache.php:864
536
  msgid ""
537
  "Please see the <a href=\"%1$s/wp-super-cache/readme.txt\">readme.txt</a> for "
538
  "instructions on uninstalling this script. Look for the heading, \"How to "
539
  "uninstall WP Super Cache\"."
540
  msgstr ""
541
 
542
+ #: wp-cache.php:865
543
  msgid ""
544
  "Need help? Check the <a href=\"%1$s\">Super Cache readme file</a>. It "
545
  "includes installation documentation, a FAQ and Troubleshooting tips. The <a "
547
  "have been answered."
548
  msgstr ""
549
 
550
+ #: wp-cache.php:868 wp-cache.php:915
551
  msgid "Update Status"
552
  msgstr ""
553
 
554
+ #: wp-cache.php:875
555
  msgid "Accepted Filenames &amp; Rejected URIs"
556
  msgstr ""
557
 
558
+ #: wp-cache.php:900
559
  msgid "Caching On"
560
  msgstr ""
561
 
562
+ #: wp-cache.php:901
563
  msgid "Caching Off"
564
  msgstr ""
565
 
566
+ #: wp-cache.php:902
567
  msgid "Note: enables PHP caching, cache rebuild, and mobile support"
568
  msgstr ""
569
 
570
+ #: wp-cache.php:912
571
  msgid ""
572
  "Notice: PHP caching enabled but Supercache mod_rewrite rules detected. "
573
  "Cached files will be served using those rules. If your site is working ok "
575
  "your install and remove the SuperCache rules."
576
  msgstr ""
577
 
578
+ #: wp-cache.php:917
579
  msgid "Cache Tester"
580
  msgstr ""
581
 
582
+ #: wp-cache.php:918
583
  msgid "Test your cached website by clicking the test button below."
584
  msgstr ""
585
 
586
+ #: wp-cache.php:924
587
  msgid "Fetching %s to prime cache: "
588
  msgstr ""
589
 
590
+ #: wp-cache.php:926 wp-cache.php:935 wp-cache.php:947
591
  msgid "OK"
592
  msgstr ""
593
 
594
+ #: wp-cache.php:929
595
  msgid "Fetching first copy of %s: "
596
  msgstr ""
597
 
598
+ #: wp-cache.php:938 wp-cache.php:949
599
  msgid "FAILED"
600
  msgstr ""
601
 
602
+ #: wp-cache.php:941
603
  msgid "Fetching second copy of %s: "
604
  msgstr ""
605
 
606
+ #: wp-cache.php:953
607
  msgid "One or more page requests failed:"
608
  msgstr ""
609
 
610
+ #: wp-cache.php:972 wp-cache.php:973
611
  msgid "Page %d: %d (%s)"
612
  msgstr ""
613
 
614
+ #: wp-cache.php:979
615
  msgid "Page 1: %s"
616
  msgstr ""
617
 
618
+ #: wp-cache.php:980
619
  msgid "Page 2: %s"
620
  msgstr ""
621
 
622
+ #: wp-cache.php:981
623
  msgid "The timestamps on both pages match!"
624
  msgstr ""
625
 
626
+ #: wp-cache.php:983
627
  msgid "The pages do not match! Timestamps differ or were not found!"
628
  msgstr ""
629
 
630
+ #: wp-cache.php:984
631
  msgid "Things you can do:"
632
  msgstr ""
633
 
634
+ #: wp-cache.php:985
635
  msgid ""
636
  "Load your homepage in a logged out browser, check the timestamp at the end "
637
  "of the html source. Load the page again and compare the timestamp. Caching "
638
  "is working if the timestamps match."
639
  msgstr ""
640
 
641
+ #: wp-cache.php:986
642
  msgid ""
643
  "Enable logging on the Debug page here. That should help you track down the "
644
  "problem."
645
  msgstr ""
646
 
647
+ #: wp-cache.php:987
648
  msgid ""
649
  "You should check Page 1 and Page 2 above for errors. Your local server "
650
  "configuration may not allow your website to access itself."
651
  msgstr ""
652
 
653
+ #: wp-cache.php:995
654
  msgid "Send non-secure (non https) request for homepage"
655
  msgstr ""
656
 
657
+ #: wp-cache.php:996
658
  msgid "Test Cache"
659
  msgstr ""
660
 
661
+ #: wp-cache.php:1000
662
  msgid "Delete Cached Pages"
663
  msgstr ""
664
 
665
+ #: wp-cache.php:1001
666
  msgid ""
667
  "Cached pages are stored on your server as html and PHP files. If you need to "
668
  "delete them use the button below."
669
  msgstr ""
670
 
671
+ #: wp-cache.php:1004 wp-cache.php:2253 wp-cache.php:2272 wp-cache.php:2436
672
+ #: wp-cache.php:2922
673
  msgid "Delete Cache"
674
  msgstr ""
675
 
676
+ #: wp-cache.php:1011 wp-cache.php:2259
677
  msgid "Delete Cache On All Blogs"
678
  msgstr ""
679
 
680
+ #: wp-cache.php:1016
681
  msgid "Recommended Links and Plugins"
682
  msgstr ""
683
 
684
+ #: wp-cache.php:1017
685
  msgid ""
686
  "Caching is only one part of making a website faster. Here are some other "
687
  "plugins that will help:"
688
  msgstr ""
689
 
690
+ #: wp-cache.php:1018
691
  msgid ""
692
+ "<a href=\"%s\">WP Minify</a> reduces the number of files served by your web "
693
+ "server by joining Javascript and CSS files together. Alternatively you can "
694
+ "use <a href=\"%s\">WPSCMin</a>, a Supercache plugin that minifies cached "
695
+ "pages. It does not however join JS/CSS files together."
696
  msgstr ""
697
 
698
+ #: wp-cache.php:1019
699
  msgid ""
700
  "<a href=\"%s\">Yahoo! Yslow</a> is an extension for the Firefox add-on "
701
  "Firebug. It analyzes web pages and suggests ways to improve their "
703
  "the performance tools online at <a href=\"%s\">GTMetrix</a>."
704
  msgstr ""
705
 
706
+ #: wp-cache.php:1020
707
  msgid ""
708
  "<a href=\"%s\">Use Google Libraries</a> allows you to load some commonly "
709
  "used Javascript libraries from Google webservers. Ironically it may reduce "
710
  "your Yslow score."
711
  msgstr ""
712
 
713
+ #: wp-cache.php:1021 ossdl-cdn.php:150
714
+ msgid ""
715
+ "The <a href=\"%1$s\">CDN Sync Tool</a> plugin will help upload files to "
716
+ "Amazon S3/Cloudfront if you would rather not depend on origin pull. See the "
717
+ "<a href=\"%2$s\">plugin support forum</a> if you have any queries about this "
718
+ "plugin."
719
+ msgstr ""
720
+
721
+ #: wp-cache.php:1022
722
  msgid ""
723
  "<strong>Advanced users only:</strong> <a href=\"%s\">Speed up your site with "
724
  "Caching and cache-control</a> explains how to make your site more cacheable "
725
  "with .htaccess rules."
726
  msgstr ""
727
 
728
+ #: wp-cache.php:1023
729
  msgid ""
730
  "<strong>Advanced users only:</strong> Install an object cache. Choose from "
731
  "<a href=\"%s\">Memcached</a>, <a href=\"%s\">XCache</a>, <a href=\"%s"
732
  "\">eAcccelerator</a> and others."
733
  msgstr ""
734
 
735
+ #: wp-cache.php:1034
 
 
 
 
 
 
736
  msgid "Make WordPress Faster"
737
  msgstr ""
738
 
739
+ #: wp-cache.php:1035
740
  msgid ""
741
  "%1$s is maintained and developed by %2$s with contributions from many others."
742
  msgstr ""
743
 
744
+ #: wp-cache.php:1036
745
  msgid "He blogs at %1$s and posts photos at %2$s."
746
  msgstr ""
747
 
748
+ #: wp-cache.php:1037
749
  msgid "Please say hi to him on %s too!"
750
  msgstr ""
751
 
752
+ #: wp-cache.php:1038
753
  msgid "Need Help?"
754
  msgstr ""
755
 
756
+ #: wp-cache.php:1040
 
 
 
 
 
 
757
  msgid "<a href=\"%1$s\">Installation Help</a>"
758
  msgstr ""
759
 
760
+ #: wp-cache.php:1041
761
  msgid "<a href=\"%1$s\">Frequently Asked Questions</a>"
762
  msgstr ""
763
 
764
+ #: wp-cache.php:1042
765
  msgid "<a href=\"%1$s\">Support Forum</a>"
766
  msgstr ""
767
 
768
+ #: wp-cache.php:1044
 
 
 
 
769
  msgid "Rate This Plugin!"
770
  msgstr ""
771
 
772
+ #: wp-cache.php:1045
773
  msgid ""
774
  "Please <a href=\"%s\">rate</a> this plugin and tell me if it works for you "
775
  "or not. It really helps development."
776
  msgstr ""
777
 
778
+ #: wp-cache.php:1054
779
  msgid "Cached pages since %1$s : <strong>%2$s</strong>"
780
  msgstr ""
781
 
782
+ #: wp-cache.php:1055
783
  msgid "Newest Cached Pages:"
784
  msgstr ""
785
 
786
+ #: wp-cache.php:1059
787
  msgid "Cached %s seconds ago"
788
  msgstr ""
789
 
790
+ #: wp-cache.php:1062
791
  msgid "(may not always be accurate on busy sites)"
792
  msgstr ""
793
 
794
+ #: wp-cache.php:1081
795
  msgid ""
796
  "Cache plugins are PHP scripts that live in a plugins folder inside the wp-"
797
  "super-cache folder. They are loaded when Supercache loads, much sooner than "
798
  "regular WordPress plugins."
799
  msgstr ""
800
 
801
+ #: wp-cache.php:1082
802
  msgid ""
803
  "This is strictly an advanced feature only and knowledge of both PHP and "
804
  "WordPress actions is required to create them."
805
  msgstr ""
806
 
807
+ #: wp-cache.php:1092
 
 
 
 
 
 
 
 
 
 
 
808
  msgid "Available Plugins"
809
  msgstr ""
810
 
811
+ #: wp-cache.php:1109
812
  msgid "Easy"
813
  msgstr ""
814
 
815
+ #: wp-cache.php:1109
816
  msgid "CDN"
817
  msgstr ""
818
 
819
+ #: wp-cache.php:1109
820
  msgid "Contents"
821
  msgstr ""
822
 
823
+ #: wp-cache.php:1109
824
  msgid "Preload"
825
  msgstr ""
826
 
827
+ #: wp-cache.php:1109
828
  msgid "Plugins"
829
  msgstr ""
830
 
831
+ #: wp-cache.php:1109
832
  msgid "Debug"
833
  msgstr ""
834
 
835
+ #: wp-cache.php:1144
836
  msgid ""
837
  "Notice: WP Super Cache mod_rewrite rule checks disabled unless running on <a "
838
  "href=\"%s\">the main site</a> of this network."
839
  msgstr ""
840
 
841
+ #: wp-cache.php:1153
842
  msgid "Mod Rewrite Rules"
843
  msgstr ""
844
 
845
+ #: wp-cache.php:1159
846
  msgid "WordPress MU Detected"
847
  msgstr ""
848
 
849
+ #: wp-cache.php:1159
850
  msgid ""
851
  "Unfortunately the rewrite rules cannot be updated automatically when running "
852
  "WordPress MU. Please open your .htaccess and add the following mod_rewrite "
853
  "rules above any other rules in that file."
854
  msgstr ""
855
 
856
+ #: wp-cache.php:1161
857
  msgid "Mod Rewrite rules cannot be updated!"
858
  msgstr ""
859
 
860
+ #: wp-cache.php:1162
861
  msgid ""
862
  "You must have <strong>BEGIN</strong> and <strong>END</strong> markers in %s."
863
  "htaccess for the auto update to work. They look like this and surround the "
864
  "main WordPress mod_rewrite rules:"
865
  msgstr ""
866
 
867
+ #: wp-cache.php:1164
868
  msgid "Refresh this page when you have updated your .htaccess file."
869
  msgstr ""
870
 
871
+ #: wp-cache.php:1168
872
  msgid "Thank you for upgrading."
873
  msgstr ""
874
 
875
+ #: wp-cache.php:1168
876
  msgid ""
877
  "The mod_rewrite rules changed since you last installed this plugin. "
878
  "Unfortunately you must remove the old supercache rules before the new ones "
884
  "brave enough to use them."
885
  msgstr ""
886
 
887
+ #: wp-cache.php:1172
888
  msgid "Trailing slash check required."
889
  msgstr ""
890
 
891
+ #: wp-cache.php:1172
892
  msgid ""
893
  "It looks like your blog has URLs that end with a \"/\". Unfortunately since "
894
  "you installed this plugin a duplicate content bug has been found where URLs "
897
  "and add these two rules to the two groups of Super Cache rules:"
898
  msgstr ""
899
 
900
+ #: wp-cache.php:1174
901
  msgid ""
902
  "You can see where the rules go and examine the complete rules by clicking "
903
  "the \"View mod_rewrite rules\" link below."
904
  msgstr ""
905
 
906
+ #: wp-cache.php:1188
907
  msgid "Mod Rewrite rules updated!"
908
  msgstr ""
909
 
910
+ #: wp-cache.php:1189
911
  msgid ""
912
  "%s.htaccess has been updated with the necessary mod_rewrite rules. Please "
913
  "verify they are correct. They should look like this:"
914
  msgstr ""
915
 
916
+ #: wp-cache.php:1191
917
  msgid "Mod Rewrite rules must be updated!"
918
  msgstr ""
919
 
920
+ #: wp-cache.php:1192
921
  msgid ""
922
  "Your %s.htaccess is not writable by the webserver and must be updated with "
923
  "the necessary mod_rewrite rules. The new rules go above the regular "
924
  "WordPress rules as shown in the code below:"
925
  msgstr ""
926
 
927
+ #: wp-cache.php:1197
928
  msgid ""
929
  "WP Super Cache mod rewrite rules were detected in your %s.htaccess file.<br /"
930
  "> Click the following link to see the lines added to that file. If you have "
931
  "upgraded the plugin make sure these rules match."
932
  msgstr ""
933
 
934
+ #: wp-cache.php:1200
935
  msgid ""
936
  "A difference between the rules in your .htaccess file and the plugin rewrite "
937
  "rules has been found. This could be simple whitespace differences but you "
939
  "Click the &#8217;Update Mod_Rewrite Rules&#8217; button to update the rules."
940
  msgstr ""
941
 
942
+ #: wp-cache.php:1202
943
  msgid "View Mod_Rewrite Rules"
944
  msgstr ""
945
 
946
+ #: wp-cache.php:1208 wp-cache.php:2552
947
  msgid "Rules must be added to %s too:"
948
  msgstr ""
949
 
950
+ #: wp-cache.php:1215
951
  msgid "Gzip encoding rules in %s.htaccess created."
952
  msgstr ""
953
 
954
+ #: wp-cache.php:1222
955
  msgid "Fix Configuration"
956
  msgstr ""
957
 
958
+ #: wp-cache.php:1225
959
  msgid "Restore Default Configuration"
960
  msgstr ""
961
 
962
+ #: wp-cache.php:1233
963
  msgid ""
964
  "Comment moderation is enabled. Your comment may take some time to appear."
965
  msgstr ""
966
 
967
+ #: wp-cache.php:1258
968
  msgid "Lock Down:"
969
  msgstr ""
970
 
971
+ #: wp-cache.php:1258 plugins/awaitingmoderation.php:35
972
+ #: plugins/domain-mapping.php:61 plugins/badbehaviour.php:66
973
+ msgid "Disabled"
974
+ msgstr ""
975
+
976
+ #: wp-cache.php:1258 plugins/awaitingmoderation.php:34
977
+ #: plugins/domain-mapping.php:60 plugins/badbehaviour.php:65
978
+ msgid "Enabled"
979
+ msgstr ""
980
+
981
+ #: wp-cache.php:1259
982
  msgid ""
983
  "Prepare your server for an expected spike in traffic by enabling the lock "
984
  "down. When this is enabled, new comments on a post will not refresh the "
985
  "cached static files."
986
  msgstr ""
987
 
988
+ #: wp-cache.php:1260
989
  msgid ""
990
  "Developers: Make your plugin lock down compatible by checking the "
991
  "\"WPLOCKDOWN\" constant. The following code will make sure your plugin "
992
  "respects the WPLOCKDOWN setting."
993
  msgstr ""
994
 
995
+ #: wp-cache.php:1262
996
  msgid "Sorry. My blog is locked down. Updates will appear shortly"
997
  msgstr ""
998
 
999
+ #: wp-cache.php:1266
1000
  msgid ""
1001
  "WordPress is locked down. Super Cache static files will not be deleted when "
1002
  "new comments are made."
1003
  msgstr ""
1004
 
1005
+ #: wp-cache.php:1268
1006
  msgid ""
1007
  "WordPress is not locked down. New comments will refresh Super Cache static "
1008
  "files as normal."
1009
  msgstr ""
1010
 
1011
+ #: wp-cache.php:1271 plugins/searchengine.php:61 plugins/searchengine.php:76
1012
+ msgid "Disable"
1013
+ msgstr ""
1014
+
1015
+ #: wp-cache.php:1271 plugins/searchengine.php:74
1016
+ msgid "Enable"
1017
+ msgstr ""
1018
+
1019
+ #: wp-cache.php:1274
1020
  msgid "Lock Down"
1021
  msgstr ""
1022
 
1023
+ #: wp-cache.php:1282
1024
  msgid "Directly Cached Files"
1025
  msgstr ""
1026
 
1027
+ #: wp-cache.php:1340
1028
  msgid "%s removed!"
1029
  msgstr ""
1030
 
1031
+ #: wp-cache.php:1348 wp-cache.php:1353 plugins/badbehaviour.php:83
1032
+ msgid "Warning!"
1033
+ msgstr ""
1034
+
1035
+ #: wp-cache.php:1348
1036
  msgid ""
1037
  "You must make %s writable to enable this feature. As this is a security risk "
1038
  "please make it readonly after your page is generated."
1039
  msgstr ""
1040
 
1041
+ #: wp-cache.php:1353
1042
  msgid ""
1043
  "%s is writable. Please make it readonly after your page is generated as this "
1044
  "is a security risk."
1045
  msgstr ""
1046
 
1047
+ #: wp-cache.php:1368
1048
  msgid "Existing direct page"
1049
  msgstr ""
1050
 
1051
+ #: wp-cache.php:1368
1052
  msgid "Delete cached file"
1053
  msgstr ""
1054
 
1055
+ #: wp-cache.php:1373
1056
  msgid "Add direct page:"
1057
  msgstr ""
1058
 
1059
+ #: wp-cache.php:1375
1060
  msgid ""
1061
  "Directly cached files are files created directly off %s where your blog "
1062
  "lives. This feature is only useful if you are expecting a major Digg or "
1063
  "Slashdot level of traffic to one post or page."
1064
  msgstr ""
1065
 
1066
+ #: wp-cache.php:1377
1067
  msgid ""
1068
  "For example: to cache <em>%1$sabout/</em>, you would enter %1$sabout/ or /"
1069
  "about/. The cached file will be generated the next time an anonymous user "
1070
  "visits that page."
1071
  msgstr ""
1072
 
1073
+ #: wp-cache.php:1378
1074
  msgid ""
1075
  "Make the textbox blank to remove it from the list of direct pages and delete "
1076
  "the cached file."
1077
  msgstr ""
1078
 
1079
+ #: wp-cache.php:1383
1080
  msgid "Update Direct Pages"
1081
  msgstr ""
1082
 
1083
+ #: wp-cache.php:1468
 
 
 
 
 
1084
  msgid "Expiry Time &amp; Garbage Collection"
1085
  msgstr ""
1086
 
1087
+ #: wp-cache.php:1470
1088
+ msgid "Current server time is: %s"
 
 
 
 
 
1089
  msgstr ""
1090
 
1091
+ #: wp-cache.php:1472
1092
+ msgid "Next scheduled garbage collection will be at (YY-MM-DD H:M:S): %s"
1093
  msgstr ""
1094
 
1095
+ #: wp-cache.php:1475
1096
  msgid ""
1097
  "Warning! <strong>PRELOAD MODE</strong> activated. Supercache files will not "
1098
  "be deleted regardless of age."
1099
  msgstr ""
1100
 
1101
+ #: wp-cache.php:1492
1102
  msgid "Cache Timeout"
1103
  msgstr ""
1104
 
1105
+ #: wp-cache.php:1493 wp-cache.php:1496
1106
  msgid "seconds"
1107
  msgstr ""
1108
 
1109
+ #: wp-cache.php:1494
1110
  msgid ""
1111
  "How long should cached pages remain fresh? Set to 0 to disable garbage "
1112
  "collection. A good starting point is 3600 seconds."
1113
  msgstr ""
1114
 
1115
+ #: wp-cache.php:1495
1116
  msgid "Scheduler"
1117
  msgstr ""
1118
 
1119
+ #: wp-cache.php:1495
1120
  msgid "Timer:"
1121
  msgstr ""
1122
 
1123
+ #: wp-cache.php:1496
1124
  msgid "Check for stale cached files every <em>interval</em> seconds."
1125
  msgstr ""
1126
 
1127
+ #: wp-cache.php:1497
1128
  msgid "Clock:"
1129
  msgstr ""
1130
 
1131
+ #: wp-cache.php:1498
1132
  msgid "HH:MM"
1133
  msgstr ""
1134
 
1135
+ #: wp-cache.php:1498
1136
  msgid ""
1137
+ "Check for stale cached files at this time or starting at this time every "
1138
+ "<em>interval</em> below."
1139
  msgstr ""
1140
 
1141
+ #: wp-cache.php:1500
1142
  msgid "Interval:"
1143
  msgstr ""
1144
 
1145
+ #: wp-cache.php:1506
1146
  msgid "Notification Emails"
1147
  msgstr ""
1148
 
1149
+ #: wp-cache.php:1509
 
 
 
 
1150
  msgid "Garbage Collection"
1151
  msgstr ""
1152
 
1153
+ #: wp-cache.php:1510
1154
  msgid ""
1155
  "<em>Garbage collection</em> is the simple act of throwing out your garbage. "
1156
  "For this plugin that would be old or <em>stale</em> cached files that may be "
1157
  "out of date. New cached files are described as <em>fresh</em>."
1158
  msgstr ""
1159
 
1160
+ #: wp-cache.php:1511
1161
  msgid ""
1162
  "Cached files are fresh for a limited length of time. You can set that time "
1163
  "in the <em>Cache Timeout</em> text box on this page."
1164
  msgstr ""
1165
 
1166
+ #: wp-cache.php:1512
1167
  msgid ""
1168
  "Stale cached files are not removed as soon as they become stale. They have "
1169
  "to be removed by the garbage collecter. That is why you have to tell the "
1170
  "plugin when the garbage collector should run."
1171
  msgstr ""
1172
 
1173
+ #: wp-cache.php:1513
1174
  msgid ""
1175
  "Use the <em>Timer</em> or <em>Clock</em> schedulers to define when the "
1176
  "garbage collector should run."
1177
  msgstr ""
1178
 
1179
+ #: wp-cache.php:1514
1180
  msgid ""
1181
  "The <em>Timer</em> scheduler tells the plugin to run the garbage collector "
1182
  "at regular intervals. When one garbage collection is done, the next run is "
1183
  "scheduled."
1184
  msgstr ""
1185
 
1186
+ #: wp-cache.php:1515
1187
  msgid ""
1188
  "Or, the <em>Clock</em> scheduler allows the garbage collection to run at "
1189
  "specific times. If set to run hourly or twicedaily the garbage collector "
1192
  "time specified."
1193
  msgstr ""
1194
 
1195
+ #: wp-cache.php:1517
1196
  msgid ""
1197
  "There are no best garbage collection settings but here are a few scenarios. "
1198
  "Garbage collection is separate to other actions that clear our cached files "
1199
  "like leaving a comment or publishing a post."
1200
  msgstr ""
1201
 
1202
+ #: wp-cache.php:1519
1203
  msgid ""
1204
  "Sites that want to serve lots of newly generated data should set the "
1205
  "<em>Cache Timeout</em> to 60 and use the <em>Timer</em> scheduler set to 90 "
1206
  "seconds."
1207
  msgstr ""
1208
 
1209
+ #: wp-cache.php:1520
1210
  msgid ""
1211
  "Sites with widgets and rss feeds in their sidebar should probably use a "
1212
  "timeout of 3600 seconds and set the timer to 600 seconds. Stale files will "
1213
  "be caught within 10 minutes of going stale."
1214
  msgstr ""
1215
 
1216
+ #: wp-cache.php:1521
1217
  msgid ""
1218
  "Sites with lots of static content, no widgets or rss feeds in their sidebar "
1219
  "can use a timeout of 86400 seconds or even more and set the timer to "
1220
  "something equally long."
1221
  msgstr ""
1222
 
1223
+ #: wp-cache.php:1522
1224
  msgid ""
1225
  "Sites where an external data source updates at a particular time every day "
1226
  "should set the timeout to 86400 seconds and use the Clock scheduler set "
1227
  "appropriately."
1228
  msgstr ""
1229
 
1230
+ #: wp-cache.php:1524
1231
  msgid ""
1232
  "Checking for and deleting expired files is expensive, but it&#8217;s "
1233
  "expensive leaving them there too. On a very busy site you should set the "
1238
  "using mod_rewrite or PHP caching."
1239
  msgstr ""
1240
 
1241
+ #: wp-cache.php:1525
1242
  msgid "Set the expiry time to 0 seconds to disable garbage collection."
1243
  msgstr ""
1244
 
1245
+ #: wp-cache.php:1526
1246
  msgid "Change Expiration"
1247
  msgstr ""
1248
 
1249
+ #: wp-cache.php:1570
1250
  msgid "Rejected User Agents"
1251
  msgstr ""
1252
 
1253
+ #: wp-cache.php:1571
1254
  msgid ""
1255
  "Strings in the HTTP &#8217;User Agent&#8217; header that prevent WP-Cache "
1256
  "from caching bot, spiders, and crawlers&#8217; requests. Note that super "
1257
  "cached files are still sent to these agents if they already exists."
1258
  msgstr ""
1259
 
1260
+ #: wp-cache.php:1578
1261
  msgid "Save UA Strings"
1262
  msgstr ""
1263
 
1264
+ #: wp-cache.php:1601
1265
  msgid ""
1266
  "Do not cache the following page types. See the <a href=\"http://codex."
1267
  "wordpress.org/Conditional_Tags\">Conditional Tags</a> documentation for a "
1268
  "complete discussion on each type."
1269
  msgstr ""
1270
 
1271
+ #: wp-cache.php:1604
1272
  msgid "Single Posts"
1273
  msgstr ""
1274
 
1275
+ #: wp-cache.php:1605
1276
  msgid "Pages"
1277
  msgstr ""
1278
 
1279
+ #: wp-cache.php:1606
1280
  msgid "Front Page"
1281
  msgstr ""
1282
 
1283
+ #: wp-cache.php:1607
1284
  msgid "Home"
1285
  msgstr ""
1286
 
1287
+ #: wp-cache.php:1608
1288
  msgid "Archives"
1289
  msgstr ""
1290
 
1291
+ #: wp-cache.php:1609
1292
  msgid "Tags"
1293
  msgstr ""
1294
 
1295
+ #: wp-cache.php:1610
1296
  msgid "Category"
1297
  msgstr ""
1298
 
1299
+ #: wp-cache.php:1611
1300
  msgid "Feeds"
1301
  msgstr ""
1302
 
1303
+ #: wp-cache.php:1612
1304
  msgid "Search Pages"
1305
  msgstr ""
1306
 
1307
+ #: wp-cache.php:1613
1308
  msgid "Author Pages"
1309
  msgstr ""
1310
 
1311
+ #: wp-cache.php:1615 wp-cache.php:1729
1312
  msgid "Save"
1313
  msgstr ""
1314
 
1315
+ #: wp-cache.php:1632
1316
  msgid ""
1317
  "Add here strings (not a filename) that forces a page not to be cached. For "
1318
  "example, if your URLs include year and you dont want to cache last year "
1321
  "cache that page."
1322
  msgstr ""
1323
 
1324
+ #: wp-cache.php:1638
1325
  msgid "Save Strings"
1326
  msgstr ""
1327
 
1328
+ #: wp-cache.php:1654
1329
  msgid ""
1330
  "Add here those filenames that can be cached, even if they match one of the "
1331
  "rejected substring specified above."
1332
  msgstr ""
1333
 
1334
+ #: wp-cache.php:1660
1335
  msgid "Save Files"
1336
  msgstr ""
1337
 
1338
+ #: wp-cache.php:1701
1339
  msgid "Currently logging to: %s"
1340
  msgstr ""
1341
 
1342
+ #: wp-cache.php:1704
1343
  msgid ""
1344
  "Fix problems with the plugin by debugging it here. It can log them to a file "
1345
  "in your cache directory."
1346
  msgstr ""
1347
 
1348
+ #: wp-cache.php:1708
1349
  msgid "Debugging"
1350
  msgstr ""
1351
 
1352
+ #: wp-cache.php:1708 plugins/awaitingmoderation.php:40
1353
+ #: plugins/searchengine.php:69 plugins/domain-mapping.php:66
1354
+ #: plugins/badbehaviour.php:71
1355
+ msgid "enabled"
1356
+ msgstr ""
1357
+
1358
+ #: wp-cache.php:1709
1359
  msgid "IP Address"
1360
  msgstr ""
1361
 
1362
+ #: wp-cache.php:1709
1363
  msgid "(only log requests from this IP address. Your IP is %s)"
1364
  msgstr ""
1365
 
1366
+ #: wp-cache.php:1710
1367
+ msgid "Log level"
1368
  msgstr ""
1369
 
1370
+ #: wp-cache.php:1716
1371
+ msgid "(1 = less, 5 = more, may cause severe server load.)"
1372
  msgstr ""
1373
 
1374
+ #: wp-cache.php:1719
1375
  msgid ""
1376
  "In very rare cases two problems may arise on some blogs:<ol><li> The front "
1377
  "page may start downloading as a zip file.</li><li> The wrong page is "
1379
  "and the permalink structure is <em>/%category%/%postname%/</em>.</li></ol>"
1380
  msgstr ""
1381
 
1382
+ #: wp-cache.php:1720
1383
  msgid ""
1384
  "I&#8217;m 99% certain that they aren&#8217;t bugs in WP Super Cache and they "
1385
  "only happen in very rare cases but you can run a simple check once every 5 "
1387
  "emailed if there is a problem."
1388
  msgstr ""
1389
 
1390
+ #: wp-cache.php:1722
1391
  msgid "Check front page every 5 minutes."
1392
  msgstr ""
1393
 
1394
+ #: wp-cache.php:1723
1395
  msgid "Front page text"
1396
  msgstr ""
1397
 
1398
+ #: wp-cache.php:1723
1399
  msgid ""
1400
  "Text to search for on your front page. If this text is missing the cache "
1401
  "will be cleared. Leave blank to disable."
1402
  msgstr ""
1403
 
1404
+ #: wp-cache.php:1724
1405
  msgid "Clear cache on error."
1406
  msgstr ""
1407
 
1408
+ #: wp-cache.php:1725
1409
  msgid "Email the blog admin when checks are made. (useful for testing)"
1410
  msgstr ""
1411
 
1412
+ #: wp-cache.php:1739
1413
  msgid ""
1414
  "Error: GZIP compression is enabled, disable it if you want to enable wp-"
1415
  "cache."
1416
  msgstr ""
1417
 
1418
+ #: wp-cache.php:1786 wp-cache.php:1952
1419
  msgid "Warning"
1420
  msgstr ""
1421
 
1422
+ #: wp-cache.php:1786
1423
  msgid ""
1424
  "GZIP compression is enabled in WordPress, wp-cache will be bypassed until "
1425
  "you disable gzip compression."
1426
  msgstr ""
1427
 
1428
+ #: wp-cache.php:1848 wp-cache.php:1853 wp-cache.php:1885 wp-cache.php:1890
1429
+ #: wp-cache.php:1896
1430
  msgid "Error"
1431
  msgstr ""
1432
 
1433
+ #: wp-cache.php:1848
1434
  msgid ""
1435
  "Your cache directory (<strong>%1$s</strong>) did not exist and couldn&#8217;"
1436
  "t be created by the web server. Check %1$s permissions."
1437
  msgstr ""
1438
 
1439
+ #: wp-cache.php:1853
1440
  msgid ""
1441
  "Your cache directory (<strong>%1$s</strong>) or <strong>%2$s</strong> need "
1442
  "to be writable for this plugin to work. Double-check it."
1443
  msgstr ""
1444
 
1445
+ #: wp-cache.php:1885
1446
  msgid ""
1447
  "Your WP-Cache config file (<strong>%s</strong>) is out of date and not "
1448
  "writable by the Web server.Please delete it and refresh this page."
1449
  msgstr ""
1450
 
1451
+ #: wp-cache.php:1890
1452
  msgid ""
1453
  "Configuration file missing and %1$s directory (<strong>%2$s</strong>) is "
1454
  "not writable by the Web server.Check its permissions."
1455
  msgstr ""
1456
 
1457
+ #: wp-cache.php:1896
1458
  msgid ""
1459
  "Sample WP-Cache config file (<strong>%s</strong>) does not exist.Verify you "
1460
  "installation."
1461
  msgstr ""
1462
 
1463
+ #: wp-cache.php:1952
 
 
 
 
1464
  msgid "%s/advanced-cache.php</em> does not exist or cannot be updated."
1465
  msgstr ""
1466
 
1467
+ #: wp-cache.php:1953
1468
  msgid "1. If it already exists please delete the file first."
1469
  msgstr ""
1470
 
1471
+ #: wp-cache.php:1954
1472
  msgid ""
1473
  "2. Make %1$s writable using the chmod command through your ftp or server "
1474
  "software. (<em>chmod 777 %1$s</em>) and refresh this page. This is only a "
1476
  "again. (Change 777 to 755 in the previous command)"
1477
  msgstr ""
1478
 
1479
+ #: wp-cache.php:1955
1480
  msgid "3. Refresh this page to update <em>%s/advanced-cache.php</em>"
1481
  msgstr ""
1482
 
1483
+ #: wp-cache.php:1956
1484
  msgid ""
1485
  "If that doesn&#8217;t work, make sure the file <em>%s/advanced-cache.php</"
1486
  "em> doesn&#8217;t exist:"
1487
  msgstr ""
1488
 
1489
+ #: wp-cache.php:1957
1490
  msgid ""
1491
  "<li>1. Open <em>%1$s$wp_cache_file</em> in a text editor.</li><li>2. Change "
1492
  "the text <em>CACHEHOME</em> to <em>%2$s</em></li><li>3. Save the file and "
1493
  "copy it to <em>%3$s</em> and refresh this page.</li>"
1494
  msgstr ""
1495
 
1496
+ #: wp-cache.php:1980
1497
  msgid ""
1498
  "<h3>WP_CACHE constant set to false</h3><p>The WP_CACHE constant is used by "
1499
  "WordPress to load the code that serves cached pages. Unfortunately it is set "
1502
  "true);</code></p>"
1503
  msgstr ""
1504
 
1505
+ #: wp-cache.php:1982
1506
  msgid ""
1507
  "<strong>Error: WP_CACHE is not enabled</strong> in your <code>wp-config.php</"
1508
  "code> file and I couldn&#8217;t modify it."
1509
  msgstr ""
1510
 
1511
+ #: wp-cache.php:1983
1512
  msgid ""
1513
  "Edit <code>%s</code> and add the following line:<br /> <code>define"
1514
  "('WP_CACHE', true);</code><br />Otherwise, <strong>WP-Cache will not be "
1515
  "executed</strong> by WordPress core. "
1516
  msgstr ""
1517
 
1518
+ #: wp-cache.php:1987
1519
  msgid ""
1520
  "<h3>WP_CACHE constant added to wp-config.php</h3><p>If you continue to see "
1521
  "this warning message please see point 5 of the <a href=\"http://wordpress."
1522
+ "org/extend/plugins/wp-super-cache/faq/\">FAQ</a>. The WP_CACHE line must be "
1523
+ "moved up."
1524
  msgstr ""
1525
 
1526
+ #: wp-cache.php:2015
1527
  msgid "Cache Contents"
1528
  msgstr ""
1529
 
1530
+ #: wp-cache.php:2018
1531
  msgid "Object cache in use. No cache listing available."
1532
  msgstr ""
1533
 
1534
+ #: wp-cache.php:2042
1535
  msgid "Deleting supercache file: <strong>%s</strong><br />"
1536
  msgstr ""
1537
 
1538
+ #: wp-cache.php:2059
1539
  msgid "Deleting wp-cache file: <strong>%s</strong><br />"
1540
  msgstr ""
1541
 
1542
+ #: wp-cache.php:2124
1543
  msgid ""
1544
  "Cache stats are not automatically generated. You must click the link below "
1545
  "to regenerate the stats on this page."
1546
  msgstr ""
1547
 
1548
+ #: wp-cache.php:2125
1549
  msgid "Regenerate cache stats"
1550
  msgstr ""
1551
 
1552
+ #: wp-cache.php:2127
1553
  msgid "Cache stats last generated: %s minutes ago."
1554
  msgstr ""
1555
 
1556
+ #: wp-cache.php:2133
1557
  msgid "WP-Cache"
1558
  msgstr ""
1559
 
1560
+ #: wp-cache.php:2134 wp-cache.php:2149
1561
  msgid "%s Cached Pages"
1562
  msgstr ""
1563
 
1564
+ #: wp-cache.php:2135 wp-cache.php:2154
1565
  msgid "%s Expired Pages"
1566
  msgstr ""
1567
 
1568
+ #: wp-cache.php:2148
1569
  msgid "WP-Super-Cache"
1570
  msgstr ""
1571
 
1572
+ #: wp-cache.php:2158
1573
  msgid "Fresh WP-Cached Files"
1574
  msgstr ""
1575
 
1576
+ #: wp-cache.php:2159 wp-cache.php:2175 wp-cache.php:2191 wp-cache.php:2207
1577
  msgid "URI"
1578
  msgstr ""
1579
 
1580
+ #: wp-cache.php:2159 wp-cache.php:2175
1581
  msgid "Key"
1582
  msgstr ""
1583
 
1584
+ #: wp-cache.php:2159 wp-cache.php:2175 wp-cache.php:2191 wp-cache.php:2207
1585
  msgid "Age"
1586
  msgstr ""
1587
 
1588
+ #: wp-cache.php:2159 wp-cache.php:2175 wp-cache.php:2191 wp-cache.php:2207
1589
  msgid "Delete"
1590
  msgstr ""
1591
 
1592
+ #: wp-cache.php:2174
1593
  msgid "Stale WP-Cached Files"
1594
  msgstr ""
1595
 
1596
+ #: wp-cache.php:2190
1597
  msgid "Fresh Super Cached Files"
1598
  msgstr ""
1599
 
1600
+ #: wp-cache.php:2206
1601
  msgid "Stale Super Cached Files"
1602
  msgstr ""
1603
 
1604
+ #: wp-cache.php:2222
1605
  msgid "Hide file list"
1606
  msgstr ""
1607
 
1608
+ #: wp-cache.php:2224
1609
  msgid "Too many cached files, no listing possible."
1610
  msgstr ""
1611
 
1612
+ #: wp-cache.php:2226
1613
  msgid "List all cached files"
1614
  msgstr ""
1615
 
1616
+ #: wp-cache.php:2232
1617
+ msgid ""
1618
+ "<strong>Garbage Collection</strong><br />Last GC was <strong>%s</strong> "
1619
+ "minutes ago<br />"
1620
+ msgstr ""
1621
+
1622
+ #: wp-cache.php:2233
1623
+ msgid "Next GC in <strong>%s</strong> minutes"
1624
+ msgstr ""
1625
+
1626
+ #: wp-cache.php:2236
1627
  msgid ""
1628
  "Expired files are files older than %s seconds. They are still used by the "
1629
  "plugin and are deleted periodically."
1630
  msgstr ""
1631
 
1632
+ #: wp-cache.php:2247
1633
  msgid "Delete Expired"
1634
  msgstr ""
1635
 
1636
+ #: wp-cache.php:2272
1637
  msgid "Delete Super Cache cached files (opens in new window)"
1638
  msgstr ""
1639
 
1640
+ #: wp-cache.php:2412
1641
  msgid "%1$s is Stephen Fry proof thanks to caching by %2$s"
1642
  msgstr ""
1643
 
1644
+ #: wp-cache.php:2445
1645
  msgid ""
1646
  "WP Super Cache must be configured. Go to <a href=\"%s\">the admin page</a> "
1647
  "to enable and configure the plugin."
1648
  msgstr ""
1649
 
1650
+ #: wp-cache.php:2451
1651
  msgid "Settings"
1652
  msgstr ""
1653
 
1654
+ #: wp-cache.php:2461
1655
  msgid ""
1656
  "WP Super Cache is disabled. Please go to the <a href=\"%s\">plugin admin "
1657
  "page</a> to enable caching."
1658
  msgstr ""
1659
 
1660
+ #: wp-cache.php:2464
1661
  msgid ""
1662
+ "Warning! WP Super Cache caching broken! The script advanced-cache.php could "
1663
+ "not load wp-cache-phase1.php.<br /><br />Please edit %1$s/advanced-cache.php "
1664
+ "and make sure the path to %2$swp-cache-phase1.php is correct."
 
 
1665
  msgstr ""
1666
 
1667
+ #: wp-cache.php:2483
1668
  msgid "[%s] Front page is gzipped! Please clear cache!"
1669
  msgstr ""
1670
 
1671
+ #: wp-cache.php:2483
1672
  msgid ""
1673
  "Please visit %s to clear the cache as the front page of your site is now "
1674
  "downloading!"
1675
  msgstr ""
1676
 
1677
+ #: wp-cache.php:2486
1678
  msgid "[%s] Front page is gzipped! Cache Cleared!"
1679
  msgstr ""
1680
 
1681
+ #: wp-cache.php:2486
1682
  msgid ""
1683
  "The cache on your blog has been cleared because the front page of your site "
1684
  "is now downloading. Please visit %s to verify the cache has been cleared."
1685
  msgstr ""
1686
 
1687
+ #: wp-cache.php:2493
1688
  msgid "[%s] Front page is not correct! Please clear cache!"
1689
  msgstr ""
1690
 
1691
+ #: wp-cache.php:2493
1692
  msgid ""
1693
  "Please visit %1$s to clear the cache as the front page of your site is not "
1694
  "correct and missing the text, \"%2$s\"!"
1695
  msgstr ""
1696
 
1697
+ #: wp-cache.php:2496
1698
  msgid "[%s] Front page is not correct! Cache Cleared!"
1699
  msgstr ""
1700
 
1701
+ #: wp-cache.php:2496
1702
  msgid ""
1703
  "The cache on your blog has been cleared because the front page of your site "
1704
  "is missing the text \"%2$s\". Please visit %1$s to verify the cache has been "
1705
  "cleared."
1706
  msgstr ""
1707
 
1708
+ #: wp-cache.php:2501
1709
  msgid "[%s] Front page check!"
1710
  msgstr ""
1711
 
1712
+ #: wp-cache.php:2501
1713
  msgid ""
1714
  "WP Super Cache has checked the front page of your blog. Please visit %s if "
1715
  "you would like to disable this."
1716
  msgstr ""
1717
 
1718
+ #: wp-cache.php:2544
1719
  msgid "Cannot update .htaccess"
1720
  msgstr ""
1721
 
1722
+ #: wp-cache.php:2544
1723
  msgid ""
1724
  "The file <code>%s.htaccess</code> cannot be modified by the web server. "
1725
  "Please correct this using the chmod command or your ftp client."
1726
  msgstr ""
1727
 
1728
+ #: wp-cache.php:2544
1729
  msgid "Refresh this page when the file permissions have been modified."
1730
  msgstr ""
1731
 
1732
+ #: wp-cache.php:2544
1733
  msgid ""
1734
  "Alternatively, you can edit your <code>%s.htaccess</code> file manually and "
1735
  "add the following code (before any WordPress rules):"
1736
  msgstr ""
1737
 
1738
+ #: wp-cache.php:2548
1739
  msgid ""
1740
  "To serve static html files your server must have the correct mod_rewrite "
1741
  "rules added to a file called <code>%s.htaccess</code>"
1742
  msgstr ""
1743
 
1744
+ #: wp-cache.php:2549
1745
  msgid "You can edit the file yourself add the following rules."
1746
  msgstr ""
1747
 
1748
+ #: wp-cache.php:2550
1749
  msgid " Make sure they appear before any existing WordPress rules. "
1750
  msgstr ""
1751
 
1752
+ #: wp-cache.php:2558
1753
  msgid "Update Mod_Rewrite Rules"
1754
  msgstr ""
1755
 
1756
+ #: wp-cache.php:2692
1757
  msgid "[%1$s] Cache Preload Started"
1758
  msgstr ""
1759
 
1760
+ #: wp-cache.php:2720
1761
  msgid "[%1$s] Refreshing %2$s taxonomy from %3$d to %4$d"
1762
  msgstr ""
1763
 
1764
+ #: wp-cache.php:2755
1765
  msgid "[%1$s] Refreshing posts from %2$d to %3$d"
1766
  msgstr ""
1767
 
1768
+ #: wp-cache.php:2773
1769
  msgid "[%1$s] Cache Preload Stopped"
1770
  msgstr ""
1771
 
1772
+ #: wp-cache.php:2782
1773
  msgid "[%1$s] %2$d posts refreshed"
1774
  msgstr ""
1775
 
1776
+ #: wp-cache.php:2782
1777
  msgid "Refreshed the following posts:"
1778
  msgstr ""
1779
 
1780
+ #: wp-cache.php:2791
1781
  msgid "Scheduling next preload refresh in %d minutes."
1782
  msgstr ""
1783
 
1784
+ #: wp-cache.php:2801
1785
  msgid "[%s] Cache Preload Completed"
1786
  msgstr ""
1787
 
1788
+ #: wp-cache.php:2801
1789
  msgid "Cleaning up old supercache files."
1790
  msgstr ""
1791
 
1792
+ #: wp-cache.php:2843
1793
  msgid "[%s] Preload may have stalled."
1794
  msgstr ""
1795
 
1796
+ #: wp-cache.php:2843
1797
  msgid ""
1798
  "Preload has been restarted.\n"
1799
  "%s"
1800
  msgstr ""
1801
 
1802
+ #: wp-cache.php:2886
1803
  msgid "Supercache Uninstall Problems"
1804
  msgstr ""
1805
 
1806
+ #: wp-cache.php:2886
1807
  msgid ""
1808
  "Dear User,\n"
1809
  "\n"
1821
  "http://wordpress.org/extend/plugins/wp-super-cache/"
1822
  msgstr ""
1823
 
1824
+ #: ossdl-cdn.php:149
1825
+ msgid ""
1826
+ "Your website probably uses lots of static files. Image, Javascript and CSS "
1827
+ "files are usually static files that could just as easily be served from "
1828
+ "another site or CDN. Therefore this plugin replaces any links in the "
1829
+ "<code>wp-content</code> and <code>wp-includes</code> directories (except for "
1830
+ "PHP files) on your site with the URL you provide below. That way you can "
1831
+ "either copy all the static content to a dedicated host or mirror the files "
1832
+ "to a CDN by <a href=\"http://knowledgelayer.softlayer.com/questions/365/How"
1833
+ "+does+Origin+Pull+work%3F\" target=\"_blank\">origin pull</a>."
1834
+ msgstr ""
1835
+
1836
+ #: ossdl-cdn.php:151
1837
+ msgid ""
1838
+ "<strong style=\"color: red\">WARNING:</strong> Test some static urls e.g., %"
1839
+ "s to ensure your CDN service is fully working before saving changes."
1840
+ msgstr ""
1841
+
1842
+ #: ossdl-cdn.php:152
1843
+ msgid "You can define different CDN URLs for each site on a multsite network."
1844
+ msgstr ""
1845
+
1846
+ #: ossdl-cdn.php:160
1847
+ msgid "Enable CDN Support"
1848
+ msgstr ""
1849
+
1850
+ #: ossdl-cdn.php:163
1851
+ msgid "Off-site URL"
1852
+ msgstr ""
1853
+
1854
+ #: ossdl-cdn.php:166
1855
+ msgid ""
1856
+ "The new URL to be used in place of %1$s for rewriting. No trailing <code>/</"
1857
+ "code> please.<br />Example: <code>%2$s</code>."
1858
+ msgstr ""
1859
+
1860
+ #: ossdl-cdn.php:170
1861
+ msgid "Include directories"
1862
+ msgstr ""
1863
+
1864
+ #: ossdl-cdn.php:173
1865
+ msgid ""
1866
+ "Directories to include in static file matching. Use a comma as the "
1867
+ "delimiter. Default is <code>wp-content, wp-includes</code>, which will be "
1868
+ "enforced if this field is left empty."
1869
+ msgstr ""
1870
+
1871
+ #: ossdl-cdn.php:177
1872
+ msgid "Exclude if substring"
1873
+ msgstr ""
1874
+
1875
+ #: ossdl-cdn.php:180
1876
+ msgid ""
1877
+ "Excludes something from being rewritten if one of the above strings is found "
1878
+ "in the match. Use a comma as the delimiter like this, <code>.php, .flv, .do</"
1879
+ "code>, and always include <code>.php</code> (default)."
1880
+ msgstr ""
1881
+
1882
+ #: ossdl-cdn.php:184
1883
+ msgid "Additional CNAMES"
1884
+ msgstr ""
1885
+
1886
+ #: ossdl-cdn.php:187
1887
+ msgid ""
1888
+ "These <a href=\"http://en.wikipedia.org/wiki/CNAME_record\">CNAMES</a> will "
1889
+ "be used in place of %1$s for rewriting (in addition to the off-site URL "
1890
+ "above). Use a comma as the delimiter. For pages with a large number of "
1891
+ "static files, this can improve browser performance. CNAMEs may also need to "
1892
+ "be configured on your CDN.<br />Example: %2$s"
1893
+ msgstr ""
1894
+
1895
+ #: ossdl-cdn.php:191
1896
+ msgid "Skip https URLs to avoid \"mixed content\" errors"
1897
+ msgstr ""
1898
+
1899
+ #: ossdl-cdn.php:195
1900
+ msgid "Save Changes"
1901
+ msgstr ""
1902
+
1903
+ #: ossdl-cdn.php:197
1904
+ msgid ""
1905
+ "CDN functionality provided by <a href=\"http://wordpress.org/extend/plugins/"
1906
+ "ossdl-cdn-off-linker/\">OSSDL CDN Off Linker</a> by <a href=\"http://mark."
1907
+ "ossdl.de/\">Mark Kubacki</a>"
1908
+ msgstr ""
1909
+
1910
+ #: plugins/awaitingmoderation.php:4
1911
+ msgid "Your comment is awaiting moderation."
1912
+ msgstr ""
1913
+
1914
+ #: plugins/awaitingmoderation.php:32
1915
+ msgid "Awaiting Moderation"
1916
+ msgstr ""
1917
+
1918
+ #: plugins/awaitingmoderation.php:36
1919
+ msgid ""
1920
+ "Enables or disables plugin to Remove the text \"Your comment is awaiting "
1921
+ "moderation.\" when someone leaves a moderated comment."
1922
+ msgstr ""
1923
+
1924
+ #: plugins/awaitingmoderation.php:42 plugins/searchengine.php:67
1925
+ #: plugins/domain-mapping.php:68 plugins/badbehaviour.php:73
1926
+ msgid "disabled"
1927
+ msgstr ""
1928
+
1929
+ #: plugins/awaitingmoderation.php:43
1930
+ msgid "Awaiting Moderation is now %s"
1931
+ msgstr ""
1932
+
1933
+ #: plugins/awaitingmoderation.php:45 plugins/domain-mapping.php:71
1934
+ #: plugins/badbehaviour.php:76
1935
+ msgid "Update"
1936
+ msgstr ""
1937
+
1938
+ #: plugins/searchengine.php:71
1939
+ msgid ""
1940
+ "<a href=\"http://ocaoimh.ie/no-adverts-for-friends/\">No Adverts for "
1941
+ "Friends</a> plugin is %s."
1942
+ msgstr ""
1943
+
1944
+ #: plugins/searchengine.php:72
1945
+ msgid ""
1946
+ "(requires <a href=\"http://ocaoimh.ie/no-adverts-for-friends/"
1947
+ "\">friendsadverts.php</a> too) "
1948
+ msgstr ""
1949
+
1950
+ #: plugins/domain-mapping.php:58
1951
+ msgid "Domain Mapping"
1952
+ msgstr ""
1953
+
1954
+ #: plugins/domain-mapping.php:63
1955
+ msgid ""
1956
+ "Provides support for <a href=\"http://wordpress.org/extend/plugins/wordpress-"
1957
+ "mu-domain-mapping/\">Domain Mapping</a> plugin to map multiple domains to a "
1958
+ "blog."
1959
+ msgstr ""
1960
+
1961
+ #: plugins/domain-mapping.php:69
1962
+ msgid "Domain Mapping support is now %s"
1963
+ msgstr ""
1964
+
1965
+ #: plugins/domain-mapping.php:83
1966
+ msgid ""
1967
+ "Domain Mapping plugin detected! Please go to the Supercache plugins page and "
1968
+ "enable the domain mapping helper plugin."
1969
+ msgstr ""
1970
+
1971
+ #: plugins/badbehaviour.php:47
1972
+ msgid "Bad Behaviour not found. Please check your install."
1973
+ msgstr ""
1974
+
1975
+ #: plugins/badbehaviour.php:63
1976
+ msgid "Bad Behavior"
1977
+ msgstr ""
1978
+
1979
+ #: plugins/badbehaviour.php:68
1980
+ msgid ""
1981
+ "(Only legacy caching supported, disabled compression and requires <a href="
1982
+ "\"http://www.bad-behavior.ioerror.us/\">Bad Behavior</a> in \"%s/plugins/bad-"
1983
+ "behavior/\") "
1984
+ msgstr ""
1985
+
1986
+ #: plugins/badbehaviour.php:74
1987
+ msgid "Bad Behavior support is now %s"
1988
+ msgstr ""
1989
+
1990
+ #: wp-cache-phase2.php:1093
1991
+ msgid "Cache expiry cron job failed. Job will run again in 10 seconds."
1992
+ msgstr ""
1993
+
1994
+ #: wp-cache-phase2.php:1097
1995
+ msgid ""
1996
+ "Cache expiry cron job took more than 30 seconds. You should probably run the "
1997
+ "garbage collector more often."
1998
+ msgstr ""
1999
+
2000
+ #: wp-cache-phase2.php:1106
2001
+ msgid "[%1$s] WP Super Cache GC Report"
2002
  msgstr ""