Docs Navigation Open

Caching

Use resource and snippet caching deliberately, and remember to disable or clear cache during active development.

Caching improves speed, but it also changes when output updates become visible.

Resource Cache

A cacheable resource is parsed once and then served from cache until that cache is cleared or expires.

Snippet Cache

  • — cached call
  • — uncached call

Use uncached calls when output depends on session state, request parameters, carts, user identity, or other fast-changing values.

Development Rule

When editing templates, chunks, views, or service providers, clear cache aggressively.

php core/artisan cache:clear-full

Operational Rule

Do not disable caching everywhere just because one widget is dynamic. Keep cached and uncached behavior intentional.

Previous

Deployment

Move a site between environments by transferring files, database, paths, and config in a controlled order.

Next

Bugs and Security

Report public bugs openly, but send suspected security issues through a private disclosure path.