diff --git a/src/includes/templates/htaccess/browser-caching-enable.txt b/src/includes/templates/htaccess/browser-caching-enable.txt index 06816bf7..7360ebcd 100644 --- a/src/includes/templates/htaccess/browser-caching-enable.txt +++ b/src/includes/templates/htaccess/browser-caching-enable.txt @@ -1,5 +1,4 @@ -# Client-side caching. - +# Enable browser caching. FileETag mtime size diff --git a/src/includes/templates/htaccess/canonical-urls-no-ts-enable.txt b/src/includes/templates/htaccess/canonical-urls-no-ts-enable.txt index ae7d6f85..5b1bc521 100644 --- a/src/includes/templates/htaccess/canonical-urls-no-ts-enable.txt +++ b/src/includes/templates/htaccess/canonical-urls-no-ts-enable.txt @@ -1,3 +1,4 @@ +# Force NO trailing slash on all virtual requests (except WP admin area). RewriteEngine On RewriteBase / diff --git a/src/includes/templates/htaccess/canonical-urls-ts-enable.txt b/src/includes/templates/htaccess/canonical-urls-ts-enable.txt index dbee444f..4a0acccb 100644 --- a/src/includes/templates/htaccess/canonical-urls-ts-enable.txt +++ b/src/includes/templates/htaccess/canonical-urls-ts-enable.txt @@ -1,3 +1,4 @@ +# Force a trailing slash on all virtual requests (except WP admin area). RewriteEngine On RewriteBase / diff --git a/src/includes/templates/htaccess/cdn-filters.txt b/src/includes/templates/htaccess/cdn-filters.txt index 65d4f861..cf3d5712 100644 --- a/src/includes/templates/htaccess/cdn-filters.txt +++ b/src/includes/templates/htaccess/cdn-filters.txt @@ -1,3 +1,6 @@ + +# Send Access-Control-Allow-Origin header for Static CDN Filters. + Header set Access-Control-Allow-Origin "*" diff --git a/src/includes/templates/htaccess/gzip-enable.txt b/src/includes/templates/htaccess/gzip-enable.txt index cc11ab99..e4703c44 100644 --- a/src/includes/templates/htaccess/gzip-enable.txt +++ b/src/includes/templates/htaccess/gzip-enable.txt @@ -1,5 +1,4 @@ -# GZIP compression. - +# Enable GZIP compression. AddOutputFilterByType DEFLATE text/plain text/html