Posts & Articles

You are viewing posts tagged with "service workers" Clear filter

Making Sure Your Assets Stay Fresh: A Guide to Versioning Assets in Laravel

In the world of website optimization, keeping things running smoothly is key. One important part of this is managing how your site's assets—like images, stylesheets, and scripts—are delivered to users. Content Delivery Networks (CDNs) and Service Workers help with this, but they can sometimes cause a problem: users might get old versions of files instead of the latest ones. To tackle this issue, it's crucial to make sure that each version of an asset is unique. That's where the hashed asset path technique comes in.

Read more