Artwork

Content provided by ASP.NET Monsters - Channel 9. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by ASP.NET Monsters - Channel 9 or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

ASP.NET Monsters #92: Saving CPU Cycles with Static Resource Hashes

20:51
 
Share
 

Archived series ("Inactive feed" status)

When? This feed was archived on January 16, 2022 11:29 (2+ y ago). Last successful fetch was on July 07, 2021 16:08 (3y ago)

Why? Inactive feed status. Our servers were unable to retrieve a valid podcast feed for a sustained period.

What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.

Manage episode 172376706 series 1376297
Content provided by ASP.NET Monsters - Channel 9. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by ASP.NET Monsters - Channel 9 or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

In today's episode, Monster Dave prototypes an approach to generating static resource URLs to potentially improve the performance of an ASP.NET Core application. Borrowing ideas from a recent blog post by the Facebook engineering team.

First, we create a tag helper to generate static resource URLs based on a hash of the file's contents. Next, we write some custom middleware to rewrite those new URLs to the actual file and to always return 304 not-modified for all conditional requests.

The Blog Post: https://code.facebook.com/posts/557147474482256

Follow @aspnetmonsters

NOTE: This video is intended to explore the concepts outlined in the blog post above and are not be suited for production use.

  continue reading

100 episodes

Artwork
iconShare
 

Archived series ("Inactive feed" status)

When? This feed was archived on January 16, 2022 11:29 (2+ y ago). Last successful fetch was on July 07, 2021 16:08 (3y ago)

Why? Inactive feed status. Our servers were unable to retrieve a valid podcast feed for a sustained period.

What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.

Manage episode 172376706 series 1376297
Content provided by ASP.NET Monsters - Channel 9. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by ASP.NET Monsters - Channel 9 or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

In today's episode, Monster Dave prototypes an approach to generating static resource URLs to potentially improve the performance of an ASP.NET Core application. Borrowing ideas from a recent blog post by the Facebook engineering team.

First, we create a tag helper to generate static resource URLs based on a hash of the file's contents. Next, we write some custom middleware to rewrite those new URLs to the actual file and to always return 304 not-modified for all conditional requests.

The Blog Post: https://code.facebook.com/posts/557147474482256

Follow @aspnetmonsters

NOTE: This video is intended to explore the concepts outlined in the blog post above and are not be suited for production use.

  continue reading

100 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide