Skip to content
This repository was archived by the owner on Jun 7, 2025. It is now read-only.

[#88] Add Cache-Control headers for Apple touch icons#91

Open
vivshaw wants to merge 1 commit intolobsters:masterfrom
vivshaw:vivshaw/88-add-caching-headers-to-touch-icons
Open

[#88] Add Cache-Control headers for Apple touch icons#91
vivshaw wants to merge 1 commit intolobsters:masterfrom
vivshaw:vivshaw/88-add-caching-headers-to-touch-icons

Conversation

@vivshaw
Copy link
Contributor

@vivshaw vivshaw commented Jun 2, 2025

This PR addresses issue lobsters/lobsters#1614 by updating the Nginx config with cache headers for Apple touch icons.

break;
}

location ~ ^/(apple-touch-icon|touch-icon).*\.png$ {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you want favicon.ico covered too? I noticed it also lacks Cache-Control headers. Left it off here 'cause you didn't explicitly mention it in the ticket, though.

@vivshaw vivshaw changed the title [#88] Add caching headers for Apple touch icons [#88] Add Cache-Control headers for Apple touch icons Jun 2, 2025
@pushcx
Copy link
Member

pushcx commented Jun 7, 2025

@vivshaw Thank you for trying to fix this. I'm very sorry to have wasted your time here, but with our move from ansible to hatchbox we've moved from nginx to Caddy. We'll have to see if this issue persists on the new setup and write caddy config to fix it, if so.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants