GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - buddhaCode/BucoFormsHttpCache: Shopware plugin to enable HTTP caching for forms

This repository was archived by the owner on Jun 24, 2020. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
Resources
Resources
 
 
Services
Services
 
 
Subscriber
Subscriber
 
 
.gitignore
.gitignore
 
 
BucoFormsHttpCache.php
BucoFormsHttpCache.php
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
plugin.png
plugin.png
 
 
plugin.xml
plugin.xml
 
 

Repository files navigation

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=<ID>to sViewport=forms&sFid=<ID>. 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!!!

⚠️ If you're using Shopware's Premium Plugin "Ticket System" these changes might result in problems for your installtion. Please take care

Compatibility

  • Shopware >= 5.5.0
  • PHP >= 7.0
  • ⚡ Shopware's Premium Plugin "Ticket System"

Deprecation Notice

There is a pull request (shopware/shopware#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.

About

Shopware plugin to enable HTTP caching for forms

Topics

cachehttpshopwareshopware-pluginshopware-plugins

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.