<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/caching-techniques-in-php-memcached-redis-and-apcu-uqwpv1ru3" -->

---
title: Caching Techniques in PHP: Memcached, Redis, and APCu
description: The post discusses caching techniques in PHP, specifically Memcached, Redis, and APCu. These caching methods help enhance the performance and functionality of...
canonical: https://daily.dev/posts/caching-techniques-in-php-memcached-redis-and-apcu-uqwpv1ru3
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Caching Techniques in PHP: Memcached, Redis, and APCu | daily.dev
og:description: The post discusses caching techniques in PHP, specifically Memcached, Redis, and APCu. These caching methods help enhance the performance and functionality of...
og:url: https://daily.dev/posts/caching-techniques-in-php-memcached-redis-and-apcu-uqwpv1ru3
og:image: https://api.daily.dev/og/posts/UQwpV1RU3.png
og:image:alt: Caching Techniques in PHP: Memcached, Redis, and APCu
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Caching Techniques in PHP: Memcached, Redis, and APCu

**[Community Picks](https://daily.dev/sources/community)** · 2 min read · 22 upvotes · 1 comments

## Summary

The post discusses caching techniques in PHP, specifically Memcached, Redis, and APCu. These caching methods help enhance the performance and functionality of web applications.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devdojo.com/garry-williams/caching-techniques-in-php-memcached-redis-and-apcu>

## Community discussion

Top comments from developers on daily.dev.

**@kubeden** · 0 upvotes

> I remember starting my sysadmin journey a few years ago. Caching looked like magic to me. Started with memcached hehe.

---

Tags: [#php](https://daily.dev/tags/php), [#redis](https://daily.dev/tags/redis)

[View this post on daily.dev](https://daily.dev/posts/caching-techniques-in-php-memcached-redis-and-apcu-uqwpv1ru3)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Caching Techniques in PHP: Memcached, Redis, and APCu","url":"https://daily.dev/posts/caching-techniques-in-php-memcached-redis-and-apcu-uqwpv1ru3","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/caching-techniques-in-php-memcached-redis-and-apcu-uqwpv1ru3"},"datePublished":"2024-05-16T06:24:48.272Z","dateModified":"2024-05-16T06:24:47.574Z","description":"The post discusses caching techniques in PHP, specifically Memcached, Redis, and APCu. These caching methods help enhance the performance and functionality of...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/549fec89d3f2b108396f5563ff2d0d5e?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/549fec89d3f2b108396f5563ff2d0d5e?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/caching-techniques-in-php-memcached-redis-and-apcu-uqwpv1ru3","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":22},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"php,redis","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Caching Techniques in PHP: Memcached, Redis, and APCu"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/caching-techniques-in-php-memcached-redis-and-apcu-uqwpv1ru3","comment":[{"@type":"Comment","text":"I remember starting my sysadmin journey a few years ago. Caching looked like magic to me. Started with memcached hehe.","datePublished":"2024-06-10T07:40:52.795Z","url":"https://daily.dev/posts/UQwpV1RU3#c-YJ7FvZzP9","author":{"@type":"Person","name":"Denislav Gavrilov","url":"https://daily.dev/kubeden","image":"https://avatars1.githubusercontent.com/u/40846846?v=4"}}]}
```

