All release notes

v1.10.0

1 feature, 1 fix

Update service worker to remove content pagination endpoint

  • Removed the '/api/content/load-more' endpoint from the service worker to prevent ordering issues caused by stale cached data. Updated fetch logic in OrganizedContentList to always bypass cache, ensuring fresh data retrieval and consistent ordering.

Enhance service worker caching and offline handling

  • Introduced a new helper function to check if cached responses are fresh, improving the service worker's ability to serve up-to-date content. Updated the fetch event handler to implement a network-first strategy when online, ensuring stale pages are not served. Adjusted caching headers to reduce cache time and enforce revalidation, aligning with the new strategy. Removed unnecessary refresh logic in OrganizedContentList to prevent race conditions and double refreshes, enhancing data integrity and user experience.