Environment Sync and Cache Management
Breadcrumb
-
- Codeless
- Environment Sync and Cache Management
Applies to: All
Overview
Sync copies content from one environment to another (for example staging → live). Clear caches refreshes stored page copies so visitors see your latest changes. These are everyday tools for Codeless teams promoting editor work to production.
Key concepts
- Database — stores pages, menus, and configuration. Syncing the database copies editorial content.
- Files — uploaded images and documents on the server. Sync files when editors added new media on staging.
- Both — full content promotion; may take longer and use more credits.
- Cache — saved HTML and data for speed. After theme or config changes, visitors may still see old pages until caches clear.
- Varnish — FlexSite’s page cache layer; Clear caches refreshes it along with Drupal’s internal cache.
When to sync vs when to clear cache
| Situation | Action |
|---|---|
| Editors published new pages on staging | Sync database (and files if media changed) to production |
| You changed theme or site settings | Clear caches first; sync if changes were made on another environment |
| Developer deployed code on FlexLab | Use Git deploy, not sync, for code — sync is for content |
Prerequisites
- Source and target environments ready.
- Permission to sync on the target environment.
- Credits for sync jobs; FlexSite may take a safety backup first.
Steps — sync environments
- Open the target environment Overview (the copy receiving content, often production).
- Click Sync Environment or Sync from Another Environment.
- Select the source (e.g. staging).
- Choose Database, Files, or Both.
- Confirm and wait for completion. Review the live site afterward.
Steps — clear caches
- On environment Overview, open the actions menu.
- Click Clear caches.
- Wait for Cache cleared successfully.
- Reload the public site in a private browser window to verify.
Restrictions
- Cannot sync into an environment still provisioning.
- FROZEN billing blocks sync until ACTIVE again.
FlexLab note
Developers deploy code through Git branches. Use sync when marketers moved content on staging and production needs the same pages — not when PHP or theme files changed in the repository.
-
Codeless
- Creating a Codeless Project
- Accessing Drupal Admin (Quick Login)
- Theme Marketplace
- Managing Environments
- Publishing to a Custom Domain
- One-Click Module Updates
- Quality and Lighthouse Reports
- Build Settings and Credits
- Backups (Database and Files)
- DAM Integration
- Site Templates (Starter, Byte, Haven)
- When to Consider FlexLab
- Launch and Provisioning
- Environment Overview
- Theme Management
- Domain Configuration
- Automation
- Site Alerts and Configuration Advisories
- Environment Sync and Cache Management
- Digital Asset Management
- Image Styles
- Connect DAM to Your Site