Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Throw an Expires header for all requests, not just those with a post.

It's a pretty safe bet all pages can be cached for 30 days… at least at this point.
  • Loading branch information...
commit b0f51f8556c51a83ac88f4b4905d1c315025cdbb 1 parent a3d5f0c
@chrismeller authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  classes/theme.php
View
3  classes/theme.php
@@ -348,9 +348,10 @@ public function act_display( $paramarray = array( 'user_filters'=> array() ) )
}
}
- header('Expires: ' . $expires, true);
}
+ header('Expires: ' . $expires, true);
+
return $this->display_fallback( $fallback );
}
Please sign in to comment.
Something went wrong with that request. Please try again.