Skip to content

Commit

Permalink
Item12915: enable page-caching for REST again
Browse files Browse the repository at this point in the history
This reverts http://trac.foswiki.org/changeset/17699.
See the task item for a detailed explanation.



git-svn-id: http://svn.foswiki.org/trunk@17703 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed May 27, 2014
1 parent 8f7c33e commit 2d0737d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/lib/Foswiki/UI/Rest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,7 @@ sub rest {
$Foswiki::cfg{HomeTopicName} );
}

# SMELL: How does returning the cache for Main/WebHome make sense for
# a rest handler results. See Item12915. Temporarily disabling cache.
my $cache = 0; # $session->{cache};

my $cache = $session->{cache};
my $cachedPage;
$cachedPage = $cache->getPage( $session->{webName}, $session->{topicName} )
if $cache;
Expand Down

0 comments on commit 2d0737d

Please sign in to comment.