Select theme:

Progressive Web Apps support (Angular)Link to this section

Progressive Web Apps supportLink to this section

Progressive Web Apps support in Radzen Angular applications is enabled out-of-the-box and can be configured using client\src\ngsw-config.json:

image

The config file is written only once and Radzen will not override your changes on subsequent builds. If you delete the file Radzen will generate it.

Runtime data cachingLink to this section

To enable runtime data caching you can add dataGroups in the ngsw-config.json file. For example different strategies for Radzen application with MS SQl Server, MySQL, Oracle or PostgreSQL data-source

Freshness strategy

"dataGroups": [{
      "name": "api-freshness",
      "urls": [
        "/odata"
      ],
      "cacheConfig": {
        "strategy": "freshness",
        "maxSize": 100,
        "maxAge": "3d",
        "timeout": "10s"
      }
    }
  ]

OR

Performance strategy

"dataGroups": [{
      "name": "api-performance",
      "urls": [
        "/odata"
      ],
      "cacheConfig": {
        "strategy": "performance",
        "maxSize": 100,
        "maxAge": "3d"
      }
    }
  ]

Runtime data caching will take effect only when application is deployed (build in production mode).

image

PWA can be installed also if the application is deployed to safe host (https or localhost).

image image

© 2016-2026 Radzen Ltd. All Rights Reserved.
Designed and developed with ❤️ in Radzen Blazor Studio.
IP Geolocation by DB-IP

Select theme: