<?php

namespace App\Services;

class PwaService
{
    public function cachePolicyFor(string $path): string
    {
        return str_starts_with($path, '/dashboard') || str_starts_with($path, '/api')
            ? 'no-store, private'
            : 'public';
    }
}
