<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NandHive - Noor's Blog]]></title><description><![CDATA[Noor Adn. A life-long learner. Enjoying Visual Design, UI-UX Design, and IT Support. Creativity is blended with technical skills. Douzo! 🔥]]></description><link>https://blog.nooradn.my.id</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 08:20:59 GMT</lastBuildDate><atom:link href="https://blog.nooradn.my.id/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Deploy WordPress with Redis on Railway]]></title><description><![CDATA[When running WordPress, performance matters. By default, WordPress stores most of its transient data and cache in the database. This works fine for smaller sites, but as your traffic grows or when you run multiple WordPress instances, database querie...]]></description><link>https://blog.nooradn.my.id/deploy-wordpress-with-redis-on-railway</link><guid isPermaLink="true">https://blog.nooradn.my.id/deploy-wordpress-with-redis-on-railway</guid><category><![CDATA[cms]]></category><category><![CDATA[WordPress]]></category><category><![CDATA[Redis]]></category><dc:creator><![CDATA[Noor Adn]]></dc:creator><pubDate>Mon, 11 Aug 2025 02:38:24 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1754880894636/e8401bcf-0218-4997-8497-ef3fdd6102c4.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>When running WordPress, performance matters. By default, WordPress stores most of its transient data and cache in the database. This works fine for smaller sites, but as your traffic grows or when you run multiple WordPress instances, database queries can become a bottleneck.</p>
<p>That’s where <strong>Redis</strong> comes in. Redis is an in-memory data store that can drastically speed up WordPress by caching frequently accessed data, reducing the load on the database, and improving page load times. In other words — fewer queries hitting MariaDB/MySQL, and faster responses for your visitors.</p>
<p>In this tutorial, we’ll walk through how to:</p>
<ul>
<li><p>Deploy <strong>WordPress</strong> and <strong>Redis</strong> on <strong>Railway</strong></p>
</li>
<li><p>Install and configure the <strong>Redis Object Cache</strong> plugin for WordPress</p>
</li>
<li><p>Use the <code>WORDPRESS_CONFIG_EXTRA</code> environment variable to connect WordPress to Redis without manually editing <code>wp-config.php</code></p>
</li>
<li><p><em>(Optional)</em> Expand the same setup into a <strong>multi-tenant</strong> stack with one database, one Redis cache, and multiple WordPress sites</p>
</li>
</ul>
<p>This guide is written to be <strong>practical</strong> — we’ll start from a regular WordPress deployment, then add Redis step-by-step until everything is connected and optimized.</p>
<p>You can also use my prebuilt template on Railway here: <a target="_blank" href="https://railway.com/deploy/wordpress-with-redis?referralCode=cJaK1i">https://railway.com/deploy/wordpress-with-redis</a></p>
<hr />
<h2 id="heading-step-1-use-template-for-create-regular-wordpress">Step 1 - Use Template for Create Regular WordPress</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754874354418/fa0868b7-4439-4fdf-9d35-41d6821a0249.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754874382073/4b6a22fd-6e25-4a75-b09c-c29af738361c.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754874416974/144fe9df-0c60-4ba9-a6d0-f299a6dcfa8d.png" alt class="image--center mx-auto" /></p>
<p>This is the looks when the deployment has finished:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754874948374/d61347c9-801d-4e45-8427-69a6c59f3244.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-step-2-configure-your-wordpress">Step 2 - Configure Your WordPress</h2>
<p>Just like regular setup, like filling out the details what kind of site of this, creating the accounts, and more.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754875484463/e85365e7-0825-4149-9909-f2cc2b5d3fee.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754875568438/083ccdc6-05c7-4165-815d-c626272f476c.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754875746079/5f956321-51dd-43e8-9f50-b2e99bd0c9ef.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-step-3-install-redis-cache-plugin">Step 3 - Install Redis Cache Plugin</h2>
<p>Go to Plugins → Add Plugin</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754875855711/35356a86-7a9d-4ba2-97c0-bb096ae3bce1.png" alt class="image--center mx-auto" /></p>
<p>Search for “Redis Object Cache” plugin, then install and Activate the plugin</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754875903407/6ff48ca7-1a20-46de-9b7f-20271b89c06f.png" alt class="image--center mx-auto" /></p>
<p>As you can see, the redis is unreachable.<br />It’s normal because we’re not install/deploy the Redis service yet.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754875971853/4c5efa84-4b01-4ef2-8614-4b4327447c4b.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754876168897/eaf98d05-9a55-4e62-9434-8bc97e1aebb8.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-step-4-deploy-redis-cache">Step 4 - Deploy Redis Cache</h2>
<p>Click “ + Create” button in the top right of the canvas screen</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754875116489/c8e08110-1c58-4165-9404-fc80f412bdd5.png" alt class="image--center mx-auto" /></p>
<p>Type “Resdis”, add it, and wait for a coupule of seconds</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754875181048/5d535199-21b7-412c-8d0c-73b67ca4c8b5.png" alt class="image--center mx-auto" /></p>
<p>As you can see, there are no line between WordPress and Redis.<br />Thats normal because we’re not setup a connection yet.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754875340818/e272ff83-da68-4479-b0b4-caa52e523653.png" alt class="image--center mx-auto" /></p>
<p>Even we’ve deployed Redis on the same project, it doesn’t automatically detected. The localhost IP address (127.0.0.1) is referred to the WordPress docker image service itself, not the Redis service.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754875971853/4c5efa84-4b01-4ef2-8614-4b4327447c4b.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-step-5-configure-environment-variables-on-wordpress">Step 5 - Configure Environment Variables on WordPress</h2>
<p>There are many ways to set up Redis on WordPress, such as modifying the <code>wp-config.php</code> file, running it locally, or even connecting via tunneling.</p>
<p>In this case, we’re using a simpler method by leveraging the <code>WORDPRESS_CONFIG_EXTRA</code> environment variable provided by WordPress itself. This variable allows us to add extra configuration to the WordPress instance, such as defining the Redis connection URL.</p>
<p>Click WordPress service → Go to Variables tabs → Click “New Variable”</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754876766091/a0637003-f688-4e20-b0d1-e6de816344b1.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754876830673/8a09039b-23b6-4dc0-a107-0efbe0a7dc89.png" alt class="image--center mx-auto" /></p>
<p>Fill the fields:</p>
<ul>
<li><p>VARIABLE_NAME</p>
<p>  <code>WORDPRESS_CONFIG_EXTRA</code></p>
</li>
<li><p>VALUE:</p>
<p>  <code>define('DOMAIN_CURRENT_SITE','${{RAILWAY_PUBLIC_DOMAIN}}');define('WP_HOME','https://${{RAILWAY_PUBLIC_DOMAIN}}');define('WP_SITEURL','https://${{RAILWAY_PUBLIC_DOMAIN}}');define('WP_REDIS_HOST','${{Redis.RAILWAY_PRIVATE_DOMAIN}}');define('WP_REDIS_PORT',6379);define('WP_REDIS_PASSWORD','${{Redis.REDIS_PASSWORD}}');define('WP_REDIS_SCHEME','tcp');</code></p>
</li>
</ul>
<p>Here if you want to see the value more pretty:</p>
<pre><code class="lang-php">define(<span class="hljs-string">'DOMAIN_CURRENT_SITE'</span>, <span class="hljs-string">'${{RAILWAY_PUBLIC_DOMAIN}}'</span>);
define(<span class="hljs-string">'WP_HOME'</span>, <span class="hljs-string">'https://${{RAILWAY_PUBLIC_DOMAIN}}'</span>);
define(<span class="hljs-string">'WP_SITEURL'</span>, <span class="hljs-string">'https://${{RAILWAY_PUBLIC_DOMAIN}}'</span>);

define(<span class="hljs-string">'WP_REDIS_HOST'</span>, <span class="hljs-string">'${{Redis.RAILWAY_PRIVATE_DOMAIN}}'</span>);
define(<span class="hljs-string">'WP_REDIS_PORT'</span>, <span class="hljs-number">6379</span>);
define(<span class="hljs-string">'WP_REDIS_PASSWORD'</span>, <span class="hljs-string">'${{Redis.REDIS_PASSWORD}}'</span>);
define(<span class="hljs-string">'WP_REDIS_SCHEME'</span>, <span class="hljs-string">'tcp'</span>);
</code></pre>
<p>Add and save it</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754877129539/9d91e8e3-76af-47d7-a322-60363ecd1bab.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754877197807/fa0c5aab-5c90-4dfe-84eb-15c3562fc67e.png" alt class="image--center mx-auto" /></p>
<p>Now all of them are connected, we can observe by detecting there lines between them.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754877765100/a3e6a420-a084-4072-b24d-a745d8353623.png" alt class="image--center mx-auto" /></p>
<p>At this time, the WordPress service is expected to able detect the Redis service within the project.<br />To make it sure, go back to the Redis Object Cache plugin page and refresh it regularly.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754877349059/5fab1f90-1b04-440d-ae51-cf746e536937.png" alt class="image--center mx-auto" /></p>
<p>And yes, it now reachable. It utitlizing a Railway internal networking to connect between services. We can notice the <code>redis.railway.internal</code> on the <code>WP_REDIS_HOST</code> environment variable.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754877401627/ed12f0d7-fc81-48ea-9ecf-6522a688b57c.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-step-6-enable-redis-object-cache">Step 6 - Enable Redis Object Cache</h2>
<p>Last but not least, enable the caching functionality</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754877617168/74c78ed4-f451-4a89-9efd-f7ec54d14479.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1754877568657/d0b42353-9b20-49d0-ab16-c41b8a1b83f5.png" alt class="image--center mx-auto" /></p>
<p>And that’s it ! Your WordPress site is now supercharged with Redis caching, running smoothly on Railway. 🚀</p>
<p>With this setup, you’re already getting a noticeable performance boost, especially for sites with a lot of dynamic content. And the best part? You did it all without touching <code>wp-config.php</code> manually, thanks to <code>WORDPRESS_CONFIG_EXTRA</code>.</p>
<p>Of course, this is just the beginning. You can expand this stack to power multiple sites, experiment with different caching strategies, or even integrate more services into your Railway project.</p>
<p>Hope this guide helps you speed up your WordPress. And if it does, maybe treat yourself to a good coffee while watching your site load faster than ever. ☕✨</p>
<blockquote>
<p>Tip (Optional): With this stack, you can also build a multi-tenant architecture. For example, using a single database server (MariaDB/MySQL), a single caching layer (Redis), and multiple WordPress instances, such as 3 or 5 websites running simultaneously. For now, though, we’ll stop here.</p>
</blockquote>
]]></content:encoded></item><item><title><![CDATA[3 Situs Tempat Download Foto Gratis]]></title><description><![CDATA[Hello! Pernah nggk lagi butuh aset gambar utk desain kalian, tapi bingung mau ambil dari mana? kalau ambil sembarangan, takut kena copyright, kalo buat sendiri, kayaknya nggk dulu, misalkan ada keperluan mendesak dsb.
Nah, maka dari itu, pada kali in...]]></description><link>https://blog.nooradn.my.id/3-situs-tempat-download-foto-gratis</link><guid isPermaLink="true">https://blog.nooradn.my.id/3-situs-tempat-download-foto-gratis</guid><category><![CDATA[stockphoto]]></category><category><![CDATA[resources]]></category><category><![CDATA[download]]></category><dc:creator><![CDATA[Noor Adn]]></dc:creator><pubDate>Thu, 12 Sep 2024 02:53:42 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1726110161843/5ec19286-c2c0-4479-b1b4-8498713c83ed.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hello! Pernah nggk lagi butuh aset gambar utk desain kalian, tapi bingung mau ambil dari mana? kalau ambil sembarangan, takut kena copyright, kalo buat sendiri, kayaknya nggk dulu, misalkan ada keperluan mendesak dsb.</p>
<p>Nah, maka dari itu, pada kali ini aku mau sharing beberapa situs tempat download foto gratis yang bisa kalian gunakan. Sebenarnya ada <strong>banyak sekali,</strong> namun ada 3 situs yang jadi pilihan pribadi.</p>
<p>Lisensi dari ketiga situs ini bersifat <strong><mark>Free for Personal &amp; Commercial</mark></strong><mark>.</mark> Artinya, gambar maupun aset-aset yang tersedia di website dapat digunakan untuk kebutuhan personal (pribadi), maupun professional / komersil (misalkan utk kegiatan promosi). <em>Namun, untuk lebih detailnya silahkan cek ulang lisensinya pada masing-masing website ya..</em></p>
<hr />
<h2 id="heading-unsplash">Unsplash</h2>
<p><a target="_blank" href="https://unsplash.com/"><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1726108264112/777f4f39-04b2-445d-9c92-7ff1e17d1050.png" alt class="image--center mx-auto" /></a></p>
<p>Di <a target="_blank" href="https://unsplash.com/">Unsplash</a>, kita dapat menemukan berbagai macam gambar dan ilustrasi yang bisa digunakan. Unsplash adalah salah satu website yang menyediakan aset gambar gratis yang paling dikenal.</p>
<h2 id="heading-pixabay">Pixabay</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1726108569150/0f893f55-987d-4207-be7e-6f87ec4396fc.png" alt class="image--center mx-auto" /></p>
<p>Sama seperti Unsplash, di <a target="_blank" href="https://pixabay.com/">Pixabay</a> kita dapat menemukan banyak gambar dan ilustrasi. Tidak hanya itu, di sini kita dapat temukan juga bermacam aset yang lain juga. Macam-macam aset tersebut bisa berupa gambar, ilustrasi, vektor, video, audio, sound effect, maupun gambar GIF.</p>
<h2 id="heading-pexels">Pexels</h2>
<p><a target="_blank" href="https://www.pexels.com/"><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1726108600826/e5a990f1-f983-4b27-836f-aa98add92961.png" alt class="image--center mx-auto" /></a></p>
<p>Di <a target="_blank" href="https://www.pexels.com/">Pexels</a>, kita dapat menemukan 2 jenis konten, yaitu gambar dan video. Kita dapat mengeksplorasi dan menggunakan aset-aset tersebut untuk kebutuhan desain maupun yang lainnya.</p>
<h2 id="heading-wrap-up">Wrap-Up</h2>
<p>Oke baiklah, mungkin itu aja yang bisa dibagikan di kesempatan ini.<br />Semoga bermanfaat! Baarakallahu fiik!</p>
<p><a target="_blank" href="https://www.instagram.com/p/CRsFXWvhGuI/"><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1723650604315/388e9b3f-b507-4fd8-b16b-828648e4babd.jpeg" alt class="image--center mx-auto" /></a></p>
]]></content:encoded></item><item><title><![CDATA[Daily UI: Sign-Up Page]]></title><description><![CDATA[FishSkuy UI Sign Up and Sign In Page: light, and Dark Mode.
Brief:
Create a sign-up page, modal, form, or app screen related to signing up for something. It could be for a volunteer event, contest registration, a giveaway, or anything you can imagine...]]></description><link>https://blog.nooradn.my.id/daily-ui-sign-up-page</link><guid isPermaLink="true">https://blog.nooradn.my.id/daily-ui-sign-up-page</guid><category><![CDATA[dailyui]]></category><dc:creator><![CDATA[Noor Adn]]></dc:creator><pubDate>Tue, 18 Jun 2024 01:47:28 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1718678518935/7be2fa8c-3411-42ec-98cd-4a07506c47f6.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1718678418570/24e996aa-f2a9-41a8-86b6-4e11f9edcb09.png" alt class="image--center mx-auto" /></p>
<p>FishSkuy UI Sign Up and Sign In Page: light, and Dark Mode.</p>
<h4 id="heading-brief"><strong>Brief:</strong></h4>
<p>Create a sign-up page, modal, form, or app screen related to signing up for something. It could be for a volunteer event, contest registration, a giveaway, or anything you can imagine.</p>
<p><em>#DailyUI #001 #SignUp #UXDesign #UIDesign</em></p>
]]></content:encoded></item></channel></rss>