wpsharks / comet-cache

An advanced WordPress® caching plugin inspired by simplicity.
https://cometcache.com
GNU General Public License v3.0
77 stars 17 forks source link

Comet Cache v170808-RC (Release Candidate) #909

Open raamdev opened 7 years ago

raamdev commented 7 years ago

General Availability Target Date: August 14th, 2017

Downloads

Changelog

See also: Comet Cache v170808-RC Release Announcement

Reporting Issues / Feedback

Please report any issues or feedback related to this Release Candidate using this GitHub issue. Please post a comment below with details.

If you are reporting a UI-related issue, please include a screenshot.

If you are reporting a bug, please provide list of steps to reproduce and if the bug is related to an existing GitHub issue, please provide a link to that GitHub issue as well.


Reported Issues to Fix

None at this time.

renzms commented 7 years ago

Tested using:

WordPress Version: 4.8-RC2-40880 Current WordPress Theme: Twenty Seventeen version 1.3 Theme Author: the WordPress team - https://wordpress.org/ Theme URI: https://wordpress.org/themes/twentyseventeen/ Active Plugins: Comet Cache Pro v170808-RC , Google XML Sitemaps Version 4.0.9 PHP Version: 7.1.3-3+deb.sury.org~xenial+1 MySQL Version: 10.0.31-MariaDB-0ubuntu0.16.04.2

Confirmed Working

Click for Results > >- When invalid UTF-8 is encountered by Comet Cache's HTML Compressor, the display notes will now reflect why the compressor was not run in that instance. > >![test utf8](https://user-images.githubusercontent.com/13220018/29164838-733bcf68-7df3-11e7-8c37-cb8abb3a3506.png)
Click for Results > >- No issues found after checkout, checkout is successful. > >![Checkout Success](https://user-images.githubusercontent.com/13220018/29167856-bf692b64-7dfe-11e7-8207-49a0ac0249ab.png)

Currently Testing

raamdev commented 7 years ago

Bug in Pro Updater for RC updates

@jaswrks and I discovered a bug in the Pro Updater that prevented the installation of Beta Updates via the built-in Pro Updater. This bug doesn't cause any harm, but it did prevent RC versions from being installed via the Pro Updater, which meant that any Pro users who were opting into Beta Updates via the built-in Pro Updater were not actually receiving them. @jaswrks is working on a fix now and we'll have the fix rolled into the upcoming General Availability release.

Note that this isn't a new bug; this bug has existed for awhile and we only now discovered it while testing v170808-RC.

raamdev commented 7 years ago

I rebuilt the Lite and Pro the version from the latest version of the release/170808-RC branch and discovered the following issues:

Lite Version

Upon installation:

  |  
-- | --
  | Fatal error: Uncaught Exception: Undefined method/closure: `versionCompare`. in /app/src/wp-content/plugins/comet-cache/src/includes/classes/AbsBaseAp.php on line 73
  |  
  | Exception: Undefined method/closure: `versionCompare`. in /app/src/wp-content/plugins/comet-cache/src/includes/classes/AbsBaseAp.php on line 73
  |  
  | Call Stack:
  | 0.0004     384648   1. {main}() /app/src/wp-admin/plugins.php:0
  | 0.0005     385320   2. require_once('/app/src/wp-admin/admin.php') /app/src/wp-admin/plugins.php:10
  | 0.0006     385800   3. require_once('/app/src/wp-load.php') /app/src/wp-admin/admin.php:31
  | 0.0010     400552   4. require_once('/app/src/wp-config.php') /app/src/wp-load.php:37
  | 0.0012     408848   5. require_once('/app/src/wp-settings.php') /app/src/wp-config.php:43
  | 0.0897    3544592   6. do_action() /app/src/wp-settings.php:448
  | 0.0897    3544968   7. WP_Hook->do_action() /app/src/wp-includes/plugin.php:453
  | 0.0897    3544968   8. WP_Hook->apply_filters() /app/src/wp-includes/class-wp-hook.php:323
  | 0.1327    3906448   9. WebSharks\CometCache\Classes\Plugin->checkVersion() /app/src/wp-includes/class-wp-hook.php:298
  | 0.1327    3906448  10. WebSharks\CometCache\Classes\AbsBaseAp->versionCompare() /app/src/wp-content/plugins/comet-cache/src/includes/traits/Plugin/InstallUtils.php:54
  | 0.1327    3906824  11. WebSharks\CometCache\Classes\AbsBaseAp->__call() /app/src/wp-content/plugins/comet-cache/src/includes/traits/Plugin/InstallUtils.php:54
  |  

Pro Version

Upon installation:

PHP Warning:  Illegal string offset 'rv' in /home/raamdev/public_html/wordpress/wp-content/plugins/comet-cache-pro/plugin.php on line 5
PHP Warning:  Illegal string offset 're' in /home/raamdev/public_html/wordpress/wp-content/plugins/comet-cache-pro/plugin.php on line 6
PHP Notice:  Array to string conversion in /home/raamdev/public_html/wordpress/wp-content/plugins/comet-cache-pro/plugin.php on line 6
jaswrks commented 7 years ago

@raamdev

renzms commented 7 years ago

@raamdev

413 error

When uploading Comet Cache Pro 170808-RC (build 3) on NGINX server (PHP versions 5.4-7.1), the following error appears:

413 Request Entity Too Large

PHP Version: 5.4.45, 5.5.38, 5.6.30, 7.0.17 MySQL Version: 10.0.31-MariaDB-0ubuntu0.16.04.2 Apache Version: Apache/2.4.10 (Debian)


Uploading and installing Comet Cache™ Pro v170220 has no problem on same sites.

For Non-NGINX server, plugin installed and work successfully for Comet Cache Pro 170808-RC (build 3).

raamdev commented 7 years ago

Installed and tested Comet Cache Pro 170808-RC (build 3) on Apache/2.4.18. No issues. 👍 Installed and tested Comet Cache Lite 170808-RC (build 3) on Nginx/1.11.9. No issues. 👍

ivarbergman commented 6 years ago

Hi Comet Cache!

I trying to enable Memcached for a Heroku hosted site. We use MemCachier that requires SASL authentication and binary protocol.

Is SASL authentication supported by the current RC of Comect Cache Memcached?

Cheers!

octavianparalescu commented 6 years ago

Hello, pro user here. Thanks for the work to bring Memcached to Comet Cache.

Tested the latest release with Memcached on a AWS ELB configuration with 2 servers. We did that so we have a centralised cache repository. I found this issues so far:

  1. Cache files are still created in the filesystem even if a memcached item is set for that url. I guess we should be able to disable that feature.
  2. When the "auto-clearing" of cache fires for a file, all the cache files will be deleted as you can see at this call: wp-content/plugins/comet-cache-pro/src/includes/traits/Shared/CacheDirUtils.php:272 and all the calls to that method are only with the main cache key: image
  3. Cache stats are about the dir. Taking into consideration point 1, they should be about the memcached storage.
jamescl commented 6 years ago

Hi,

Looks like the htaccess template files are pointing to the wrong directory - on the plugin settings page, querymonitor shows errors for each of the template files. The files exist, but in a different directory (not in classes/MenuPage/)

file_get_contents(../wp-content/plugins/comet-cache-pro/src/includes/classes/MenuPage/templates/htaccess/access-control-allow-origin-enable.txt): failed to open stream: No such file or directory

raamdev commented 6 years ago

@ivarbergman writes...

Is SASL authentication supported by the current RC of Comect Cache Memcached?

No, sorry, SASL authentication is not supported at this time.


@OctavianParalescu writes...

Cache files are still created in the filesystem even if a memcached item is set for that url. I guess we should be able to disable that feature.

Thank you. I will look into this.

@OctavianParalescu writes...

When the "auto-clearing" of cache fires for a file, all the cache files will be deleted

Yes, unfortunately this is necessary due to limitations in the simple approach taken by Memcached (in terms of how we can clear the cache).

@OctavianParalescu writes...

Cache stats are about the dir. Taking into consideration point 1, they should be about the memcached storage.

Agreed. I will take this into consideration in a future release.


@jamescl writes...

Looks like the htaccess template files are pointing to the wrong directory

Thank you very much for the heads up! I'll get this corrected before release.


For everyone looking for an update on the next release: Thank you very much for your continued patience. We fell behind quite a bit on our release schedule, but a new release will be coming very soon.

Solgaz commented 6 years ago

Hello! Thanks for such a nice plugin! I have a small problem! Wordpress 4.9.5 WooCommerce 3.3.5 Comet Cache v170808-RC (Release Candidate) When RAM Memcached is turned on, sometimes error 503 appears my site: http://www.solgaz.space/

gbruzzo commented 6 years ago

Hello There Are there any news about the next release? Please advise, it has been more than a year now. Thank you in advance Giacomo Bruzzo

vestaxpdx commented 6 years ago

This is by far the best caching plugin out there, I really hope it's still being maintained.

Solgaz commented 6 years ago

Отлично все работает!!!