Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enable Leverage Browser Caching#1243

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
lucasayres wants to merge1 commit intonginx-proxy:main
base:main
Choose a base branch
Loading
fromlucasayres:leverage_browser_caching

Conversation

lucasayres
Copy link

Benefits of Enable Leverage Browser Caching:

  • Primary benefit is speeding up website because static files will serve from your browser. it saves internet data of website visitor. it also saves bandwidth of website server and decrease load of server. Simply it decreases HTTP requests.
  • Score on Google PageSpeed Insights and Gtmetrix

ProteanCode reacted with heart emojiProteanCode reacted with rocket emoji
@khalilgharbaoui
Copy link

shouldn't this be in theconf.d/xxx.conf instead?

tkw1536 reacted with thumbs up emoji

@ProteanCode
Copy link

Can somebody look more into it? I am here 2nd time and this is the only one working solution for me since now when I do a reverse proxy to wordpress site anything like this:

location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ {     expires 365d;}

Causes some heavy performance issues (more likely some kind of loop), and in the end returns 404.

So far this is the only one solution, but this is directly inside /etc/nginx/conf.d/default.conf which is not best solution.

Can we somehow manage to use it insideconf.d?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@lucasayres@khalilgharbaoui@ProteanCode

[8]ページ先頭

©2009-2025 Movatter.jp