|  Login
Blog Thursday, September 09, 2010
Blob Cache: Abilitarla in MOSS 2007 Minimize
Location: BlogsSharepoint Inside Blog    
Posted by: Francesco Sodano 06/04/2009 11.44

la Funzionalità di Blob Caching non è molto nota in MOSS 2007, ma permette di archiviare sul disco dei FE molte informazioni evitando il round-tripping da DB, migliarando le prestazioni utente.

L'abilitazione va fata sul WEB Config della Web Application, questo rende la funzionalità abilitabile selettivamente.

Per abilitarla bisogna aprire con il Notepad il web.config e ricercare questa riga:

<BlobCache location="C:\blobcache" path="\.(gif¦jpg¦png¦css¦js)$ " maxSize="10" enabled="false"/>

gli attributi hanno questo significato:

  • location Refers to the location on the Web server hard disk drive where cached items will be stored.
  • path A regex expression of the types of files that should be cached.
  • maxSize The size, in GB, that the cache is allowed to use.
  • enabled Set to true to enable the BLOB cache.
  • quindi se per esemio vogliamo abilitare la cache per un giorno, nel path c:\blobcache con una dimensione massima di 10GB possiamo scrivere così:

    <BlobCache location="C:\blobcache" path="\.(gif¦jpg¦png¦css¦js¦htc)$ " maxSize="10" max-age="8400" enabled="true"/>

    La Blob Cache si rivela particolarmente utile in caso di numerose immagini e Javascript rendendo più gradevole l'User Experience.

    Permalink |  Trackback

    Your name:
    Title:
    Comment:
    Add Comment   Cancel 
               
    Search_Blog Minimize
             Print    
    Blog_Archive Minimize
             Print    



    Home  |  Blog  |  How To  |  Documenti Utili  |  Casi TechNet  |  Contatti  |  Login
    Copyright (c) 2008
    DotNetNuke® is copyright 2002-2010 by DotNetNuke Corporation