## WP-SpamShield - "/wp-spamshield/js/" .htaccess ##
## File Version 1.9.40
## - SECURITY: Control direct access to certain files.
## - SPEED: Compress files/data with gzip
## - SPEED: Set finely tuned cache control headers
## - Apache 2.2 and 2.4+ compatible
## - Using "Files ~" instead of "FilesMatch" for max compatibility with certain Apache-based servers (Litespeed, etc.)

<IfModule mod_headers.c>
	Header always merge Vary Accept
	Header always merge Vary Accept-Encoding
	Header always merge Vary Accept-Language
	Header always merge Vary Cookie
	Header always merge Vary User-Agent
	<Files ~ "^(.+)\.js$">
		Header set Cache-Control "max-age=15552000, must-revalidate"
	</Files>
	#Header always edit Set-Cookie (.*) "$1; SameSite=Strict"
</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>
