Start your 7 Day free TrialNo credit card required

Integration Guide

Laravel

Connect Laravel to fast.site while keeping your hosting. Review DNS, HTTPS, public caching and private routes, then validate content updates and user journeys.

Setup Steps

  1. 1

    Add your domain in fast.site

    Log in to your fast.site dashboard and add your Laravel app's domain.

  2. 2

    Confirm your platform

    Review the detected platform and its cache settings. Confirm the selection and test your own routes; defaults do not replace integration checks.

  3. 3

    Update your nameservers

    Switch your domain's nameservers to the ones listed in your fast.site dashboard. Your existing DNS records get imported automatically.

  4. 4

    Clear Laravel cache

    Run php artisan cache:clear to clear any existing cached content.

  5. Done!

    Check public and private journeys, content updates and cache purges. Compare performance under matching conditions and keep monitoring after launch.

Verify cache behavior

You normally connect the domain through nameservers while keeping your hosting and application. Review DNS records, HTTPS, origin access and cache exclusions. Custom sessions, plugins or cache invalidation may need additional configuration.

  • Exclude private, account and checkout responses
  • Check public pages for the expected HIT/MISS behavior
  • Test cookies, permissions and language variants
  • Verify forms, content updates and cache purges

Setting Cache-Control headers

For best results, set appropriate Cache-Control headers in your Laravel responses:

return response($content)
     ->header('Cache-Control', 'public, max-age=3600');

Verify it's working

Check that caching is active by looking for fs-cache: HIT in your response headers.

Learn how to check if cache is working →