Our latest blog posts
We hope we can inspire you the way we are being inspired
Rate throttling for Magento 2 GraphQL
Written by Jisse Reitsma on 14 May 2020
The GraphQL API of Magento 2.3+ comes with numerous endpoints. However, some of these endpoints offer little protection against bastards that want to abuse this. My new Yireo_GraphQlRateLimiting offers a rate limiting to try to reduce abuse. Let's see why it is needed.
Properly serving static files Magento PWA Studio
Written by Jisse Reitsma on 12 May 2020
This is a big topic, but important nonetheless. When building a Magento PWA Studio, most tutorials out there tell you to either implement things using a Node server or without. But often this includes steps to route requests for static files to UPWARD. Why not use the webserver for this directly?
A remote training on Magento PWA Studio (May 19th/20th)
Written by Jisse Reitsma on 7 May 2020
On May 19th/20th (so in less than two weeks), our Magento PWA Studio training takes place - remotely, because of the current crisis - and you are welcome to join. If you are a developer and want to dive into Magento's its React frontend, this is the time.
Disable service workers for the Magento Admin Panel
Written by Jisse Reitsma on 6 May 2020
It is a small annoyance when combining a PWA and Magento within the same hosting environment: The PWA replaces the original frontend and ships with a new Service Worker. But this also activates that same Service Worker for the Magento Admin Panel. Here is a small workaround to disable that service worker.
Limiting GraphQL depth and complexity in Magento 2
Written by Jisse Reitsma on 29 Apr 2020
Magento 2.3 has added a GraphQL API. However, it allows for certain kinds of queries that might not neccessarily be needed in your own custom headless frontend, but are still executable by any GraphQL client. Let's see how we can limit this, so that the shop stays performant.
Run a test-instance of Varnish for Magento 2
Written by Jisse Reitsma on 20 Apr 2020
With Magento 2, frontend performance goes up big time if a Varnish server is configured in front of the regular Magento frontend: Static assets are retrieved faster than with a regular webserver. But more importantly . This blog goes through a couple of my personal tricks to run a test-instance of Varnish via Docker, without going full-stack-on-Docker. It is personal, it is sensitive, but maybe it is fun to see how I sometimes cook up things.
Do you need Node on the server to run Magento PWA Studio?
Written by Jisse Reitsma on 15 Apr 2020
It is question that I'm being asked frequently: When you setup a hosting environment for PWA Studio, do you need Node on the server? Magento itself has responded frequently with an answer that you don't need Node. But often in such a response, technical aspects are missing. Also, answering this question is not that simple at all. Let me have a try at it.
Working with Apollo introspection and Magento GraphQL fragments
Written by Jisse Reitsma on 7 Apr 2020
It begins so simple. You build yourself a React app, running simple GraphQL queries towards a Magento shop and you hope for the best. However, the more progress you make, the more complex some issues might come: One such a topic is GraphQL introspection. Let's have a peak, so we can make things simple again.