All updates
fix

Caching Plugin .htaccess Support

Fixed an issue where caching plugins like Autoptimize couldn't set browser caching rules via .htaccess.

Plugins that use Apache .htaccess directives for browser caching now work correctly out of the box.

What happened

Our Apache configuration was blocking .htaccess directives like ExpiresActive and ExpiresByType, which caching and optimization plugins rely on to set browser cache headers. This caused errors in the Apache log and meant those caching rules were silently ignored.

What we fixed

The server now permits the full set of .htaccess directives that caching plugins need. Directory listing remains disabled - only the caching-related directives are allowed through.

Affected plugins

This fix benefits any plugin that sets cache expiration headers via .htaccess, including:

  • Autoptimize - browser caching for optimized CSS/JS bundles
  • WP Super Cache - static file expiration headers
  • W3 Total Cache - browser cache rules
  • LiteSpeed Cache - Apache-level caching directives

No action needed on your end - the fix applies automatically.