Skip to main content

Home/ porfido/ Group items tagged cache

Rss Feed Group items tagged

2More

Green Felt News » How we hash our Javascript for better caching and less brea... - 0 views

  • Everything is cached so it only does the minification and hash calculations once per file. We’re obviously running FastCGI so the in memory cache goes across http requests. More importantly the js/ dir is statically served by the web server so it’s exactly as fast as it was before we did this (since we served the .js files without any preprocessing). All this technique adds is a couple filesystem stats per page load, which isn’t much.
  •  
    Everything is cached so it only does the minification and hash calculations once per file. We're obviously running FastCGI so the in memory cache goes across http requests. More importantly the js/ dir is statically served by the web server so it's exactly as fast as it was before we did this (since we served the .js files without any preprocessing). All this technique adds is a couple filesystem stats per page load, which isn't much.
1 - 1 of 1
Showing 20 items per page