-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Apache Optimization panel and features, edited Pro Features label #260
Closed
Closed
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
b0629bf
Added Apache Optimization panel and features, edited Pro Features label
renzms 1439ccc
Removed IfModule section
renzms 9adc732
Merge branch '000000-dev' into feature/554-764-765-788
renzms 04d4212
Added new options to .htaccess rules
renzms ba8eee4
Merge branch '000000-dev' into feature/554-764-765-788
raamdev 0e0fceb
Set ExpiresDefault to 1 week.
raamdev 603ca8c
Improve Apache Optimizations panel.
raamdev 0bb51b8
Use redirect links in Apache Optimizations panel.
raamdev 4f0671a
Clarify how Client-Side Caching differs from Leverage Browser Caching
raamdev 8d7e787
Rename 'permalink structure' to 'enforce canonical urls' for clarity
raamdev b8e11d9
Remove `htaccess_gzip_enable` from Pro-only option keys; Lite has this
raamdev ed1484d
Rename 'htaccess client side cache' to 'htaccess browser caching'
raamdev f4d6dc1
Remove gzip-htaccess.txt; no longer used.
raamdev f8a3f19
Refactor 'browser caching' to 'client side caching'
raamdev dde3a0d
Only show 'Enforce Canonical URLs' panel when fancy Permalinks enabled
raamdev 734609c
Rename BrowserUtils.php to ClientSideUtils.php
raamdev a447236
Rename 'htaccess client side cache' to 'htaccess browser caching'
raamdev 656098f
Refactor 'browser caching' to 'client side caching'
raamdev 72cfa46
Improve comments and spacing in htaccess templates
raamdev 4627194
Add htaccess Access-Control-Allow-Origin option for Static CDN Filters
raamdev 12366d6
Improve notice recommending that Access-Control-Allow-Origin be enabled
raamdev 9d076ab
Gain control over htaccess tweaks order
raamdev 4ec5801
Fix bug where updating Permalinks does not refresh htaccess code
raamdev bb3bae0
Fix bug where disabling Static CDN Filters did not update htaccess
raamdev 4e29d12
Improve description for htaccess 'Access-Control-Allow-Origin' option.
raamdev 02d8fc3
Improve Apache Optimizations description and option headers
raamdev 83cbbb1
Add Pro Preview note to Apache Optimization in Lite version
raamdev b59bf78
Fix upgrade bug w/ COMET_CACHE_ALLOW_CLIENT_SIDE_CACHE undefined warning
raamdev e142c58
Show upgrade notice about new Apache Optimizations panel
raamdev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great to me. However, you can optimize this further by ditching the section that collects user-defined constants; i.e., get rid of
get_defined_constants()
and instead of thein_array()
check, just useif (defined('COMET_CACHE_ALLOW_BROWSER_CACHE')) {
The reason is because this back compat. routine is only looking for one specific constant and not any that have a special prefix like the other method does. So it's easier, and simpler will be equal to faster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jaswsinc Done. 656098f Thanks! :-)