diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 1f7c19ce5..a330eb019 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -11,6 +11,7 @@ - fix thumbnail script with Graphics::Magick - fix ordering of statuses in In/Out board - fix package importing + - remove caching behavior, will always send content to the client if they ask 7.4.5 - fix: Apostrophy incorrectly escaped as double quote in some places diff --git a/lib/WebGUI.pm b/lib/WebGUI.pm index 12f899a26..41a333ab6 100644 --- a/lib/WebGUI.pm +++ b/lib/WebGUI.pm @@ -148,14 +148,16 @@ sub contentHandler { } } } else { - if ($r->headers_in->{'If-Modified-Since'} ne "" && $session->var->get("userId") eq "1") { #display from cache if page hasn't been modified. - $http->setStatus("304","Content Not Modified"); - $http->sendHeader; - $session->close; - return Apache2::Const::OK(); - } else { #return the page. + # This needs to be improved in some way in the future. + # The way this operates is very wrong, so disabled for now + #if ($r->headers_in->{'If-Modified-Since'} ne "" && $session->var->get("userId") eq "1") { #display from cache if page hasn't been modified. + # $http->setStatus("304","Content Not Modified"); + # $http->sendHeader; + # $session->close; + # return Apache2::Const::OK(); + #} else { #return the page. $out = page($session); - } + #} } my $filename = $http->getStreamedFile(); if ((defined $filename) && ($config->get("enableStreamingUploads") eq "1")) {