P3X GitList Demo v2026.4.292
GitHub
Repo
Changelog
To do
Releases
Themes
Language
Afrikaans
العربية
বাংলা
Català
Čeština
Dansk
Deutsch
Ελληνικά
English
Español
Suomi
Français
עברית
Magyar
Italiano
日本語
한국어
Nederlands
Norsk
Polski
Português
Română
Русский
Српски
Svenska
Türkçe
Українська
Tiếng Việt
中文
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
13d8bb2491c18dc8ca0a50557d82d28b46b500d7
Branches
master
Files
Commits
Log
Graph
Stats
angular-http-cache-interceptor.git
src
app
app.component.html
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Delete
Are you sure to delete this file?
Editor
Raw
Blame
History
HTML code
Clone
SSH
HTTPS
This file ( 2kB ) exceeds the allowed full mode (48 kb) size. The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height mode, although some users like it.
src/app/app.component.html
<mat-toolbar color="primary" [class.mat-elevation-z1]="true"> <span class="mat-body-strong ellipsis">P3X Angular HTTP Cache Interceptor v{{ version }}</span> </mat-toolbar> <div style="margin: 25px;"> <mat-card> <div class="list-item-fix"> <button mat-flat-button color="primary" (click)="loadCached()">Cached request</button> <br/> <br/> <div class="mat-caption">Itt will try to load some random data with cached data. You can see in the browser inspector network tab, that there will be only one request.</div> </div> <br/> <mat-divider></mat-divider> <br/> <div class="list-item-fix"> <button mat-flat-button color="primary" (click)="loadNonCached()">Non cached request</button> <br/> <br/> <div class="mat-caption">It will try to load some random data without cache. You can see in the browser inspector network tab, that every click will talk to a server and retrieve the new data.</div> </div> <br/> <mat-divider></mat-divider> <br/> <div> <a mat-button color="accent" class="mat-button-wrapping" href="https://corifeus.com/angular-http-cache-interceptor" target="_blank">Corifeus P3X Angular HTTP Cache Interceptor</a> </div> <br/> <mat-divider></mat-divider> <br/> <div> <a mat-button color="accent" href="https://github.com/patrikx3/angular-http-cache-interceptor" target="_blank">GitHub</a> </div> <br/> <mat-divider></mat-divider> <br/> <div> <a mat-button color="accent" href="https://www.npmjs.com/package/p3x-angular-http-cache-interceptor" target="_blank">NpmJS</a> </div> </mat-card> </div>