mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 14:58:27 -05:00
Remove unused last-modified check from GET_stylesheet.
We no longer write to the old last modified system for stylesheets anyway, so there's no point in checking. S3 handles last modified for the staticized stylesheets anyway.
This commit is contained in:
@@ -401,9 +401,6 @@ class FrontController(RedditController, OAuth2ResourceController):
|
||||
|
||||
if stylesheet_contents:
|
||||
c.allow_loggedin_cache = True
|
||||
self.check_modified(c.site,'stylesheet_contents',
|
||||
private=False, max_age=7*24*60*60,
|
||||
must_revalidate=False)
|
||||
c.response_content_type = 'text/css'
|
||||
c.response.content = stylesheet_contents
|
||||
if c.site.type == 'private':
|
||||
|
||||
Reference in New Issue
Block a user