Skip to content
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

webserver: Add CSS/JS cache buster template function #2557

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

peterzen
Copy link
Member

@peterzen peterzen commented Oct 3, 2023

This PR changes the way CSS/JS caches busters are added to bodybuilder. Currently, the hashes are generated manually and checked into the repo causing merge conflicts. This change adds a template function that picks up the revision hash using runtime/debug.

Copy link
Member

@buck54321 buck54321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff. Much easier.

Copy link
Member

@buck54321 buck54321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. Let's delete cache_utilities.bash.

@peterzen
Copy link
Member Author

Oh. Let's delete cache_utilities.bash.

Done.

@buck54321 buck54321 merged commit ac979f4 into decred:master Oct 11, 2023
5 checks passed
peterzen added a commit to peterzen/dcrdex that referenced this pull request Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants