Cache

cache:clear

Clear the Joomla cache

Syntax

joomla cache:clear [--www WWW] [--application-url APPLICATION-URL] [-g|--group GROUP] [-c|--client CLIENT] [--] <site>

Arguments

site
Alphanumeric site name. Also used in the site URL with .test domain

Options

--www=<value>
Web server root
Default: /var/www
--application-url=<value>
URL to access the site via HTTP. Used for clearing APC cache using a temporary script that we access via HTTP since we cannot clear APC over the command line.
Default: http://localhost/<site>
--group=<value>, -g=<value>
Specify a cache group to delete
--client=<value>, -c=<value>
Specify the client cache to delete
Default: 0

cache:list

List all caches for a client

Syntax

joomla cache:list [--www WWW] [--application-url APPLICATION-URL] [-c|--client CLIENT] [--] <site>

Arguments

site
Alphanumeric site name. Also used in the site URL with .test domain

Options

--www=<value>
Web server root
Default: /var/www
--application-url=<value>
URL to access the site via HTTP. Used for clearing APC cache using a temporary script that we access via HTTP since we cannot clear APC over the command line.
Default: http://localhost/<site>
--client=<value>, -c=<value>
Specify the client cache to list
Default: 0

cache:purge

Purge all expired cache files

Syntax

joomla cache:purge [--www WWW] [--application-url APPLICATION-URL] [--] <site>

Arguments

site
Alphanumeric site name. Also used in the site URL with .test domain

Options

--www=<value>
Web server root
Default: /var/www
--application-url=<value>
URL to access the site via HTTP. Used for clearing APC cache using a temporary script that we access via HTTP since we cannot clear APC over the command line.
Default: http://localhost/<site>

Need Help?

Let our developers personally assist you. You can ask development related questions in our Support Center. Only for Business or Agency subscribers.