-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Apache Optimization panel and features, edited Pro Features label
See wpsharks/comet-cache#554 See wpsharks/comet-cache#764 See wpsharks/comet-cache#765 See wpsharks/comet-cache#788
- Loading branch information
Showing
10 changed files
with
149 additions
and
3,062 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Client-side caching. | ||
|
||
FileETag mtime size | ||
|
||
<IfModule expires_module> | ||
ExpiresActive on | ||
ExpiresDefault "access plus 5 days" | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# GZIP compression. | ||
|
||
<IfModule deflate_module> | ||
<IfModule filter_module> | ||
AddOutputFilterByType DEFLATE text/plain text/html | ||
AddOutputFilterByType DEFLATE text/xml application/xml application/xhtml+xml application/xml-dtd | ||
AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml image/svg+xml | ||
AddOutputFilterByType DEFLATE text/css text/javascript application/javascript application/x-javascript | ||
AddOutputFilterByType DEFLATE font/opentype application/font-otf application/x-font-otf | ||
AddOutputFilterByType DEFLATE font/truetype application/font-ttf application/x-font-ttf | ||
<IfModule headers_module> | ||
<FilesMatch \.(?:js|css|xml|svg|xhtml|html|txt|ttf|otf|gz)$> | ||
Header append vary: accept-encoding | ||
</FilesMatch> | ||
</IfModule> | ||
</IfModule> | ||
</IfModule> |
17 changes: 17 additions & 0 deletions
17
src/includes/templates/htaccess/permalink-structure-no-ts-enable.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<IfModule rewrite_module> | ||
RewriteEngine On | ||
RewriteBase / | ||
|
||
# If not a real file or directory. | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
|
||
# Not a part of the WP admin area. | ||
RewriteCond %{REQUEST_URI} !(?:^|/)wp\-admin(?:/|$) | ||
|
||
# If there is a trailing slash. | ||
RewriteCond %{REQUEST_URI} /$ | ||
|
||
# Force NO trailing slash on all virtual requests. | ||
RewriteRule ^(.*)/$ /$1 [QSA,L,R=301] | ||
</IfModule> |
17 changes: 17 additions & 0 deletions
17
src/includes/templates/htaccess/permalink-structure-ts-enable.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<IfModule rewrite_module> | ||
RewriteEngine On | ||
RewriteBase / | ||
|
||
# If not a real file or directory. | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
|
||
# Not a part of the WP admin area. | ||
RewriteCond %{REQUEST_URI} !(?:^|/)wp\-admin(?:/|$) | ||
|
||
# If there is no trailing slash. | ||
RewriteCond %{REQUEST_URI} !/$ | ||
|
||
# Force a trailing slash on all virtual requests. | ||
RewriteRule ^(.*)$ /$1/ [QSA,L,R=301] | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters