Ezoic CDN Manager

Descrizione

This plugin uses the Ezoic CDN API* to automatically purges pages from the Ezoic CDN whenever a post or page is updated.

In addition to purging the cache of a given post, it automatically discovers other pages that should be purged as well and purges the cache for them as well.

To use the Ezoic CDN you’ll need access to the CDN API*, talk with your Optimization Specialist about enabling access to the API on your account. Once you have the CDN API enabled, you can find your API key here.

Automated Clearing

In this initual version, enabling the plugin will automate instructing the Ezoic CDN to recache all of the following whenever a page/post is updated:

  • Posts
    • Post Page
    • Home Page or Blog Posts Listing Page
    • All categories that the post is a part of
    • All tags mentioned in the post
    • The Yearly archive the post belongs to
    • The Monthly archive the post belongs to
    • The Daily archive the post belongs to
    • The Main atom and RSS feeds
    • All related category and tag feeds
    • All related custom taxonomy pages and feeds
    • Author Posts URL (Supports multiple authors through the popular Co-Authors Plus plugin)
    • Author Post Feeds
    • The comment feeds for the post
    • If the update changes anything in any of these urls (examples: removing from a category, changing the date, changing the slug), both the old and new versions of the URLs will be recached accordingly.
  • Pages and custom content type pages
    • Page itself
    • Any page type archive related to the page
    • Any categories or tags the page or custom content post type is marked in
    • All related custom taxonomy pages and feeds
    • Author Posts URL (Supports multiple authors through the popular Co-Authors Plus plugin)
    • Author Post Feeds
    • Feeds
    • If the update changes anything in any of these urls (for example changing the slug or changing the parent page), both the old and new versions of the URLs will be recached accordingly.

Installazione

Full instructions on enabling the cdn manager [can be found here]](https://support.ezoic.com/kb/article/how-can-i-set-up-the-ezoic-cdn-manager-plugin).

You will need to have API access to the Ezoic CDN enabled, contact your Ezoic Optimization Specialist for details about enabling API access on your account if you are unable to retrieve your API key.

  1. Download the Ezoic CDN Manager plugin from the WordPress plugin directory.
  2. Fetch your Ezoic API Key from the settings area of your Ezoic admin dashboard
  3. In the WordPress admin, go to Settings => Ezoic CDN and enter the API key you retrieved from Ezoic.
  4. Toggle the Automatic Cache purging switch from Disabled to Enabled and Save the settings.

That’s it, at this point any time you update a post, the plugin will ping the Ezoic CDN API to ensure the appropriate pages are purged from the CDN’s cache.

Recensioni

Non ci sono revisioni per questo plugin.

Contributi e sviluppo

“Ezoic CDN Manager” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “Ezoic CDN Manager” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

1.3.0 – 2021-04-09

Added

  • Added new purge hooks for comments.

1.2.1 – 2021-02-17

Changed

1.2.0 – 2021-02-11

Added

  • Added Cache-Control HTTP headers to pages to ensure long caching.
  • Added Surrogate-Key headers to frontend pages.
  • Added Recache by Surrogate-Key calls to ensure paginated results are recached at once.

1.1.4 – 2021-02-08

Changed

  • Replace get_home_url() and get_site_url() with get_home_url( null, '/' ) and get_site_url( null, '/' ) to ensure recaches of the home page work.

1.1.3 – 2021-02-01

Added

  • Added scheduled purge to happen 2 minutes after the save is complete (in addition to real-time purge).

Changed

  • Adjusted priority of the Purge hook so it happens at the end of the save process.
  • Typehinting for WP_Post where appropriate

1.1.2 – 2021-01-28

Added

  • Added configuration for PHP_Codesniffer and editorconfig
  • Added PHPDoc Documentation blocks to all functions and PHP Files
  • Added option to always purge the home page when purging any other urls
  • Added verbose option which will output which URLs were purged

Changed

1.1.1 – 2021-01-26

Added

  • Add hooks to popular caching plugins W3 Total Cache, WP Super Cache, and WP Rocket so that when those plugins clear local cache, the CDN is cleared as well.

1.1.0 – 2021-01-20

Added

  • Added support for purging custom taxonomies
  • Added support for purging author pages (including support for multiple authors)

Changed

  • Documentation updates for new features and removal of Sitespeed+ Requirement (all Ezoic CDN users can now use this plugin).

[1.0.3] – 2020-12-11

Changed

  • Updated documentation, added missing details.

1.0.2 – 2020-12-10

Changed

  • Documentation updates

1.0.1 – 2020-12-09

Fixed

  • Minor patch release to prevent attempts to recache a listing page for “page” type

1.0.0 – 2020-12-09

Added

  • Initial version 1.0 release of Ezoic CDN Plugin