Giter Site home page Giter Site logo

wpplugins / preload-fullpage-cache Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2 KB

This is a mirror of the svn repo: https://plugins.svn.wordpress.org/preload-fullpage-cache/, the master is always the latest release.

Home Page: http://wpplugins.it

PHP 100.00%

preload-fullpage-cache's Introduction

=== Preload Fullpage Cache ===
Contributors: pothi
Donate link: https://paypal.me/pothi
Tags: preload, cache, fullpage cache, mobile, amp
Requires at least: 3.0
Tested up to: 4.7
Stable tag: 1.0.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Preloads any new or recently updated post into fullpage cache. Requires a fullpage caching layer or plugin, such as Varnish or WP Super Cache.

== Description ==

Preload Fullpage Cache plugin is created to address a unique scenario in high traffic sites where the visitors rush to the website upon publishing the new post, even before the cached version of the post is ready to serve the initial traffic spike.

= What this plugin does: =

* Whenever you publish a new post, this plugin fetches the post using WordPress HTTP API. If your site has a fullpage caching, then its cache would have the newly published post, so that the post is served instantly from the cache when a real visitor arrives.
* This plugin works when a post is updated too.
* This plugin fetches a maximum of three version of the post... desktop version, mobile version and AMP version.

= What this plugin doesn't do (yet): =

* This plugin doesn't work as a caching layer. Use Varnish or a plugin like WP Super Cache.
* Since, AMP doesn't work on pages (yet), this plugin doesn't preload AMP version for pages, either.

== Installation ==

This section describes how to install the plugin and get it working.

1. Upload the plugin files to the `/wp-content/plugins/preload-fullpage-cache` directory, or install the plugin through the WordPress plugins screen directly.
1. Activate the plugin through the 'Plugins' screen in WordPress
1. Sit back and relax!

== Frequently Asked Questions ==

= Where can I change the settings? =

This plugin doesn't come with any settings screen on purpose. Settings screen may be included in the future, depending on the feedback from the users.

= How do I test, if this plugin works? =

Usually, you can check if a post is served from the cache or not by looking at the headers info. So, create a new blog post or update an existing post and look for its headers info. For example, if your site is behind Varnish, you may see the 'Age' information that is greater than zero. Uncached posts (for example, a search query such as example.com/s=test) will have 'Age' as zero.

== Screenshots ==

No screenshots at the moment.

== Upgrade Notice ==
none

== Changelog ==

= 1.0.0 =
* First commit

preload-fullpage-cache's People

Contributors

wppluginsbot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.