<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Data-Management on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/tags/data-management/</link><description>Recent content in Data-Management on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><lastBuildDate>Fri, 15 May 2026 13:20:20 +0100</lastBuildDate><atom:link href="http://ghafoorsblog.com/tags/data-management/index.xml" rel="self" type="application/rss+xml"/><item><title>Keeping Local Results and Caching</title><link>http://ghafoorsblog.com/courses/google/it-automation-content/it-automation-python-pcert/04-troubleshooting-debugging/02-module/10-local-results/</link><pubDate>Tue, 11 Nov 2025 18:39:18 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/google/it-automation-content/it-automation-python-pcert/04-troubleshooting-debugging/02-module/10-local-results/</guid><description>&lt;p class="lead text-primary"&gt;
This document examines caching as a fundamental performance optimization technique, covering when and how to create local caches to avoid expensive operations. It explores cache validation strategies, determining appropriate cache lifetimes, managing data freshness trade-offs, and implementing caching patterns from simple variable storage to complex structures with timeout logic.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="beyond-moving-operations-outside-loops"&gt;Beyond Moving Operations Outside Loops&lt;/h2&gt;
&lt;p&gt;Previously, strategies for avoiding expensive operations inside loops were discussed. If parsing a file is required, doing it once before calling the loop instead of doing it for each element of the loop improves performance significantly.&lt;/p&gt;</description></item></channel></rss>