Download the PHP package amazeelabs/silverback_cdn_redirect without Composer
On this page you can find all versions of the php package amazeelabs/silverback_cdn_redirect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download amazeelabs/silverback_cdn_redirect
More information about amazeelabs/silverback_cdn_redirect
Files in amazeelabs/silverback_cdn_redirect
Download amazeelabs/silverback_cdn_redirect
More information about amazeelabs/silverback_cdn_redirect
Files in amazeelabs/silverback_cdn_redirect
Vendor amazeelabs
Package silverback_cdn_redirect
Short Description Provide redirect information to CDNs.
License GPL-2.0+
Homepage https://github.com/AmazeeLabs/silverback-mono/tree/development/packages/composer/amazeelabs/silverback_cdn_redirect#readme
Package silverback_cdn_redirect
Short Description Provide redirect information to CDNs.
License GPL-2.0+
Homepage https://github.com/AmazeeLabs/silverback-mono/tree/development/packages/composer/amazeelabs/silverback_cdn_redirect#readme
Please rate this library. Is it a good library?
Informations about the package silverback_cdn_redirect
Silverback CDN Redirect
To be used with static websites, hosted on a CDN (e.g. Gatsby and Netlify). Solves two problems:
- Can resolve redirects that are not stored in CDN config, which is necessary, since Drupal's redirect module creates a redirect for each path change, which can be a lot. In that case, the redirect is resolved by rewriting the request to Drupal.
- Rewrite paths not know by the CDN, to client-side rendered pages. Useful for pages that should not be rendered statically.
Flowchart!
Drupal config
- Patch Drupal with a patch from #2741939
- Enable the module
- Set the settings, for example:
Gatsby config
- Add gatsby-plugin-netlify package
-
Configure the catch-all redirect in
createPages
Note:
statusCode: 200
is required to "hide" the request to backend from the browser.
All versions of silverback_cdn_redirect with dependencies
PHP Build Version
Package Version
Requires
cweagans/composer-patches Version
^1.7.3
The package amazeelabs/silverback_cdn_redirect contains the following files
Loading the files please wait ....