An Angular mono repository to provide HTTP layer caching when making HTTP calls during server-side rendering.
Mono-repo structure is based on Angular Mono Repo Starter.
Check the TODOs
- Clone the repository
git clone https://github.com/peterbakonyi05/ngx-http-cache-control <project_name>- Install dependencies
cd <project_name>
npm install- During development
# suggested and fastest option: running the specs in watch mode
npm t -- --watch
# or build once and try it with your application
npm run build
# or run inceremental builds while trying with your application
npm run watch| Task | Description |
|---|---|
| aio | Generates a static documentation of the libraries |
| bootstrap | Install packages dependencies and bootstrap the mono repo |
| build | Build all the packages inside the mono repo |
| watch | Build all the packages inside the mono repo and perform an incremental build when a file changes (NB: it's recommanded that you first perform a build) |
| build-tools | Build the tools script that are used for building the mono repo |
| clean | Clean up packages node_modules and dist folders |
| test | Run unit and integration tests |
| test-debug | Run unit and integration tests in debug mode |
| test-tdd | Run unit and integration tests in watch mode |
This project comes pre-configured launch.json. All you need to do is hit F5 in VS Code while a .spec.ts file is opened and get debugging!
Please follow Angular's commit guidelines