which country user step here?

Tag Cloud

MOSS (47) SharePoint 2007 (37) SharePoint 2013 (23) SharePoint 2010 (22) MOSS admin (17) PowerShell (17) admin (17) developer (16) List (15) WSS (14) sql query (14) MOSS SP2 (13) end user (11) scripting (11) wss V3 (11) Moss issue (8) search (8) permission (7) sql (7) Service Pack (6) database (6) reportadmin (6) workflow (6) Excel (5) client object model (5) CU (4) Client Code (4) Command (4) Cumulative Updates (4) Patch (4) RBS (4) SharePoint designer (4) stsadm (4) ASP.NET (3) Content Database (3) Groove (3) Host Named Site Collections (HNSC) (3) IIS (3) Tutorial (3) alert (3) batch file (3) codeplex (3) error (3) incomming email (3) restore (3) upload (3) Caching (2) Folder (2) Index (2) Internet (2) News (2) People Picker (2) Share Document (2) View (2) Web Development with ASP.NET (2) add user (2) authentication (2) coding (2) column (2) deploy solution (2) domain (2) download (2) enumsites (2) exam (2) export (2) issue (2) june CU (2) mySites (2) network (2) office 365 (2) orphan site (2) performance (2) profile (2) project server (2) query (2) server admin (2) theme (2) timer job (2) training (2) user porfile (2) web master (2) web.config (2) wsp (2) 70-346 (1) 70-630 (1) AAM (1) Anonymous (1) Approval (1) Cerificate (1) Consultants (1) Content Deployment (1) Content Type (1) DOS (1) Document Library (1) Drive Sapce (1) Excel Services (1) Export to Excel (1) Feature (1) GAC (1) Get-SPContentDatabase (1) Get-WmiObject (1) HTML calculated column (1) ISA2006 (1) IT Knowledge (1) ITIL (1) Install (1) Link (1) MCTS (1) Macro (1) Migration (1) My Site Cleanup Job (1) My Sites (1) NLBS (1) Nintex (1) Office (1) Open with Explorer (1) ROIScan.vbs (1) Reporting Services (1) SPDisposeCheck.exe (1) SQL Instance name (1) SSRS (1) SharePoint admin (1) SharePoint farm (1) Shared Services Administration (1) Site Collection Owner (1) Site template (1) Steelhead (1) URLSCAN (1) VLOOKUP (1) WSS SP2 (1) XCOPY (1) admi (1) app (1) application pool (1) aspx (1) audit (1) availabilty (1) backup (1) binding (1) blob (1) branding sharepoint (1) cache (1) calendar (1) connection (1) copy file (1) counter (1) crawl (1) custom list (1) event (1) excel 2013 (1) facebook (1) filter (1) fun (1) group (1) iis log (1) import (1) import list (1) improment (1) interview (1) keberos (1) load balance (1) log in (1) metada (1) migrate (1) mossrap (1) onedrive for business (1) operation (1) process (1) publishing feature (1) resource (1) security (1) send email (1) size (1) sps2003 (1) sql201 (1) sql2012 (1) sub sites (1) system (1) table (1) task list (1) today date (1) vbs (1) video (1) web part (1) widget (1) windows 2008 (1) windows 2012 R2 (1) windows Azura (1) windows account (1) windows2012 (1) wmi (1)

Monday, July 19, 2010

ISA 2006 Web Caching

 

Recently user face the page cannot display problem , so i started to investigate on our ISA server on this problem… so i have found out how to set the web Caching step at below. emm..Look like our caching is enable but the rule is something wrong :D …ok, just want to keep the setup here

 

below information is from : http://www.isaserver.org/tutorials/ISA-2006-Web-Caching.html

 

A lot of ISA Firewall admins might forget that the ISA Firewall isn’t only an enterprise class network firewall, but also a nifty Web caching device. The Web caching feature allows the ISA Firewall to cache the responses it gets from user requests from behind the ISA Firewall. This can speed up the Web browsing experience for users and even allow users to view cached content when the Web server hosting the content is offline.

 

 

The first step in getting Web caching working is to turn it on. To do that, open the ISA Firewall console and then expand the Configuration node in the left pane of the console. Click on the Cache node and then click the Tasks tab in the Task Pane. Click the Define Cache Drives (Enable Caching) link.


Figure 1

In the Define Cache Drives dialog box, enter the size of the disk cache you want to have. I generally allow about 10 MB per user. In the example below you see that I’m setting the cache to be 250 MB. Keep in mind that the maximum size for a cache file on a single drive is 64 GB. Also, the drive much be formatted to use NTFS.


Figure 2

Right click the Cache node in the left pane of the console and click Properties.


Figure 3

The General tab of the Cache Settings dialog box tells you how big your cache is.


Figure 4

On the Advanced tab you have several options.

The Cache objects that have an unspecified last modification time option allows the ISA Firewall to cache objects that don’t have a time stamp. When the ISA Firewall caches these objects, you can set custom cache rules to determine how long these objects stay in the cache.

The Cache objects even if they do not have an HTTP status code of 200 allows you to cache pages that do not return an OK response when connecting to the destination Web server. This allows for offline caching and other caching behaviors.

The Maximum size of URL cached in memory (bytes) option allows you to configure the maximum size of an object placed in the in-memory cache. The in-memory cache is much faster than the on-disk cache, so you don’t want to clog the in-memory cache with large objects, such as graphics and files. You can enter a custom value if you like, but the default is 12800 bytes.

You have two options for when If Web site of expired object cannot be reached. You can configure the ISA Firewall to:

  • Do not return the expired object (return an error page) This tells the ISA Firewall to return an error indicating that the object is not available, even if the object is in the cache.
  • Return the expired object only if expiration was. This allows the ISA Firewall to return objects in the cache even when the Web site is not available. How long the ISA Firewall will continue to return these objects from the cache depends on the following settings: At less than this percentage of original Time-to-Live, But no more than (minutes). These two options determine how long the object can be returned from the cache when the Web server hosting that content is not available.

The Percentage of free memory to use for caching is actually the percentage of memory you want to give to the cache file. It’s really not the percentage of “free” memory because the cache memory size won’t change over time and will not give up memory to other processes. So this is a static value based on how much memory your machine has. The default is 10%, but if you have lots of RAM, you might consider increasing this at 10% intervals until you run into trouble to see how much memory you can dedicate to Web caching.


Figure 5

Creating Cache Rules

Cache rules allow you to define what objects you want to cache and the cache behavior for those objects. To create a cache rule, click on the Cache node in the left pane of the ISA Firewall console and then click the Tasks tab on the Task Pane. Click the Create a Cache Rule link.


Figure 6

On the Welcome to the New Cache Rule Wizard page, enter a name for the cache rule. In this example we’ll create a cache rule that is applied to all content accessed from the Internet, with the exception of the Microsoft Update Site, which has its own rule that should be above all other rules. Click Next.


Figure 7

On the Cache Rule Destination page, click the Add button. In the Add Network Entities dialog box you select which destination you want this rule to apply to. In this example we want the rule to apply to all Internet access, so we’ll click the Networks folder and then double click on the External entry. Note that you can create very finely tuned cache rules by having the destination be a URL Set or a Domain Name Set. Click Close on the Add Network Entitiesdialog box.

 

 


Figure 8

On the Content Retrieval page you set how objects stored in the cache are retrieved when requested by users. You have three options:

  • Only if a valid version of the object exists in cache. If no valid version exists, route the request to the server. So, if there is an expired version of the object in the cache, the ISA Firewall will connect to the Web server to get a fresh version of the object
  • If any version of the object exists in cache. If none exists, route the request to the server. So, if there is any version of the object in the cache, it will return it to the user, even if it is expired. If no version of the object is in cache, it will go to the Web server to get it.
  • If any version of the object exists in cache. If none exists, drop the request (never route the request to the server. So, if any version is in the cache, it will return it to the user. If there is no version of the object in the cache, the ISA Firewall will not try to get it from the Web server and will just drop the request

The default option is Only if a valid version of the object exists in the cache. If no valid version exists, route the request to the server. In this example we’ll select the default and click Next.


Figure 9

On the Cache Content page you tell the ISA Firewall whether retrieved content is stored in the cache. By default, an object is stored in the cache only if its source and request headers indicate that the object should be cached. However, you have the option to select the option Never, no content will ever be cached. So, if there is a site where you never want the content to be cached, maybe because you always need the most up to date content, then you should select that option.

Three other options are:

  • Dynamic content: When you select this option, the ISA Firewall will cache the content, even if the Web server indicates that the content should not be cached.
  • Content for offline browsing: This allows the ISA Firewall to cache content even when the Web server is not available or the location of the objects has changed.
  • Content requiring user authentication for retrieval: This allows the ISA Firewall to access content that required user authentication. Be careful with this one, because it has the potential to allow users to see the authenticated content from other users

Click Next.


Figure 10

On the Cache Advanced Configuration page, you can limit the size of cached objects. By default, there is no limit to the size of an object that can be cached. However, if you select the Do not cache objects larger than option, you can set a maximum size of cached objects. Use this option if you’re worried about your cache file getting filled up too quickly by very large objects, such as pictures or data files.

The other option on this page is Cache SSL responses. Be aware that the ISA Firewall cannot cache SSL responses in a forward Web proxy scenario because the ISA Firewall cannot see what’s inside the SSL tunnel. However, if you install Collective Software’s ClearTunnel, you will be able to cache responses made over an SSL connection. For more information about ClearTunnel, check out www.collectivesoftware.com.

Click Next.


Figure 11

On the HTTP Caching page, unless the source specifies an expiration time, HTTP objects stored in the cache are updated according to the time-to-live (TTL) settings. The TTL is the amount of time content remains in the cache before it expires. Content age is the amount of time since the object was created or modified, which is information contained in the object’s header.

The Set TTL of objects (% of content age) is set at 20% by default. HTTP objects remain valid in the cache according to TTL settings. TTL settings are based on the TTL defined in the response header, and the TTL boundaries defined in the cache rule. The percent of the content age is a percentage of the time of the content's existence. The higher the percentage, the less frequently the cache is updated.

You can also set TTL time boundaries, so that you can set custom No less than and No more than times.

Finally, you can override expiration times included in the cached object’s header by selecting the Also apply these TTL boundaries to sources that specify expiration.

Click Next.


Figure 12

The ISA Firewall can also cache objects obtained via FTP for Web Proxy clients (the ISA Firewall won’t cache FTP responses from non-Web proxy client applications). The default is to enable FTP caching and a TTL of 1 day is selected. You can change these defaults to meet your needs. Click Next.


Figure 13

Click Finish on the Completing the New Cache Rule Wizard page.


Figure 14

On the Cache Rules tab, right click the All Sites rule and click Move Down. We need to do this because theMicrosoft Update Cache Rule needs to be on top.


Figure 15