Self Clearing Static Cache in Laravel
A deep dive into building a self-clearing cache system in Laravel, where dynamic-but-static content stays cached until the underlying model changes — no time limits, no manual clears.
ReadA senior full-stack developer specialising in Laravel, Vue, Inertia and Tailwind - building fast, clean and scalable web platforms.

My core stack
The VILT stack - my day to day, and what I reach for first.
Also in my toolbox
Built and shipped a full production app with React Native and Expo, live on both app stores.
Comfortable working in existing React codebases - the concepts carry over nicely from Vue.
Capable with Filament for building polished admin panels and internal tools.
A passionate, committed web developer with over 20 years of experience.
Thank you for taking the time to visit my personal website. My name is Jamie Peters and I am a passionate, committed and enthusiastic web developer with over 20 years experience in web design and development. I specialise in modern Laravel application development, working extensively with Laravel, Inertia.js, Vue.js, and Tailwind CSS to create fast, clean and scalable web platforms.
I am originally from South Yorkshire, but now live in South Cheshire.
A deep dive into building a self-clearing cache system in Laravel, where dynamic-but-static content stays cached until the underlying model changes — no time limits, no manual clears.
ReadI have been writing code now for close to 20 years, but for the vast majority of that, I never really paid much attention to how my code looked, how maintainable it was long term, I was only really interested in if it worked and did what it was supposed to, but it was full of bad practices and I had a lot of bad habits.
ReadFull Stack Developer
May 2023 - Present
Senior Software Engineer
Jan 2018 - May 2023
Lead Developer
Aug 2014 - Present
Feel free to look around, read the blog, or drop me a line - it's always nice to hear from people.