Commit f2fa5ac
committed
fix: Update cache-control headers in Firebase transformer
- Adjusted `Cache-Control` headers in `transformer-firebase.js`:
- Added `max-age=31536000` to complement `s-maxage=31536000` and ensure consistent cache behavior across all levels.
- Ensures better compatibility and optimized caching for static assets.
- Removed commented-out unused code for cleaner and more maintainable configuration.
- **Impact**:
- Improves caching efficiency for assets by aligning cache-control directives.
- Simplifies the Firebase hosting configuration for enhanced clarity.1 parent 18d14c9 commit f2fa5ac
1 file changed
+2
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 44 | | |
54 | 45 | | |
55 | 46 | | |
| |||
0 commit comments