Skip to content

Commit

Permalink
[controllers]: ckan#1388 no need for hack for caching now etags fixed…
Browse files Browse the repository at this point in the history
… for language.
  • Loading branch information
David Read committed Oct 25, 2011
1 parent 1527775 commit c15de5a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ckan/controllers/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ def locale(self):
# no need for error, just don't redirect
return
return_to += '&' if '?' in return_to else '?'
# hack to prevent next page being cached
return_to += '__cache=%s' % int(random.random()*100000000)
redirect_to(return_to)

def cache(self, id):
Expand Down

0 comments on commit c15de5a

Please sign in to comment.