Disable on local dev environment with different domain?
-
Premium user.
Issue: When copying DB from my local dev site using a different domain the cache files have to be deleted on the production instance manually otherwise the local domain is referenced on the prod site.
Request (any or all):
- Do not store or reference a domain in any cache mechanisms – this should be domain agnostic and respect relative paths set intentionally by the admins (I checked cache folder/files to verify)
- Allow option to exclude/disable based on domain, not just URI
- Provide code I can put in functions.php or wp-config.php to dynamically and automatically disable the plugin based on site URL or similar simple domain check (i.e. my local dev domain), otherwise enabled, i.e. in prod.
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Disable on local dev environment with different domain?’ is closed to new replies.