• Customer

    Save the content of a custom CSS file to a local CSS file to make it static

    Posted by: SparkedInnovations May 14, 2019 at 18:11 (6 year ago)
    We have a custom CSS file that is being regenerated each time a page is viewed. This can be seen in the top of the "waterfall" section within GTMetrix reports http://flywheel.link/088039b74384. This CSS file is loading the same content every time, but the server regenerates it since it's not a static file being linked to. We need a way to save the content of it to a local "custom.css" file and then link to that style within the theme to prevent the need for the server to regenerate that file every time it's loaded. We have some custom CSS we wrote to alter the theme to fit our design and want to make sure that doesn't get lost with a theme update. Would it be as simple as throwing it in my child theme folder?

  • Customer

    Posted by: yame, May 17, 2019 at 00:37 (6 year ago)

    Hi,

    My coder checked your issue and he said that you could use the cache to merge css and js resources.

    And his suggestion is plugin: Autoptimize.

    Pls try with this then let me know the result

    Regards,
    Yame

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible