The problem
Priolo the Barbers is a Palermo barbershop running since 1982, serving customers from teenagers to eighty-year-olds.
It had been taking online bookings for years, on a system built with technology long out of support. Many customers had the old page addresses saved in their bookmarks.
We built the new website, the booking and the floor management system, in one application.
Booking, from the customer’s phone
- The service, and the barber if you want to choose
- The day and time
- Name and phone number, and the booking is done
The account is offered after confirmation, never before.
What made it hard
Customers were already booking online. The new system couldn’t take anything away from people used to the old one.
Technology standing still. The previous system was built on technology that is no longer maintained.
Addresses in bookmarks. Many customers had the old page addresses saved in their bookmarks, for years.
Signup drives people away. Forcing a signup just to book a haircut drives away exactly the regulars.
Same slot, same instant. Two people picking the same slot at the same moment must not both get it.
Not everyone has a barber. Someone without a preferred barber shouldn’t have to pick one just to book.
The choices
For every problem there was a more obvious road. Here is what we did instead, and why.
The database stops double bookings
Check in the code that the slot is free, then save the booking.
Overlap is forbidden by the database itself, not by a check in the code.
Why. Between the check and the save there is always a moment when another booking can slip in. With the rule in the database, the second one is rejected regardless.
The technical detail
The interface responds instantly, before the server confirms, but two customers can pick the same slot at the same instant. An application-level check always has a window between verifying and writing where another booking can slip in. By delegating the rule to the database, the second booking is rejected regardless: the interface can stay instant without correctness depending on luck.
A name and a phone number are enough
Ask people to sign up before booking, to get history and reminders.
You book with a name and a phone number. The account is offered after confirmation, never before.
Why. A customer who just wants a haircut shouldn’t pay the price of a feature that isn’t for them. Whoever wants history opts in afterwards.
The technical detail
An account enables history and reminders, but signup is where people drop off. Whoever creates the account later is reconnected to their past bookings through their phone number.
Old addresses lead to the new pages
Publish the new site and let the old addresses end up on an error page.
Every old address leads, with a Permanent redirectWhoever opens an old address is taken to the new page automatically. The code that signals it is 301., to its matching new page.
Why. A customer who opens a bookmark and finds an error page doesn’t go looking for the new site: they call, or they go elsewhere. Keeping those paths costs a few lines; losing them is paid for in customers.
The technical detail
The old addresses answer 301 to the new pages: /prenota.aspx goes to the home page, /prenotazioni.aspx to /area, /registrati.aspx to /accedi.
No banner, because nothing makes one mandatory
Use the usual tools, like Google’s map, and add a Cookie bannerThe window that asks for consent before the site uses tools that track its visitors. for consent.
No tool that requires consent: a map with no tracking, and the phone number remembered only if the customer ticks the box.
Why. A significant share of the clientele is elderly, and a consent banner is a confusing obstacle. You don’t remove the banner by choosing not to show it: you remove it by not using what makes it mandatory.
The technical detail
The contact map is an OpenStreetMap iframe, not Google, and when the page opens the site sets no cookies (no Set-Cookie). Dropping the tracking cost less than a customer freezing at the popup and closing the page.
Measure first, then optimise
Prerender more pages, the obvious route when someone asks for a fast site.
Measurement first: the time was going into database queries, not into rendering pages. Only what measurably paid off was kept.
Why. The client’s brief was explicit: the site must be «heavily optimised». Prerendering pages would have changed nothing.
The technical detail
The admin shell was already instant. A PrefetchDownloading a page that might be opened next ahead of time, so it shows up faster. that seemed sensible but made things slower in a head-to-head was removed too.
How it works
Two products in one: the site that takes bookings and the agenda the shop uses.

Customer records
Visit history, average frequency and notes, with the phone number as identity.
Reminders on WhatsApp
It arrives where the shop already writes, with a personal link to cancel or move without calling.
The counter tablet
Screen always on, a sound on every booking and cancellation, exit protected by a PIN.
What changed
the answer from the old addresses: each one leads to its matching new page, and no bookmark lands on an error page.
In practice: whoever opens an old bookmark ends up on the right page.
/prenota.aspx → /, /prenotazioni.aspx → /area, /registrati.aspx → /accedi.
cookies set when the page opens, and no banner to close before booking.
Checked on the site on 20 August 2026, the day of the domain switch.- Booking completable without creating an account.
- Double bookings blocked by the database, not by a check in the code.
- The barber isn’t mandatory: once a service is picked, «Anyone is fine» appears.
The limits
What the site doesn’t do. Each one is the flip side of a choice.
- Not always «Anyone is fine»
Where the price depends on who does the work, the barber has to be chosen.
Choice - History comes with the account
Someone who books with just a name and phone number has no history until they create the account. When they do, past bookings are reconnected through the number.
The price of not asking for signup - The number is remembered only with the tick
The phone number isn’t remembered from one booking to the next unless the customer asks by ticking the box.
The price of having no banner
Fact sheet
- Client
- Priolo the Barbers
- Sector
- Barbershop, Palermo, since 1982
- What it is
- Website, online booking and floor management, in one application
- Year
- 2026
- Cookie banner
- None: nothing makes it necessary
- Built with
- Next.jsReactTypeScriptPostgreSQLPrismaTailwind CSS
- Live at
- www.priolothebarbers.it
- Screenshots
- Customer names blurred
- Who did it
- Antonio Murabito with M’s Works, before Certalea
If you have a similar job
Three questions to ask yourself before talking to anyone about it, us included.
- Do people have to sign up to book with you?If a name and a phone number are enough to recognise the customer, the account can come later.
- If you change website tomorrow, where do the old addresses end up?Every bookmark that gives an error is a customer who has to find you all over again.
- Does your cookie banner really need to be there?If it’s required by a tool you can do without, drop the tool and the banner goes too.
We reply within 24 hours. The first call is free.




