-
-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add build cache settings #1669
Merged
Merged
Changes from 7 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ee8c4c1
feat: added cache settings
sambhavgupta0705 00eaff8
caching deployment
sambhavgupta0705 bd451ef
Revert "caching deployment"
sambhavgupta0705 9fbc75d
Revert "feat: added cache settings"
sambhavgupta0705 ae8841e
fix: cache settings
sambhavgupta0705 6ddc084
environment variable changes
sambhavgupta0705 2aad057
cache control refactored
sambhavgupta0705 0fbbb2b
removed package.json
sambhavgupta0705 055508f
Merge branch 'master' into cache
sambhavgupta0705 b36142e
removed the cache control from netlify.toml
sambhavgupta0705 7e3e4a9
Merge branch 'master' into cache
sambhavgupta0705 193207a
Merge branch 'master' into cache
sambhavgupta0705 08a6087
Merge branch 'master' into cache
sambhavgupta0705 088c30f
Merge branch 'master' into cache
sambhavgupta0705 5f5c69f
netlify error fix
sambhavgupta0705 c74b252
Merge branch 'master' into cache
sambhavgupta0705 287593b
nfixed node and npm version
sambhavgupta0705 e416faf
Merge branch 'master' into cache
sambhavgupta0705 8174b2a
Merge branch 'master' into cache
sambhavgupta0705 6c653f3
Merge branch 'master' into cache
sambhavgupta0705 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the scope of the issue is to enable cache for build,
why is this header added? what will it change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is added to control how caching should be performed
The value
public, max-age=3600
specifies that the response can be cached by both public and private caches,and the caching age is 3600 seconds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sambhavgupta0705
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes but how is it helping with cache build? this is a setting for the server and client side caching. So imho totally unrelated and probably something we should not add
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well it just tell the server how long the response should be considered fresh and cacheable.So we can remove it as it doesn't help us that much in build