Download the PHP
package cacheful/magento2-module without Composer
On this page you can find all versions of the php package
cacheful/magento2-module. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor cacheful Package magento2-module Short Description Cacheful Magento 2 client License
MIT
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.
Cacheful offers a simple, yet powerful way to warm-up your website cache.
This specific module for Magento 2 integrates with the
cacheful API in order to initiate
a warm-up process, either manually or automatically
after your website cache has been flushed. This way the first page load for
every request is handled by the server, so that no actual visitor has to
deal with delay in page load.
Go to your settings -> API and create your first API token.
Copy your project ID and API token here:
system config -> cacheful client -> connection.
Enable "Initiate warm-up after cache flush" option here:
system config -> cacheful client -> general.
Initiate warm-up manually
Run the following command to initiate a warm-up
using your configured credentials.
$ bin/magento cacheful:execute
Initiate warm-up after cache flush
Enable "Initiate warm-up after cache flush" option
in system configuration, so that the cache warm-up will be triggered after
each cache flush as long as the project is idle, avoiding concurrent
warm-up processes.
API endpoints
You can also do API requests manually if you like, for example using Guzzle.
/api/projects/:key/process
Headers
Using Guzzle
Status codes
200 when the process has been added to the queue successfully.
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 cacheful/magento2-module contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.