The Blog

Statamic

Statamic

That Escalated Quickly: All the New Things

John Koster
John Koster
December 10, 2023

The past six months or so have been incredibly busy. What started as a new article series about customizing Statamic's search escalated quickly.

Statamic

Troubleshooting a Statamic Illegal Offset Type Error when Viewing Collection Entries in the Control Panel

John Koster
John Koster
November 30, 2023

In this post I talk about how I resolved a mysterious illegal offset type error when viewing collection entries within the Statamic Control Panel.

Statamic

Creating Simple HTTP Redirect Routes from a Statamic Site

John Koster
John Koster
November 29, 2023

Generating a custom Laravel routes file from a Statamic website to redirect to a new domain.

Statamic

Creating a Hybrid Cache System for Statamic: Part Five

John Koster
John Koster
September 3, 2023

Part 5 of 6 covers implementing a cache namespace and labeling system, which we can use to target multiple cache entries simultaneously for invalidation.

Statamic

Creating a Hybrid Cache System for Statamic: Part Four

John Koster
John Koster
September 3, 2023

Part 4 of 6 covers implementing new features to set arbitrary expiration times from within a template and mechanisms to invalidate all cached responses at once.

Statamic

Creating a Hybrid Cache System for Statamic: Part Six

John Koster
John Koster
September 3, 2023

Part 6 of 6 covers implementing custom Artisan commands to retrieve information about our cache, invalidating responses returned from Laravel routes and controllers, excluding pages with CSRF tokens, and examples of how to integrate with third-party systems like Torchlight.

Statamic

Creating a Hybrid Cache System for Statamic: Part Three

John Koster
John Koster
September 3, 2023

Part 3 of 6 covers managing response headers, configuring the custom cache system, and implementing mechanisms to bypass the cache entirely.

Statamic

Creating a Hybrid Cache System for Statamic: Part Two

John Koster
John Koster
September 3, 2023

Part 2 of 6 covers invalidating cached responses when template changes are detected and detecting request content dependencies, such as entries, taxonomies, and assets.

Statamic

Creating a Hybrid Cache System for Statamic

John Koster
John Koster
September 3, 2023

Part 1 of 6 covers experimenting with various cache systems, techniques, and organization of our custom cache system.

Statamic

Swapping Antlers Layouts and Passing Data to Layouts

John Koster
John Koster
April 10, 2023

Discover how to create a custom Statamic Tag in this step-by-step guide, enabling dynamic layout changes and sharing variables with your layouts in Antlers templates. Learn the implementation process, utilize the make:addon command, and explore the internal workings of Statamic to master custom layout behavior.

Latest posts

Where Things get Good: Moving on to Forte Development Phase 1

Wrapping up Forte Phase 0 with the lexer and parser now in private alpha, and kicking off Phase 1 wi...

Read more
Forte Update: Backtracking, Metadata, HTML Validation, and More

A Forte development update: the parser now supports backtracking, improvements to node metadata, ide...

Read more
Parsing HTML and Blade Attributes in Forte

Wrapping up attribute parsing in Forte's HTML parser, from simple HTML attributes to complex, edge-c...

Read more
Switch Statements and Parser Extensions in Forte

Exploring how Forte's parser extensions can be used to handle complex Blade directives like nested s...

Read more
Parsing Blade Comments in Forte

Digging into parsing Blade and HTML comments while building Forte's HTML parser for Laravel Blade.

Read more
Thoughts on HTML Elements and Blade Components in Forte

This week I’m tackling Forte's HTML parser - consolidating Blade, Flux, and Livewire components into...

Read more