Jump to:

23578 Posts in 19403 Topics by 2893 members

General Questions

SilverStripe Forums » General Questions » Remove the "m" Parameter in *.css?m=32861239

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2192 Views
  • stefant42
    Avatar
    Community Member
    14 Posts

    Remove the "m" Parameter in *.css?m=32861239 Link to this post

    Hello Community,

    i wish you all an happy new year!

    Is it possible to remove die "m" parameter in the href

    <link rel="stylesheet" href="layout.css?m=12342832"/>

    and the src

    <script type="text/javascript"src="layout.css?m=12342832"/>

    attribute of the given Elements?

    I dont find some static property or method to set this.

    Best Regards,

    Stefan

  • MateuszU
    Avatar
    Community Member
    89 Posts

    Re: Remove the "m" Parameter in *.css?m=32861239 Link to this post

    How about doing this in your _config.php file:

    Requirements::set_suffix_requirements(false)

    You won't be able to exclude only several files from this behaviour, this is global option.

    2192 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.