-
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
Conversation
Removed GZIP Compression panel and added under new Apache Optimizations panel. Work also done on to simplify Pro Preview Headers (see: wpsharks/comet-cache#788) LiteGZIP Compression feature now under Apache Optimization panel: Lite + Pro PreviewGZIP Compression feature now under Apache Optimization panel: ProNew Pro Features:
|
Noting an additional change by Jason here: wpsharks/comet-cache#764 (comment) to remove:
from |
Tested and Ready for review, see above comments for screenshots, updates and additional notes. Thanks! |
Woooohoooo! This looks awesome! I'll review and test this soon and leave another update. Just wanted to share my excitement. 😁 |
Awesome! About a 9.5 on the attention scale there. I just posted this! haha.. Fantastic 💯 |
Tested for changes to |
I pushed a bunch of changes to the Apache Optimizations panel in 603ca8c. Here's what it looks like now: Things to do:
It's getting really late here, so I need to call it a day. I may come back to this over the weekend, otherwise I'll resume on Monday. @renzms If you'd like to jump in and tackle any of those checklist items above, that would be great. 😄 Be sure to get the latest from this branch. |
102a1d9
to
f8a3f19
Compare
|
{ | ||
$_global_ns = mb_strtoupper(GLOBAL_NS); | ||
|
||
if (!($constants = get_defined_constants(true)) || empty($constants['user'])) { |
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 the in_array()
check, just use if (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! :-)
Things to do:
Hi, pulled from the latest work from this branch, and tested. I can confirm this current build does not add any new rules to the Expected output:
Actual output:
|
cdecc9b
to
c3b389f
Compare
2d2f693
to
72cfa46
Compare
Always enabled automatically when Static CDN Filters are enabled, however this can be overridden afterwards if the site owner prefers. See wpsharks/comet-cache#789
7d7a8f4
to
bb3bae0
Compare
@renzms Merged! :-) Thank you. |
See wpsharks/comet-cache#554
See wpsharks/comet-cache#764
See wpsharks/comet-cache#765
See wpsharks/comet-cache#788