Warning: You are browsing the documentation from version 4 to 10 of Pimcore. Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
Version:

Magic Parameters

Pimcore supports some magic parameters which can be added as parameter to every request.

pimcore_nocache

Setting this parameter disables every kind of cache, eg.: http://www.example.com/my/page?pimcore_nocache
This parameter only works if DEBUG MODE is on.

pimcore_outputfilters_disabled

Disables all output filters, incl. the output-cache. But this doesn't disable the internal object cache, eg.: http://www.example.com/my/page?pimcore_outputfilters_disabled=1
This parameter only works if DEBUG MODE is on.

unminified_js

Disables the JavaScript minifier. Useful for ExtJS debugging. Disabled by default if in DEV MODE.

This parameter only works if DEBUG MODE is on.

pimcore_log

Enables verbose logging (including database queries) to a separate log file only for this particular request called with this parameter, eg.: http://www.example.com/my/page?pimcore_log=my-log-name

If no value is set to this parameter the log file can be found here: /var/logs/request-[Y-m-d_H-i-s].log. If a value is given, the value will be part of the log files name: /var/logs/request-[NAME].log

This parameter only works if DEBUG MODE is on. (this is also the successor of the parameter pimcore_dbprofile in earlier versions)

pimcore_disable_host_redirect

Disables the "redirect to main domain" feature. This is especially useful when using Pimcore behind a reverse proxy.

pimcore_debug_translations

Configures the translator to return the given translation key instead of actually translating the message. This can be useful to debug translations or to get an overview over used translation keys. Example: http://www.example.com/my/page?pimcore_debug_translations=1

This parameter is only available when debug mode is active or an active admin session is present. It is possible to disable this feature completely or individualize the name of the GET parameter using the following configuration options.

pimcore:
    translations:
        debugging:
            enabled: false
            # you could also change the parameter from pimcore_debug_translations to something else
            parameter: my_custom_parameter

Magic cookies

pimcore_disable_debug

You can set the pimcore_disable_debug cookie to something truthy (e.g. 1) to disable the debug mode for requests from your browser. The cookie will only be checked if debug mode would be turned on (e.g. is activated and your IP matches).

The following bookmarklet can be used to set the cookie: