PluginProbe ʕ •ᴥ•ʔ
WP Super Cache / 0.6.8
WP Super Cache v0.6.8
3.1.1 trunk 0.1 0.2 0.3 0.3.1 0.4 0.5 0.5.1 0.5.2 0.5.3 0.6.2 0.6.3 0.6.4 0.6.5 0.6.6 0.6.7 0.6.8 0.7 0.7.1 0.8 0.8.1 0.8.2 0.8.3 0.8.4 0.8.5 0.8.6 0.8.7 0.8.8 0.8.9 0.9 0.9.1 0.9.2 0.9.3 0.9.3.1 0.9.4 0.9.4.1 0.9.4.2 0.9.4.3 0.9.5 0.9.6 0.9.6.1 0.9.7 0.9.8 0.9.9 0.9.9.1 0.9.9.2 0.9.9.3 0.9.9.4 0.9.9.5 0.9.9.6 0.9.9.7 0.9.9.8 0.9.9.9 1.0 1.0.1 1.1 1.1.1 1.10.0 1.11.0 1.12.0 1.12.1 1.12.2 1.12.3 1.12.4 1.2 1.2.1 1.3 1.3.1 1.3.2 1.3.3 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.7.1 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.8 1.9 1.9.1 1.9.2 1.9.3 1.9.4 2.0.0 2.0.1 3.0.0 3.0.1 3.0.2 3.0.3 3.1.0
wp-super-cache / wp-cache-config-sample.php
wp-super-cache Last commit date
plugins 17 years ago Changelog.txt 17 years ago readme.txt 17 years ago wp-cache-base.php 18 years ago wp-cache-config-sample.php 17 years ago wp-cache-phase1.php 17 years ago wp-cache-phase2.php 17 years ago wp-cache.php 17 years ago
wp-cache-config-sample.php
54 lines
1 <?php
2 /*
3 WP-Cache Config Sample File
4
5 See wp-cache.php for author details.
6 */
7
8 define( 'WPCACHEHOME', WP_CONTENT_DIR . '/plugins/wp-super-cache/' );
9
10 $cache_compression = 0; // Super cache compression
11 $cache_enabled = false;
12 $super_cache_enabled = false;
13 $cache_max_time = 3600; //in seconds
14 //$use_flock = true; // Set it true or false if you know what to use
15 $super_cache_max_time = 21600; // in seconds
16 $cache_path = WP_CONTENT_DIR . '/cache/';
17 $file_prefix = 'wp-cache-';
18
19 // We want to be able to identify each blog in a WordPress MU install
20 $blogcacheid = '';
21 if( defined( 'VHOST' ) ) {
22 $blogcacheid = 'blog'; // main blog
23 if( constant( 'VHOST' ) == 'yes' ) {
24 $blogcacheid = $_SERVER['HTTP_HOST'];
25 } else {
26 $request_uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '..', '', $_SERVER['REQUEST_URI'] ) );
27 if( strpos( $request_uri, '/', 1 ) ) {
28 if( $base == '/' ) {
29 $blogcacheid = substr( $request_uri, 1, strpos( $request_uri, '/', 1 ) - 1 );
30 } else {
31 $blogcacheid = str_replace( $base, '', $request_uri );
32 $blogcacheid = substr( $blogcacheid, 0, strpos( $blogcacheid, '/', 1 ) );
33 }
34 if ( '/' == substr($blogcacheid, -1))
35 $blogcacheid = substr($blogcacheid, 0, -1);
36 }
37 }
38 }
39
40 // Array of files that have 'wp-' but should still be cached
41 $cache_acceptable_files = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' );
42
43 $cache_rejected_uri = array('wp-.*.php', 'index.php');
44 $cache_rejected_user_agent = array ( 0 => 'bot', 1 => 'ia_archive', 2 => 'slurp', 3 => 'crawl', 4 => 'spider');
45
46 // Just modify it if you have conflicts with semaphores
47 $sem_id = 5419;
48
49 if ( '/' != substr($cache_path, -1)) {
50 $cache_path .= '/';
51 }
52
53 ?>
54