Lot CSS in HEAD -> function td_css_generator ()

Posted in: Newspaper
Post count: 12

Hello,
there is a lot of CSS from the function td_css_generator () in the head.
How can I disable this and write it to a file?

Best Regards

Post count: 9544

Actually loads faster in the head, which is why it’s there. 😉

But I don’t work here; just feedback.

Post count: 12

That’s not right. Now CSS and JS must be loaded with every pageload.
If the CSS and JS are stored in a file, the browser only needs to load this file once and can store it in the browser cache.

Post count: 9544

Wrong. Above the fold CSS loads in the head so that on mobile one doesn’t have to wait for all files to load.

But up to you! Have fun 🙂

  • This reply was modified 8 years by simchris.
Post count: 12

Can anyone contribute anything helpful?

Post count: 20688

Hi,

The generator does what it is supposed to, for example load theme panel settings. If you would like to make modifications to this function, this is where you can find it
https://www.screencast.com/t/PCu3Yh7Htq0
And where it is loaded
https://www.screencast.com/t/h8ER1r0wqhX5

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.