# The host's default static-file caching (LiteSpeed) sets Cache-Control to
# a full year on .css/.js with no versioning on these URLs — fine for the
# admin dashboard (its assets are now loaded with a ?v=<mtime> query string,
# see admin/partials/layout.php: asset_url()), but widget/loader.js and
# assets/js/booking-ui.js are pasted as a static <script src> on customer
# sites, so their URL can't be versioned. Without this, a widget bug fix
# could take up to a year to reach visitors on customer sites. One hour
# keeps most of the caching benefit while making sure fixes actually land.
<IfModule mod_headers.c>
    <FilesMatch "\.(css|js)$">
        Header set Cache-Control "public, max-age=3600, must-revalidate"
    </FilesMatch>
</IfModule>
