Teksolvr
Back to Home

HTTP Code: 304 (Not Modified)

HTTP Status Code Reference

Status Category

3xxRedirection

Meaning & Definition

The client can continue to use the cached version of the requested resource since it has not changed on the server.

Common Causes

  • ETag caching headers verification match
  • If-Modified-Since validation headers match
  • Browser asset cache loading optimization

How to resolve HTTP code errors

1. Inspect Logs: Check server logs (e.g. error.log) to locate runtime exceptions or database disconnects.

2. Test Endpoint: Use our Uptime Checker or redirects prober to verify response headers and payload size.

3. Configure Rules: Implement custom redirect rules or error fallback paths below in Nginx/Apache config.

Nginx Configuration Setup

# Handled automatically by Nginx static file module
etag on;
expires 7d;

Apache Configuration Setup

# Handled automatically. Configure Cache-Control
<filesMatch "\.(html|css|js)$">
  Header set Cache-Control "max-age=86400"
</filesMatch>