graffitico/vizonwp/master/wp-content/plugins/wp-spamshield/js/.htaccess - Htaccess File

graffitico/vizonwp/master/wp-content/plugins/wp-spamshield/js/.htaccess

# WP-SpamShield - "/wp-spamshield/js/" .htaccess
# Version 1.9.4

# Control direct access to certain files.
# Compress and cache JS files.
# Apache 2.2 and 2.4 compatible

<IfModule mod_headers.c>
  Header set Vary "Accept-Encoding"
  <Files ~ "^(.+).js$">
    Header set Cache-Control "max-age=15552000, must-revalidate"
  </Files>
</IfModule>

<IfModule mod_deflate.c>
  SetOutputFilter DEFLATE
</IfModule>

<IfModule mod_expires.c>
  ExpiresActive On 
  ExpiresDefault "access plus 1 year"
</IfModule>

# Apache 2.2
<IfModule !mod_authz_core.c>
  Order Allow,Deny
  Allow from all
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
  Require all granted
</IfModule>

# jscripts.php - Allow
# Ensure that .htaccess files other plugins place in higher directories cannot prevent access
<Files jscripts.php>
  <IfModule !mod_authz_core.c>
    Allow from all
  </IfModule>
  <IfModule mod_authz_core.c>
    Require all granted
  </IfModule>
</Files>

On Github License

Files

Download PDF of Htaccess file
DEFLATE

Comments

Apache