docs: fix minor typos (#393)
This commit is contained in:
@@ -9,7 +9,7 @@ components in Fresh, as they are usually just rendered on the server.
|
||||
|
||||
Islands are defined by creating a file in the `islands/` folder in a Fresh
|
||||
project. The name of this file must be a PascalCase name of the island. The file
|
||||
must have a default export that is a regular preact component.
|
||||
must have a default export that is a regular Preact component.
|
||||
|
||||
```tsx
|
||||
// islands/MyIsland.tsx
|
||||
|
||||
@@ -15,7 +15,7 @@ Fresh also adds an `etag` header to assets automatically and handles the
|
||||
### Caching
|
||||
|
||||
By default, no caching headers are added to assets. This can be disadvantageous
|
||||
in many scenarios, so fresh makes it easy to serve assets with long cache
|
||||
in many scenarios, so Fresh makes it easy to serve assets with long cache
|
||||
lifetimes too.
|
||||
|
||||
The first approach to do this is manual. The client runtime exports an `asset`
|
||||
|
||||
Reference in New Issue
Block a user