Adds the ETag, Last-Modified, and if appropriate 304 headers to HTTP responses generated by WordPress for more efficient caching.
As of April 2026, LH Add Headers is a WordPress caching plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.4K+ times in total. Requires WordPress 3.1.0+ and PHP false+. Available on WordPress.org since 2016. Last updated 8 years ago — may have compatibility concerns. Top alternative: LiteSpeed Cache.
A 304 Not Modified HTTP Header tells your visitors that nothing has changed since their last visit. This is important as without this header visitors may be downloading your webpages from scratch each time, slowing down their experience and your site.
Generally if you do not pass 304 Not Modified HTTP Header through your HTTP header, crawlers will fetch your whole website and then compare the content of your site with the already indexed content to check whether anything new has been updated on your website or not. But this process consumes a lot of your server resource and bandwidth.
You can know more about it here.
Before reading any further it is important to understand this plugin uses output buffering, in fact the Etag sent by this plugin is a hash of the s…
| WordPress | 3.1.0+ requiredTested up to 4.8.28 |
| PHP | false+ required |
1.00 April 15, 2016
Initial release.
1.01 May 05, 2016
Code improvement
1.02 May 19, 2016
Fixed customiser issue
1.03 June 22, 2016
Fixed documentation link
1.04 April 30, 2017
Added class check
1.05 May 10, 2017
Keep comments in outputted source
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.