Skip to content

Commit

Permalink
Revert "Cache bundles for a month."
Browse files Browse the repository at this point in the history
This reverts commit 9c28132. It's
causing tracebacks in dev and giorgos isn't around to fix it.
  • Loading branch information
Michael Kelly committed May 27, 2015
1 parent cc7c93a commit 00d108f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions media/bundles/.htaccess

This file was deleted.

3 changes: 1 addition & 2 deletions snippets/base/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ def key(self):
# Key should consist of snippets that are in the bundle plus any
# properties of the client that may change the snippet code
# being sent.
key_properties = ['{id}-{date}'.format(id=snippet.id, date=snippet.modified.isoformat())
for snippet in self.snippets]
key_properties = [snippet.id for snippet in self.snippets]
key_properties.extend([
self.client.startpage_version,
self.client.locale,
Expand Down

0 comments on commit 00d108f

Please sign in to comment.