<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/vendor/feed/atom.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
                        <id>https://phptoptens.com/authors/sebastian-cabarcas/feed</id>
                                <link href="https://phptoptens.com/authors/sebastian-cabarcas/feed" rel="self"></link>
                                <title><![CDATA[Artisan Weekly — Author Feed]]></title>
                    
                                <subtitle>Featured links for a given author across Artisan Weekly editions.</subtitle>
                                                    <updated>2026-06-04T09:10:16+01:00</updated>
                        <entry>
            <title><![CDATA[The Hidden N+1 in Laravel Authorisation (And Why Caching Alone Doesn't Fix It)]]></title>
            <link rel="alternate" href="https://dev.to/scabarcas/the-hidden-n1-in-laravel-authorization-and-why-caching-alone-doesnt-fix-it-2hg" />
            <id>https://dev.to/scabarcas/the-hidden-n1-in-laravel-authorization-and-why-caching-alone-doesnt-fix-it-2hg</id>
            <author>
                <name><![CDATA[Sebastian Cabarcas]]></name>
                <email><![CDATA[hello@example.com]]></email>

            </author>
            <summary type="html">
                <![CDATA[An in-depth analysis revealing how Laravel apps using Spatie's permission package incur a fixed cost of 4 database queries per authenticated request, even with caching enabled. Explains why this hidden N+1 occurs and provides three concrete solutions to eliminate it.]]>
            </summary>
                                    <updated>2026-06-04T09:10:16+01:00</updated>
        </entry>
            <entry>
            <title><![CDATA[A Redis-first alternative to spatie/laravel-permission, benchmarked]]></title>
            <link rel="alternate" href="https://dev.to/scabarcas/a-redis-first-alternative-to-spatielaravel-permission-benchmarked-9nn" />
            <id>https://dev.to/scabarcas/a-redis-first-alternative-to-spatielaravel-permission-benchmarked-9nn</id>
            <author>
                <name><![CDATA[Sebastian Cabarcas]]></name>
                <email><![CDATA[hello@example.com]]></email>

            </author>
            <summary type="html">
                <![CDATA[A detailed technical deep-dive into building a Redis-based Laravel permissions package that achieves 10x performance improvements over the popular spatie/laravel-permission package. Includes comprehensive benchmarks and explains the optimization approach of storing user-role-permission mappings in Redis SETs instead of database queries.]]>
            </summary>
                                    <updated>2026-05-21T15:12:39+01:00</updated>
        </entry>
    </feed>
