Skip to content

Lyubo's blog

Deciphering code one line at a time

Lyubo's blog

Deciphering code one line at a time

Fixing react-router “Cannot GET/{url}” on page refresh.

January 9, 2020

Imagine you are writing an app with React and you have everything wired with React-Router. Your little app runs fine until you send your colleague the absolute url of a new “page” you have been working on. Let’s say it is www.example.com/products. Then you get an email back: “Hey, I cannot open this. I get […]

Lyubomir Dopchev comment 0 Comments

How I decoupled Drupal 8 with React.js behind Nginx.

August 12, 2019

Drupal is a great content management platform. It has an awesome community behind it and is used by many companies. The recent rise of many frontend libraries like React, Angular and Vue has given us an option to be more flexible on the frontend. In the past the frontend was coupled with monolithic architectures, but […]

Lyubomir Dopchev comment 0 Comments

If you’re having caching problems, I feel bad for you son, I’ve got 99 problems, but caching ain’t one.

April 30, 2019

How did I manage to setup a distributed caching store for Drupal Memcache. Drupal installations can become pretty heavy when loaded with all kinds of functionality and modules. One of the reasons is that it also stores page structure in database (think blocks, views, also panels and panes if you are using CTools). One way […]

Lyubomir Dopchev comment 0 Comments