<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Cache HTTP Requests in an Angular App (PWA)	</title>
	<atom:link href="https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/feed/" rel="self" type="application/rss+xml" />
	<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/</link>
	<description>Advanced Angular Training Made Simple</description>
	<lastBuildDate>Mon, 27 Feb 2023 05:30:17 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>
		By: The Complete Guide to Optimizing Angular Application Performance &#124; Tech Magazine		</title>
		<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-172123</link>

		<dc:creator><![CDATA[The Complete Guide to Optimizing Angular Application Performance &#124; Tech Magazine]]></dc:creator>
		<pubDate>Mon, 27 Feb 2023 05:30:17 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=921#comment-172123</guid>

					<description><![CDATA[[&#8230;] load times by locally storing resources and recovering them as needed. You have an option to cache resources in Angular apps by using the pre-built service entitled “$http” configuration and setting the object to [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] load times by locally storing resources and recovering them as needed. You have an option to cache resources in Angular apps by using the pre-built service entitled “$http” configuration and setting the object to [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Angular PWA / Service worker离线翻译宽度ngx-translate - 实战宝典		</title>
		<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-131417</link>

		<dc:creator><![CDATA[Angular PWA / Service worker离线翻译宽度ngx-translate - 实战宝典]]></dc:creator>
		<pubDate>Mon, 27 Dec 2021 05:10:02 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=921#comment-131417</guid>

					<description><![CDATA[[&#8230;] 请参见https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/和https://angular.io/guide/service-worker-config#datagroups [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] 请参见https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/和https://angular.io/guide/service-worker-config#datagroups [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gurpreet Singh		</title>
		<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-75742</link>

		<dc:creator><![CDATA[Gurpreet Singh]]></dc:creator>
		<pubDate>Tue, 01 Dec 2020 02:54:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=921#comment-75742</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-369&quot;&gt;mx&lt;/a&gt;.

how to submit form offline and resync it to server when connection available in angular pwa ?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-369">mx</a>.</p>
<p>how to submit form offline and resync it to server when connection available in angular pwa ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gurpreet Singh		</title>
		<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-75475</link>

		<dc:creator><![CDATA[Gurpreet Singh]]></dc:creator>
		<pubDate>Sat, 28 Nov 2020 06:02:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=921#comment-75475</guid>

					<description><![CDATA[is this possible to do post request in offline mode?
I mean to say submit form offline in angular pwa]]></description>
			<content:encoded><![CDATA[<p>is this possible to do post request in offline mode?<br />
I mean to say submit form offline in angular pwa</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: The Complete Guide To Angular Load Time Optimization – Christian Lüdemann		</title>
		<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-7490</link>

		<dc:creator><![CDATA[The Complete Guide To Angular Load Time Optimization – Christian Lüdemann]]></dc:creator>
		<pubDate>Sun, 11 Aug 2019 06:34:29 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=921#comment-7490</guid>

					<description><![CDATA[[&#8230;] Caching API resources [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Caching API resources [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: coder001		</title>
		<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-2637</link>

		<dc:creator><![CDATA[coder001]]></dc:creator>
		<pubDate>Mon, 08 Jul 2019 16:43:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=921#comment-2637</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-371&quot;&gt;Christian Lydemann&lt;/a&gt;.

Is it possible to get access to the low level API? For ex, be able to intercept a fetch request and modify?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-371">Christian Lydemann</a>.</p>
<p>Is it possible to get access to the low level API? For ex, be able to intercept a fetch request and modify?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: How To Fix the Most Common Angular Performance Problems Like a Doc - ExamsWorld		</title>
		<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-423</link>

		<dc:creator><![CDATA[How To Fix the Most Common Angular Performance Problems Like a Doc - ExamsWorld]]></dc:creator>
		<pubDate>Fri, 14 Jun 2019 03:05:33 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=921#comment-423</guid>

					<description><![CDATA[[&#8230;] Angular PWA to cache HTTP requests using either a performance or freshness caching strategy. If it changes rarely you might use [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Angular PWA to cache HTTP requests using either a performance or freshness caching strategy. If it changes rarely you might use [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: How To Fix the Most Common Angular Performance Problems Like a Doc – Christian Lüdemann		</title>
		<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-417</link>

		<dc:creator><![CDATA[How To Fix the Most Common Angular Performance Problems Like a Doc – Christian Lüdemann]]></dc:creator>
		<pubDate>Mon, 03 Jun 2019 06:17:48 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=921#comment-417</guid>

					<description><![CDATA[[&#8230;] Angular PWA to cache HTTP requests using either a performance or freshness caching strategy. If it changes rarely you might use [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Angular PWA to cache HTTP requests using either a performance or freshness caching strategy. If it changes rarely you might use [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: The Complete Guide to Angular Performance Tuning – Christian Lüdemann IT		</title>
		<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-388</link>

		<dc:creator><![CDATA[The Complete Guide to Angular Performance Tuning – Christian Lüdemann IT]]></dc:creator>
		<pubDate>Fri, 12 Apr 2019 03:14:27 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=921#comment-388</guid>

					<description><![CDATA[[&#8230;] I have a guide with a video showing you how to do this here. [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] I have a guide with a video showing you how to do this here. [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Slava Lishnevsky		</title>
		<link>https://christianlydemann.com/how-to-cache-http-requests-in-an-angular-pwa/#comment-387</link>

		<dc:creator><![CDATA[Slava Lishnevsky]]></dc:creator>
		<pubDate>Thu, 11 Apr 2019 16:31:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=921#comment-387</guid>

					<description><![CDATA[Hi Chris, thank you. There are few things that I don&#039;t get:
1 - You have two data groups defined in ngsw-config.json. How does it (the sw) know which one to use?
2 - If my app makes api calls with url params, like https://jsonplaceholder.typicode.com/posts/1/comments, where post id can be any number, how can that be cached up front? But somehow it works offline and I dont understand how... ) How can it cache api responses that never happened? I have
&lt;code&gt;  &quot;dataGroups&quot;: [
    {
      &quot;name&quot;: &quot;api&quot;,
      &quot;urls&quot;: [ &quot;https://jsonplaceholder.typicode.com/**&quot; ],
      &quot;cacheConfig&quot;: {
        &quot;maxSize&quot;: 100,
        &quot;maxAge&quot;: &quot;3d&quot;,
        &quot;timeout&quot;: &quot;1m&quot;,
        &quot;strategy&quot;: &quot;performance&quot;
      }
    }
  ]&lt;/code&gt;
Cant find any info, maybe you know? :)]]></description>
			<content:encoded><![CDATA[<p>Hi Chris, thank you. There are few things that I don&#8217;t get:<br />
1 &#8211; You have two data groups defined in ngsw-config.json. How does it (the sw) know which one to use?<br />
2 &#8211; If my app makes api calls with url params, like <a href="https://jsonplaceholder.typicode.com/posts/1/comments" rel="nofollow ugc">https://jsonplaceholder.typicode.com/posts/1/comments</a>, where post id can be any number, how can that be cached up front? But somehow it works offline and I dont understand how&#8230; ) How can it cache api responses that never happened? I have<br />
<code>  "dataGroups": [<br />
    {<br />
      "name": "api",<br />
      "urls": [ "https://jsonplaceholder.typicode.com/**" ],<br />
      "cacheConfig": {<br />
        "maxSize": 100,<br />
        "maxAge": "3d",<br />
        "timeout": "1m",<br />
        "strategy": "performance"<br />
      }<br />
    }<br />
  ]</code><br />
Cant find any info, maybe you know? 🙂</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 0/1329 objects using Memcache
Page Caching using Disk: Enhanced 
Minified using Disk
Database Caching 7/725 queries in 0.251 seconds using Disk (Request-wide modification query)

Served from: christianlydemann.com @ 2026-03-02 21:23:37 by W3 Total Cache
-->