# Edit realm.js script Keycloak

**URL:** <https://forum.keycloak.org/t/edit-realm-js-script-keycloak/23912>\
**Category:** Extending the server\
**Created:** [January 3, 2024, 11:32am UTC](https://forum.keycloak.org/t/edit-realm-js-script-keycloak/23912 "2024-01-03T11:32:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rjcas](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Rjcas](https://forum.keycloak.org/u/Rjcas)\
**Post date:** [January 3, 2024, 11:32am UTC](https://forum.keycloak.org/t/edit-realm-js-script-keycloak/23912/1 "2024-01-03T11:32:42Z")

</div>

Im adding an additional function in the script realms.js of keycloak located in themes/base/admin/resources/js/controllers/realm.js. (Using keycloak-legacy-18.0.2).

The problem is that when i restart the server i cannot see the changes in the script in the browser.

I tried disabling theme cache in standalon.xml, but it has does nothing apparently.

```auto
        <theme>
            <staticMaxAge>-1</staticMaxAge>
            <cacheThemes>false</cacheThemes>
            <cacheTemplates>false</cacheTemplates>
            <dir>${jboss.home.dir}/themes</dir>
        </theme>

```

Thanks in advance
