Moodle is making 10's of CSS requests for theme/styles_debug.php - how can I stop this?

Moodle is making 10's of CSS requests for theme/styles_debug.php - how can I stop this?

by Andy Jessop -
Number of replies: 2

Viewing the page source,  I can see that it's requesting loads of CSS files for styles_debug.php. e.g.: 

<link rel="stylesheet" type="text/css" href="http://website/theme/styles_debug.php?theme=clean&amp;type=plugin&amp;subtype=mod_book" />

There are about 30 of these, which obviously slows the page loading time considerably.

Have I changed a setting somewhere to do this for development purposes? How can I change it back?

 

Average of ratings: -
In reply to Andy Jessop

Re: Moodle is making 10's of CSS requests for theme/styles_debug.php - how can I stop this?

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
In reply to Marcus Green

Re: Moodle is making 10's of CSS requests for theme/styles_debug.php - how can I stop this?

by Andy Jessop -

Fantastic - thanks very much.