today_ai_weather/app
songtianlun fe5c0d5113
Some checks failed
Docker Dev / docker (push) Has been cancelled
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
Docker Main / docker (push) Has been cancelled
fix: update sitemap retrieval logic
- Change from using `get_object` to `head_object` to check if the
  sitemap file exists before attempting to retrieve it.
- Implement a presigned URL for accessing the sitemap, which is valid
  for 15 minutes.
- Set cache headers to allow for 1 hour of caching.
- Improved logging for better error tracking and debugging.

This change enhances the efficiency of sitemap retrieval by reducing
unnecessary data transfer and provides a more secure way to access
the sitemaps through presigned URLs. It also improves error handling
by logging specific errors related to missing sitemaps.
2025-02-24 17:42:55 +08:00
..
admin refactor: improve: changes in admin panel 2025-02-16 13:42:13 +08:00
assets refactor: replace OpenLayers with Mapbox GL 2025-02-15 11:21:12 +08:00
concerns style: format code for consistency 2025-01-23 19:03:14 +08:00
controllers fix: update sitemap retrieval logic 2025-02-24 17:42:55 +08:00
helpers feat: add sitemap management feature 2025-02-24 17:28:21 +08:00
javascript feat: implement social sharing functionality 2025-02-16 11:58:25 +08:00
mailers init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
models feat: add translatable name module for countries and regions 2025-02-21 23:46:25 +08:00
services feat: refactor: change image generation quality 2025-02-16 13:27:25 +08:00
views feat: add sitemap management feature 2025-02-24 17:28:21 +08:00
workers feat: add locking mechanism to batch task worker 2025-02-22 15:41:42 +08:00