# ------------------------------------------------------
# ✅ PERFORMANCE BOOST: GZIP Compression + Browser Cache
# ------------------------------------------------------

<IfModule mod_deflate.c>
  # Enable GZIP Compression
  AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
  AddOutputFilterByType DEFLATE application/javascript application/x-javascript
  AddOutputFilterByType DEFLATE application/json application/xml image/svg+xml
</IfModule>

<IfModule mod_expires.c>
  # Enable Browser Caching
  ExpiresActive On
  ExpiresDefault "access plus 1 month"

  # Images: Cache for 1 Year
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType image/png "access plus 1 year"
  ExpiresByType image/webp "access plus 1 year"
  ExpiresByType image/gif "access plus 1 year"
  ExpiresByType image/svg+xml "access plus 1 year"

  # CSS and JS: Cache for 1 Month
  ExpiresByType text/css "access plus 1 month"
  ExpiresByType application/javascript "access plus 1 month"
  ExpiresByType text/javascript "access plus 1 month"

  # Fonts: Cache for 1 Year
  ExpiresByType font/woff2 "access plus 1 year"
  ExpiresByType font/woff "access plus 1 year"
  ExpiresByType application/font-woff "access plus 1 year"
</IfModule>

# ------------------------------------------------------
# ✅ REDIRECTS (Optional but Recommended)
# Force HTTPS & remove 'www' for cleaner URLs
# ------------------------------------------------------
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]

# ------------------------------------------------------
# ✅ SECURITY HEADERS (Optional)
# ------------------------------------------------------
<IfModule mod_headers.c>
  Header always set X-Content-Type-Options "nosniff"
  Header always set X-Frame-Options "SAMEORIGIN"
  Header always set X-XSS-Protection "1; mode=block"
  Header always set Referrer-Policy "strict-origin-when-cross-origin"
  Header always set Permissions-Policy "geolocation=(), microphone=(), camera=()"
</IfModule>
Google Logo

Google Reviews

4.9★

Hygiene & Safety

4.9★
WhatsApp Floating Button