Commit 89c8f144 authored by Ulrich Block's avatar Ulrich Block
Browse files

Update index-wp-redis.php

Preview does not work at all.

Shoudln´t be cached in first place as frequent editing is the normal usecase.
parent 8257b641
......@@ -69,6 +69,8 @@ if (isset($_GET['refresh']) || $_GET['refresh'] == $secret_string || ($_SERVER['
} else if ($_SERVER['REMOTE_ADDR'] != $ip_of_your_website && strstr($current_url, 'preview=true') == true) {
// else { // This is what your server should get if no cache exists //depricated, as the ob_start() is cleaner
// require('./wp-blog-header.php');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment