-
Notifications
You must be signed in to change notification settings - Fork 13
cache:clear:ce_cache
Rob Sanchez edited this page Jun 16, 2015
·
5 revisions
Clears the CE Cache.
Be sure to set your [http_host
](Global Options) when using the refresh
option, so eecli
will know your site's URL.
$ eecli cache:clear:ce_cache <items>
Optional. Which items do you wish to clear? (Leave blank to clear all)
Whether to delete by tag.
Which driver to clear. You may use this option more than once to provide multiple values.
Whether to refresh cache after clearing.
Number of seconds to wait between refreshing and deleting items.
Clear all caches
$ eecli cache:clear:ce_cache
Clear a specific item
$ eecli cache:clear:ce_cache local/foo/item
Clear specific items
$ eecli cache:clear:ce_cache local/foo/item local/bar/item
Clear specific tags
$ eecli cache:clear:ce_cache --tags foo bar
Clear specific driver
$ eecli cache:clear:ce_cache --driver="file"
Set cache to refresh after clear
$ eecli cache:clear:ce_cache --refresh
Set the number of seconds to wait before refreshing and deleting items
$ eecli cache:clear:ce_cache --refresh-time="2"
- create:category
- create:category_group
- create:channel
- create:field:<fieldtype>
- create:field_group
- create:global_variable
- create:member
- create:member_group
- create:snippet
- create:status
- create:status_group
- create:template
- create:template_group
- create:upload_pref