Skip to content

Commit f208c5c

Browse files
committed
minor changes
1 parent 09a5865 commit f208c5c

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ _Immutable Web Applications_ is a framework-agnostic methodology for building an
1313

1414
The methodology is based on the principles of ___strictly separating___:
1515

16-
- Dynamic content from static content.
1716
- Configuration from code.
1817
- Release tasks from build tasks.
18+
- Dynamic content from static content.
1919

2020
These principles are inspired by [The Twelve-Factor App](https://12factor.net/).
2121

2222
## Decomposing a web application
2323

24-
The _Immutable Web App_ methodology was developed by through a process of decomposing web applications based on the principles declared above and then reconsidering the relationship between the different components. Before defining the methodology, this document will step through the decomposition.
24+
The _Immutable Web App_ methodology was developed by decomposing web applications based on the principles above and then reconsidering the relationship between the different components. Before defining the methodology, this document will step through the decomposition.
2525

2626
### The anatomy of a single-page application
2727

28-
The infrastructure for a single-page application must support serving three different types of requests. These three types of requests have different characteristics that should impact the infrastructure that supports them.
28+
The web server infrastructure for a single-page application must support three different types of HTTP requests. These three types of requests have different characteristics that should impact the infrastructure.
2929

3030
#### document
3131

3232
- Entry point to the single-page application.
3333
- A small HTML document that returns references to the static assets and just enough to bootstrap the loading of the application.
34-
- Must not be cached by the browser so that changes to the document or static assets are immediately available. Changes are usually in the form of a deployment.
34+
- Must not be cached by the browser so that changes to the document or static assets are instantly available.
3535
- Served for all routes that do not refer to static assets or apis to support client-side routing.
3636

3737
#### static assets
@@ -307,3 +307,16 @@ If the permabundles fails any of this validation it is abandoned. If it succeeds
307307
- Use a CDN
308308

309309
- Favor a serverless cloud platform
310+
311+
312+
313+
314+
315+
316+
317+
318+
319+
320+
321+
322+
The best practices for all of the leading application frameworks ([Angular CLI](https://github.com/angular/angular-cli/wiki/stories-application-environments), [Create React App](https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code), [Ember CLI](https://ember-cli.com/user-guide/#Environments), [Vue CLI 3](https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code)) all include specific environment variables during the build.

0 commit comments

Comments
 (0)