-
Notifications
You must be signed in to change notification settings - Fork 17
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
Use CDN for Pro version checks and improve proxy fallback #879
Comments
New proxy URL:
In short, all the same variables that cometcache.com uses. This is simply a non-SSL proxy. Returns JSON, just like cometcache.com does. {
"pro_version": "170220",
"pro_zip": "http://dls.wpsharks.io/cdn-xar?slug=comet-cache-pro&version=170220&expires=1494021828&_sig=6ee774...3f445118ffb0beccf52e65b0826856bca40"
} |
Another new proxy URL:
URLs leading to this endpoint are generated by the cometcache.com API and the new In other words, all Comet Cache automatic updates now pass through |
Documented the new API endpoints above ↑ |
The list above has been completed and this is now pending a PR review. |
- **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).
Note: This issue is currently blocked by changes needed to the build system: wpsharks/phings#159.
Once the above issue has been closed, the Comet Cache Pro update utilities can be updated to check https://cdn.wpsharks.com/software/bleeding-edge/comet-cache-pro/version.txt for the latest Pro version, instead of querying the API on cometcache.com.
Additionally, we might be able to do away with using the proxy server fallback for version checks on servers that have older SSL software that doesn't support HSTS headers:
@jaswrks writes...
TODO
rc/version.txt
version-ars.txt
; see Publish a 'rc/version.txt' file when doing a 'phing release-rc' phings#159rc/version.txt
version-ars.txt
(RC) and/version.txt
(stable) to check for latest Pro versionhttp://
(non-SSL) URL toversion.txt
on sites running outdated SSL software; this will allow us to use the proxy only for license authentication, when necessaryproxy.websharks-inc.net/comet-cache/
should be updated to the newerupdate-fallback.wpsharks.io/comet-cache/
update-fallback.wpsharks.io/cc-proxy
The text was updated successfully, but these errors were encountered: