Viewing 6 replies - 16 through 21 (of 21 total)
  • Plugin Author Emre Vona

    (@emrevona)

    }else if(isset($_GET["preview"])){
    				return $buffer."<!-- not cached -->";
    			}else if($this->checkHtml($buffer)){
    				return $buffer."<!-- html is corrupted -->";
    			}else if(http_response_code() == 301 || http_response_code() == 302){
    				return $buffer;
    			}else{

    I added like that. is it ok?

    Thread Starter Beherit

    (@beherit)

    Yes 🙂 Thank You very much! 🙂

    Plugin Author Emre Vona

    (@emrevona)

    thank you too 🙂

    Plugin Author Emre Vona

    (@emrevona)

    Your code caused the problem 🙂 so I added the following condition.

    function_exists("http_response_code")

    Thread Starter Beherit

    (@beherit)

    Uhm, this function is available for PHP >= 5.4.0 – I didn’t realize that someone can use such old version of PHP 😛

    Plugin Author Emre Vona

    (@emrevona)

    😀

Viewing 6 replies - 16 through 21 (of 21 total)

The topic ‘Cache redirects?’ is closed to new replies.