How Dirt Bike Forks Work?

How Dirt Bike Forks Work? When the fork compresses (when braking or hitting a bump), oil forces apart the spring-loaded valve on one side. This side gives compression damping. When the fork expands (on rebound), the fork expands, and oil forces apart the spring-loaded valve on the other side. How does a cartridge fork work?