Results 1 to 2 of 2

Thread: How to disable ?_dc param after file.js

  1. #1
    Sencha User
    Join Date
    Jul 2017
    Posts
    5

    Default How to disable ?_dc param after file.js

    How to disable ?_dc param after file.js in ExtJS 6?

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2015
    Location
    Melbourne, Australia
    Posts
    56
    Answers
    6

    Default

    I think you would need to change the following config in the app.json:

    Code:
    "loader": {    // This property controls how the loader manages caching for requests:
        //
        //   - true: allows requests to receive cached responses
        //   - false: disable cached responses by adding a random "cache buster"
        //   - other: a string (such as the build.timestamp shown here) to allow
        //     requests to be cached for this build.
        //
    "cache": false,
    
    // When "cache" is not true, this value is the request parameter used
        // to control caching.
        //
    "cacheParam": "_dc"
    },

Similar Threads

  1. ExtJS 5.0.1 disable _dc param
    By pushkin4219 in forum Ext 5: Q&A
    Replies: 7
    Last Post: 16 Jan 2015, 5:48 AM
  2. How to disable file upload field and file upload icon
    By mypen in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 31 Jan 2011, 2:16 AM
  3. How to disable file upload field and file upload icon
    By mypen in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 26 Jan 2011, 1:04 AM
  4. Ajax Request param vs Store Param
    By Jack_S in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 3 Feb 2010, 6:24 AM
  5. why my js file followed by a generated param?
    By vivaSky in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 30 Jul 2007, 6:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •