Use a proper .css file
-
Hoi,
Is it possible that you can implement so the mailchimp plugin actually writes the contents to a css file, instead of using the dynamic “?mcsf_action=main_css” as you do currently?
It should be rather simple moving the logic from the views/css/frontend.php file to the backend – and thus write the CSS to a file that will be used.
I’m not sure if you guys are aware, that doing the dynamic CSS like you’re currently doing, loads up the whole WP Core to generate a piece of CSS which is served on every single pageview on some sites.
Result: Unnecessary calls to PHP – meaning unnecessary processing on the server and thus waste of resources from a performance point of view.
- The topic ‘Use a proper .css file’ is closed to new replies.