Contact Form 7
Style.css is the only file that cannot be compressed - why? (3 posts)

  1. utnalove
    Posted 1 year ago #

    Hello, my server is using compression.
    In pagespeed insights all the files and fine and well compressed. Theme files and other plugins files.

    The only file that cannot be compressed is contact-form-7/includes/css/styles.css?ver=3.7.2

    Question 1:
    Any idea why this is happening and how to resolve this issue?

    Question 2:
    Why you are loading this file also in places where there is no contact form? Isn't it possible to get this file only if there is a shortcode calling the contact form?



  2. Takayuki Miyoshi
    Plugin Author

    Posted 1 year ago #

    > Question 1

    I don't know. Ask your server admin.

    > Question 2

    See Loading JavaScript and Stylesheet Only When it is Necessary.

  3. utnalove
    Posted 1 year ago #

    The tutorial says:

    suppose that you have a template file for the “Contact” page named ‘contact.php’

    What if there is no template, but it's a normal WordPress Page?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic