Support Forum

Delay in topic and post showing up after posting

20 Answers

New Answer

TR Total Revue
Total Revue
Member

in that filepath do i take ‘sp_load_forum_scripts’ as the script handle?

MP Mr Papa
Mr Papa
Member

not sure why you would want the script handle??  if you are excluding, woudnt it want the script filename?

but in the wp_enqueue_script() calls, the first argument is the script handle…

TR Total Revue
Total Revue
Member

You can force the position of each script using those inputs below (e.g. you have a script registered in the header but you want to minify it in the footer instead). If you are still unsure, please read more here. Type in one script handle (NOT filename) per line.

Scripts to be ignored (not minified)

YS Yellow Swordfish
Yellow Swordfish
Member

Out of curiosity – do you really find all this effort has the matching benefit? After all most WP and SP scripts are already compressed so you are probably talking about a real small bytecount saving and by the time all the code has been run I reckon you might shave off a few nanoseconds. Not sure I understands the attraction.

TR Total Revue
Total Revue
Member

Hmm not really. however, my site takes a while to load and gave a few plugins to help with improve site load performance. Unless I can be directed to where I can see better improvements in performance I’m stuck with this

YS Yellow Swordfish
Yellow Swordfish
Member

OK. Well I hope the overhead of the extra plugin and code to perform the compression control doesn’t outweight the potentially negligible benefits.