fix: mark the shared cache controls as external so it's memory is shared (#80588)
This PR refactors the default cache handler and shared cache controls to
be marked as external modules, improving build optimization and module
boundaries.
### Changes
- **Marked shared cache controls as external**: Renamed
`shared-cache-controls.ts` to `shared-cache-controls.external.ts` and
updated all imports
- **Refactored default cache handler**: Moved the implementation to
`default.external.ts` and converted the original file to a re-export
- **Updated import paths**: Fixed the import path in
`incremental-cache/index.ts` to reference the external module
### Details
The changes ensure that both the default cache handler and shared cache
controls are properly marked as external modules. This follows Next.js
conventions for modules that should be treated as external dependencies
during the build process.
The refactoring maintains backward compatibility by using re-exports in
the original locations while moving the actual implementations to
`.external.ts` files.