Skip to content

Commit

Permalink
Phing release of v170808-RC with the following changes:
Browse files Browse the repository at this point in the history
- **New Feature: Memcached / RAM** (Pro): Comet Cache Pro now includes support for Memcached / AWS ElastiCache to serve the cache directly from RAM. This allows for a faster cache delivery than what is possible when serving the cache via disk. Memcached / AWS ElastiCache can be configured from **Dashboard → Comet Cache Pro → Plugin Options → RAM / Memcached**. See [Issue #47](#47)
- **Enhancement**: Added `Referrer-Policy` to whitelist for cachable HTTP headers. See [Issue #892](#892).
- **Bug Fix** (Pro): The Cache Statistics feature was broken when the PHP `disk_total_space()` and/or `disk_free_space()` functions were disabled by the PHP configuration. Comet Cache now handles this scenario gracefully by hiding disk-related stats when those functions are not allowed. See [Issue #775](#775)
- **Bug Fix** (Pro): The HTML Compressor was returning an empty string upon encountering an invalid UTF-8 sequence. See [Issue #871](#871) reported by a Comet Cache user.
- **Compatibility** (Pro): Many improvements to the Pro software update system, including changes to the API Endpoints and the Proxy Fallback endpoint. See [Issue #879](#879) and [Issue #315](wpsharks/comet-cache-pro#315) for full details.
- **Compatibility**: Fixed a WooCommerce compatibility issue that was generating a "Notice: id was called incorrectly. Product properties should not be accessed directly." Props @vestaxpdx. See [Issue #896](#896).
  • Loading branch information
raamdev committed Aug 8, 2017
1 parent 3849005 commit 39589da
Show file tree
Hide file tree
Showing 51 changed files with 2,640 additions and 1,822 deletions.
185 changes: 41 additions & 144 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Text/Binary ----------------------------------------------------------------------------------------------------------

# Default

* text=auto
Expand All @@ -14,6 +16,7 @@
# YAML

*.yml
*.yaml

# Properties.

Expand Down Expand Up @@ -44,13 +47,23 @@
*.htpasswd text
*.ini text

# CSS/JS
# CSS

*.css text
*.js text
*.sass text
*.scss text
*.less text
*.css.map text
*.js.map text

# JavaScript

*.js text
*.ts text
*.jsx text
*.tsx text
*.json text
*.json5 text
*.js.map text

# Applescript

Expand Down Expand Up @@ -94,6 +107,7 @@
# Documents

*.csv text
*.tsv text
*.doc binary
*.docx binary
*.odt binary
Expand All @@ -112,6 +126,7 @@
*.jpeg binary
*.jpg binary
*.png binary
*.webp binary
*.psd binary
*.svg text
*.tif binary
Expand Down Expand Up @@ -174,17 +189,16 @@
*.dll binary
*.exe binary
*.sh text
*.pem text
*.so binary

# Export Ignore --------------------------------------------------------------------------------------------------------
# This follows `.gitignore` almost exactly.

# NOTE: `/**` does not exclude the directory itself like in Phing.
# Use only a trailing `/` to achieve that here.
# Export Ignore — this follows `.gitignore` almost exactly. ------------------------------------------------------------
# The only exceptions are that we don't ignore `node_modules/`, `bower_components/` or `vendor/`.

# Local

.~* export-ignore
._* export-ignore

# Logs

Expand All @@ -195,32 +209,35 @@
*~ export-ignore
*.bak export-ignore

# Vendor
# NOT excluded here.

# vendor/ export-ignore
# Vagrant

# Node
.vagrant/ export-ignore

node_modules/ export-ignore
# TypeScript

# SASS

.sass-cache/ export-ignore
typings/ export-ignore

# IntelliJ

.idea/ export-ignore

# Sublime

*.sublime-workspace export-ignore
*.sublime-project export-ignore
*.sublime-workspace export-ignore

# CTags
# SASS

.sass-cache/ export-ignore

# Elastic Beanstalk

.elasticbeanstalk/ export-ignore

# CTAGs

*.tags export-ignore
*.ctags export-ignore
*.tags export-ignore

# VCS

Expand Down Expand Up @@ -268,138 +285,18 @@ Icon? export-ignore
Icons -export-ignore
._* export-ignore

# AWS

.elasticbeanstalk/ export-ignore

# Vagrant

.vagrant/ export-ignore

# Export Ignore (More) -------------------------------------------------------------------------------------------------
# These are in addition to what we have in `.gitignore`.

# SASS

*.scss export-ignore
*.css.map export-ignore

/src/client-s/**/bourbon/ export-ignore
/src/vendor/websharks/*/src/client-s/**/bourbon/ export-ignore

# Git

/.gitignore export-ignore
/src/vendor/*/*/.gitignore export-ignore

/.gitattributes export-ignore
/src/vendor/*/*/.gitattributes export-ignore

/.gitmodules export-ignore
/src/vendor/*/*/.gitmodules export-ignore

/.gitchange export-ignore
/src/vendor/websharks/*/.gitchange export-ignore

# GitHub

/.github/ export-ignore
/src/vendor/*/*/.github/ export-ignore

/CONTRIBUTING.md export-ignore
/src/vendor/*/*/CONTRIBUTING.md export-ignore

/ISSUE_TEMPLATE.md export-ignore
/src/vendor/*/*/ISSUE_TEMPLATE.md export-ignore

/PULL_REQUEST_TEMPLATE.md export-ignore
/src/vendor/*/*/PULL_REQUEST_TEMPLATE.md export-ignore
# Export Ignore — in addition to what we have in `.gitignore`. ---------------------------------------------------------

# Assets

/assets/ export-ignore
/src/vendor/websharks/*/assets/ export-ignore

# Build Files

/phings/ export-ignore
/src/vendor/*/*/phing/ export-ignore
/src/vendor/*/*/phings/ export-ignore

/.build.props export-ignore
/src/vendor/*/*/.build.props export-ignore

/build.xml export-ignore
/src/vendor/*/*/build.xml export-ignore

/build-*.xml export-ignore
/src/vendor/*/*/build-*.xml export-ignore

# Dot Build Files

/.build.php export-ignore
/src/vendor/websharks/*/.build.php export-ignore

/.build.*.php export-ignore
/src/vendor/websharks/*/.build.*.php export-ignore

/src/.build.php export-ignore
/src/vendor/websharks/*/src/.build.php export-ignore

/src/.build.*.php export-ignore
/src/vendor/websharks/*/src/.build.*.php export-ignore

/src/client-s/**/.build.php export-ignore
/src/vendor/websharks/*/src/client-s/**/.build.php export-ignore

/src/client-s/**/.build.*.php export-ignore
/src/vendor/websharks/*/src/client-s/**/.build.*.php export-ignore

/src/includes/**/.build.php export-ignore
/src/vendor/websharks/*/src/includes/**/.build.php export-ignore

/src/includes/**/.build.*.php export-ignore
/src/vendor/websharks/*/src/includes/**/.build.*.php export-ignore

# Tests

/tests/ export-ignore
/src/vendor/*/*/test/ export-ignore
/src/vendor/*/*/tests/ export-ignore

# Drone

/.drone.* export-ignore
/src/vendor/*/*/.drone.* export-ignore

# Travis

/.travis.* export-ignore
/src/vendor/*/*/.travis.* export-ignore

# Coverage

/.coveralls.* export-ignore
/src/vendor/*/*/.coveralls.* export-ignore

/.scrutinizer.* export-ignore
/src/vendor/*/*/.scrutinizer.* export-ignore

# Post-Receive

/post-receive export-ignore
/src/vendor/websharks/*/post-receive export-ignore

# PHAR Stub

/src/includes/phar-stub.php export-ignore
/src/vendor/websharks/*/src/includes/phar-stub.php export-ignore

# LFS Storage (Assets) -------------------------------------------------------------------------------------------------
# NOTE: Here we need to match all assets explictly; i.e., requires `/**`

/assets/** filter=lfs diff=lfs merge=lfs -text

# ----------------------------------------------------------------------------------------------------------------------

# Custom code reinserted here via [custom] marker. Add your <custom></custom> comment markers here please.
# <custom>
# Put your rules in custom comment markers.
# </custom>
7 changes: 3 additions & 4 deletions .gitchange
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
1460135613
49dd4154d8f5d3b70691c8e3f52a063a49137fb7:57be33556df067.43016776
853d9120b42cf4f2eabe2f35ea18a6ace7170ea6:588bb5682f4739.12912408
d0e05c36184f81b133761b71ca6ee0136be67409:58ab78802b0522.43963767
1491589996
2ea258a033ce686450ef6bccbc0f66efdba74ac1:58ffb9673670b6.69941207
d0e05c36184f81b133761b71ca6ee0136be67409:5989f0aa6ba0d1.65531153
61 changes: 32 additions & 29 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# NOTE: It is not absolutely required (but highly recommended) that you have: `ignorecase = true`
# in your `.gitconfig` file to maximize compatibility with some of these exclusion patterns.

# NOTE: `/**` does not exclude the directory itself like in Phing.
# Use only a trailing `/` to achieve that here.
# Ignore ---------------------------------------------------------------------------------------------------------------

# Local

.~*
._*

# Logs

Expand All @@ -17,31 +14,47 @@
*~
*.bak

# Vagrant

.vagrant/

# TypeScript

typings/

# IntelliJ

.idea/

# Sublime

*.sublime-project
*.sublime-workspace

# Vendor

vendor/

# Node
# NodeJS

node_modules/

# SASS
# Bower

.sass-cache/
bower_components/

# IntelliJ
# SASS

.idea/
.sass-cache/

# Sublime
# Elastic Beanstalk

*.sublime-workspace
*.sublime-project
.elasticbeanstalk/

# CTags
# CTAGs

*.tags
*.ctags
*.tags

# VCS

Expand Down Expand Up @@ -89,18 +102,8 @@ Icon?
!Icons
._*

# AWS

.elasticbeanstalk/

# Vagrant

.vagrant/

# For shell glob patterns. This includes Git files too. We simply maintain this list together with `.gitignore`.
# *~;*.log;*.bak;node_modules;.idea;*.sublime-workspace;*.sublime-project;.git;.gitignore;.gitattributes;.gitmodules;.gitchange;.svn;_svn;CVS;.cvsignore;.bzr;.bzrignore;.hg;.hgignore;SCCS;RCS;$RECYCLE.BIN;Desktop.ini;Thumbs.db;ehthumbs.db;.AppleDB;.AppleDouble;.AppleDesktop;.com.apple.timemachine.donotpresent;Network Trash Folder;Temporary Items;.LSOverride;.Spotlight-V100;.VolumeIcon.icns;.TemporaryItems;.fseventsdv.DS_Store;.Trashes;.apdisk;._*;.elasticbeanstalk;.vagrant

# This list is for IntelliJ IDEA / PhpStorm `File Types` configuration. Some files we actually WANT to work with as part of a project.
# .sass-cache;.idea;*.sublime-workspace;*.sublime-project;.git;.svn;_svn;CVS;.bzr;.hg;SCCS;RCS;$RECYCLE.BIN;Desktop.ini;Thumbs.db;ehthumbs.db;.AppleDB;.AppleDouble;.AppleDesktop;.com.apple.timemachine.donotpresent;Network Trash Folder;Temporary Items;.LSOverride;.Spotlight-V100;.VolumeIcon.icns;.TemporaryItems;.fseventsdv.DS_Store;.Trashes;.apdisk;._*;.vagrant
# ----------------------------------------------------------------------------------------------------------------------

# Custom code reinserted here via [custom] marker. Add your <custom></custom> comment markers here please.
# <custom>
# Put your rules in custom comment markers.
# </custom>
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
= v170808-RC =

- **New Feature: Memcached / RAM** (Pro): Comet Cache Pro now includes support for Memcached / AWS ElastiCache to serve the cache directly from RAM. This allows for a faster cache delivery than what is possible when serving the cache via disk. Memcached / AWS ElastiCache can be configured from **Dashboard → Comet Cache Pro → Plugin Options → RAM / Memcached**. See [Issue #47](https://github.com/websharks/comet-cache/issues/47)
- **Enhancement**: Added `Referrer-Policy` to whitelist for cachable HTTP headers. See [Issue #892](https://github.com/websharks/comet-cache/issues/892).
- **Bug Fix** (Pro): The Cache Statistics feature was broken when the PHP `disk_total_space()` and/or `disk_free_space()` functions were disabled by the PHP configuration. Comet Cache now handles this scenario gracefully by hiding disk-related stats when those functions are not allowed. See [Issue #775](https://github.com/websharks/comet-cache/issues/775)
- **Bug Fix** (Pro): The HTML Compressor was returning an empty string upon encountering an invalid UTF-8 sequence. See [Issue #871](https://github.com/websharks/comet-cache/issues/871) reported by a Comet Cache user.
- **Compatibility** (Pro): Many improvements to the Pro software update system, including changes to the API Endpoints and the Proxy Fallback endpoint. See [Issue #879](https://github.com/websharks/comet-cache/issues/879) and [Issue #315](https://github.com/websharks/comet-cache-pro/pull/315) for full details.
- **Compatibility**: Fixed a WooCommerce compatibility issue that was generating a "Notice: id was called incorrectly. Product properties should not be accessed directly." Props @vestaxpdx. See [Issue #896](https://github.com/websharks/comet-cache/issues/896).

= v170220 =

- **New Feature:** Comet Cache can now be configured to automatically clear the cache for date-based archive views whenever any single post is cleared due to changes in content, title, etc. See: **Dashboard → Comet Cache → Plugin Options → Automatic Cache Clearing → Auto-Clear "Date-Based Archives" Too?**. See also: [Issue #724](https://github.com/websharks/comet-cache/issues/724).
- **New Pro Feature:** Apache Optimizations now include a new option that allows site owners to enforce an exact host name for all requests. See: **Dashboard → Comet Cache Pro → Plugin Options → Apache Optimizations → Enforce an Exact Host Name?**. See also: [Issue #101](https://github.com/websharks/comet-cache/issues/101).
- **Bug Fix:** Apache detection sometimes inaccurate. So instead of using default WP core globals for server detection, Comet Cache now uses it's own set of Apache/Nginx/IIS detection functions. And, this release enhances our Apache and Nginx detection routines; making them smart enough to catch additional edge cases; i.e., to further reduce the likelihood of there being a false-positive. See [Issue #748](https://github.com/websharks/comet-cache/issues/748).
- **Bug Fix:** Some XML-RPC and REST API requests were being cached inadvertently. See [Issue #855](https://github.com/websharks/comet-cache/issues/855).
- **Bug Fix:** Broken textarea field due to `white-space:nowrap` in Firefox. See [Issue #866](https://github.com/websharks/comet-cache/issues/866).
- **Bug Fix:** This release resolves empty directories being left in the cache folder, in some scenarios. See [Thread #866](https://forums.wpsharks.com/t/cache-folders-not-removed-during-clean-up-process/866).
- **Bug Fix:** This release resolves empty directories being left in the cache folder, in some scenarios. See [Issue #868](https://github.com/websharks/comet-cache/issues/868) and [Thread #866](https://forums.wpsharks.com/t/cache-folders-not-removed-during-clean-up-process/866).
- **Bug Fix** (Pro): Some REST requests were being redirected incorrectly whenever Apache Optimizations were enabled. See [Issue #855](https://github.com/websharks/comet-cache/issues/855).
- **Compatibility Bug Fix:** Some Jetpack API calls were being cached inadvertently. See [Issue #855](https://github.com/websharks/comet-cache/issues/855).
- **Enhancement:** Notes in HTML source now indicate fully functional on first load for improved clarity. See [Issue #860](https://github.com/websharks/comet-cache/issues/860).
Expand Down
Loading

0 comments on commit 39589da

Please sign in to comment.