Download the PHP package shel/neos-nginx-cache without Composer

On this page you can find all versions of the php package shel/neos-nginx-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package neos-nginx-cache

Shel.Neos.NginxCache

Latest Stable Version Total Downloads License

Introduction

This package provides an improved integration for Neos CMS and the NGINX proxy cache. The NGINX proxy cache caches the output of your website for a certain time and will deliver the cached version to your visitors with much greater performance. This system can also help with high traffic or smaller attacks on your site.

But of course NGINX cannot know when your content is updated. Therefore it's helpful to send refresh and invalidation notifications from your CMS when editing. This allows you to increase cache times and be sure that your visitors see current content with great performance.

Read An Introduction to Cache Invalidation to understand the main issue of caching and its advantages and drawbacks.

Features

Not possible yet

Requirements

Installation

Add the dependency to your site package like this

composer require --no-update shel/neos-nginx-cache

And then run composer update in your project's root folder.

If you don't have the NGINX purge module, the package will only send refresh requests instead of using invalidations. You can find more information on how to setup the purge module here.

Documentation

For more information on the setup and configuration, see the documentation

Other helpful resources

Comparison to Varnish as proxy cache

This package was inspired by MOC.Varnish.

Varnish works similarly, but allows you to create a much finer configuration when and what is flushed from its cache. But the setup & configuration needs more knowledge as you need the Varnish service running additionally and you need to configure your webserver to communicate with it.

Therefore this package was created to help people who have smaller sites, which don't need the bigger setup or don't have access to Varnish on their servers.

For larger sites it's recommended to use Varnish when a lot of editing is happening.

Client Purge Refresh Ban Tagging
Varnish
NGINX

Contributions

Contributions are very welcome!

Please create detailed issues and PRs.


All versions of neos-nginx-cache with dependencies

PHP Build Version
Package Version
Requires neos/neos Version ^4.1
php-http/guzzle6-adapter Version ^1.1.1
friendsofsymfony/http-cache Version ^2.5.4
guzzlehttp/psr7 Version ^1.5.2
ext-curl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package shel/neos-nginx-cache contains the following files

Loading the files please wait ....