> ## Documentation Index
> Fetch the complete documentation index at: https://mint-tsdocs.saulo.engineer/llms.txt
> Use this file to discover all available pages before exploring further.

# CacheManager class

> Centralized cache manager for coordinating all caching operations This class manages all caching operations in mint-tsdocs. To understand how caching fits into the overall architecture, check the documentation. The cache system includes and .

export const RefLink = ({target, children}) => {
  if (!target || typeof target !== 'string') {
    console.error('RefLink: Invalid target prop. Expected non-empty string.');
    return <span className="tsdocs-reflink broken-link" title="Invalid RefLink target" data-component="tsdocs-reflink">Invalid Link</span>;
  }
  const linkText = children || target;
  const path = typeof window !== 'undefined' && window.getRefPath ? window.getRefPath(target) : `./${target.split('.').filter(s => s.length > 0).join('/')}`;
  const isValid = typeof window !== 'undefined' && window.VALID_REFS && window.VALID_REFS.has(target);
  const className = !isValid ? 'tsdocs-reflink broken-link' : 'tsdocs-reflink';
  const title = !isValid ? `Broken API reference: ${target}` : undefined;
  return <a href={path} className={className} title={title} data-component="tsdocs-reflink">
      {linkText}
    </a>;
};

export const PageLink = ({target, children}) => {
  if (!target || typeof target !== 'string') {
    console.error('PageLink: Invalid target prop. Expected non-empty string.');
    return <span className="tsdocs-pagelink broken-link" title="Invalid PageLink target" data-component="tsdocs-pagelink">Invalid Link</span>;
  }
  const linkText = children || target;
  let path = target;
  if (!path.startsWith('/')) {
    path = `/${target}`;
  }
  const isValid = typeof window !== 'undefined' && window.VALID_PAGES && window.VALID_PAGES.has(target);
  const className = !isValid ? 'tsdocs-pagelink broken-link' : 'tsdocs-pagelink';
  const title = !isValid ? `Broken page link: ${target}` : undefined;
  return <a href={path} className={className} title={title} data-component="tsdocs-pagelink">
      {linkText}
    </a>;
};

# CacheManager

## Summary

Centralized cache manager for coordinating all caching operations  This class manages all caching operations in mint-tsdocs. To understand how caching fits into the overall architecture, check the  documentation. The cache system includes type analysis caching and API resolution caching.

## Signature

```typescript theme={null}
export declare class CacheManager 
```

## Constructors

### constructor

Constructs a new instance of the class

## Properties

### apiResolution

**Modifiers**: readonly
**Type**:<RefLink target="mint-tsdocs.ApiResolutionCache">`get apiResolution(): ApiResolutionCache;`</RefLink>
**Default**: \`\`

Get the API resolution cache

### typeAnalysis

**Modifiers**: readonly
**Type**:<RefLink target="mint-tsdocs.TypeAnalysisCache">`get typeAnalysis(): TypeAnalysisCache;`</RefLink>
**Default**: \`\`

Get the type analysis cache

## Methods

### clearAll

Clear all caches

### createDefault

**Modifiers**: static

Create a cache manager with default settings

### createDevelopment

**Modifiers**: static

Create a cache manager optimized for development

### createProduction

**Modifiers**: static

Create a cache manager optimized for production

### getStats

Get statistics for all caches

### printStats

Print cache statistics if enabled

## Events

*No events defined.*

## Related Documentation

* <PageLink target="/architecture/caching-layer">Caching architecture details</PageLink>
