Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buddhaCode/BucoFormsHttpCache
Shopware plugin to enable HTTP caching for forms
https://github.com/buddhaCode/BucoFormsHttpCache
cache http shopware shopware-plugin shopware-plugins
Last synced: 3 months ago
JSON representation
Shopware plugin to enable HTTP caching for forms
- Host: GitHub
- URL: https://github.com/buddhaCode/BucoFormsHttpCache
- Owner: buddhaCode
- License: mit
- Archived: true
- Created: 2019-04-17T12:01:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-17T12:10:45.000Z (over 5 years ago)
- Last Synced: 2024-04-18T18:56:31.776Z (7 months ago)
- Topics: cache, http, shopware, shopware-plugin, shopware-plugins
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shopware - HTTP Cache: Forms - HTTP caching, warming and invalidation for contact forms (Frontend Plugins)
README
# BucoFormsHttpCache
Shopware plugin to enable HTTP caching for forms## Features
This plugin enables HTTP caching, warming and invalidation for forms. Works like caching for shop pages. Standard cache time is 4 days (14400 seconds).## Technical Information
Currently, this works only for new Shopware installations. With the Shopware 5.5 release, the internal URL for forms SEO URLs changed from `sViewport=ticket&sFid=`to `sViewport=forms&sFid=`. This properly broke the SEO URL generation in your installation. So, the cache warming isn't working, because it relies on the SEO URL generation. **Installing this plugin will migrate the forms SEO URLs to the new schema.** Hard links in the categorie's "External" field and the shop page's "Link" field will be migrated, too. Please check for other hard links to the internal form URL!!!:warning: If you're using [Shopware's Premium Plugin "Ticket System"](https://docs.shopware.com/en/shopware-5-en/plugins/plugin-ticket-system) these changes might result in problems for your installtion. Please take care
## Compatibility
* Shopware >= 5.5.0
* PHP >= 7.0
* :zap: [Shopware's Premium Plugin "Ticket System"](https://docs.shopware.com/en/shopware-5-en/plugins/plugin-ticket-system)## Deprecation Notice
There is a [pull request (shopware/shopware#2100)](https://github.com/shopware/shopware/pull/2100) pending targeted for Shopware 5.6. Maybe this
plugin will be part of the Shopware core in the future.## Installation
### Git Version
* Checkout plugin in `/custom/plugins/BucoFormsHttpCache`
* Install and active plugin with the Plugin Manager### Install with composer
* Change to your root installation of Shopware
* Run command `composer require buddha-code/buco-forms-http-cache`
* Install and active plugin with `./bin/console sw:plugin:install --activate BucoFormsHttpCache`## Contributing
Feel free to fork and send pull requests!## Licence
This project uses the [GPLv3 License](LICENCE).