Title: JFIF?
Last modified: December 23, 2021

---

# JFIF?

 *  Resolved [sous.studio](https://wordpress.org/support/users/sousstudio/)
 * (@sousstudio)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/jfif/)
 * Hey!
 * My question is does EWWW-IO supports JFIF? And if so, shouldn’t we add jfif as
   file extension here (if NGINX is used)?
 *     ```
       location ~* ^.+\.(png|jpe?g)$ {
         add_header Vary Accept;
         expires 1y; log_not_found off; 
         add_header Cache-Control "public, must-revalidate, proxy-revalidate"; 
         add_header Access-Control-Allow-Origin *;     
         access_log off;
         try_files $uri$webp_suffix $uri =404;
       }
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/jfif/#post-15191456)
 * I’ve never tested using a JFIF file, but if they are indeed converted to WebP,
   then certainly change the first line to this:
 * `location ~* ^.+\.(png|jpe?g|jfif)$ {`
 *  Thread Starter [sous.studio](https://wordpress.org/support/users/sousstudio/)
 * (@sousstudio)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/jfif/#post-15193769)
 * I got it about the line. The question is – does it get converted with your plugin?
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/jfif/#post-15198561)
 * I did some more investigation on this and while I’m not 100% clear on the details,
   I found that most JPG images are in the JFIF format. That is to say, if you check
   most JPG images with a hex editor, they will have the JFIF signature in the file
   header because JFIF is the format used by most (if not all) modern JPG encoders.
 * WordPress itself does not allow uploading files with a .jfif extension, and that
   isn’t the “normal” way JFIF is used. Rather, most JFIF files will use the more
   common .jpg or .jpeg extensions, and EWWW IO works perfectly well with these.
 * However, if you DO have files on your WP site with .jfif extensions, and you 
   find any functionality that doesn’t seem to be working, please file an issue 
   at [https://github.com/nosilver4u/ewww-image-optimizer/issues](https://github.com/nosilver4u/ewww-image-optimizer/issues)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘JFIF?’ is closed to new replies.

 * ![](https://ps.w.org/ewww-image-optimizer/assets/icon-256x256.png?rev=1582276)
 * [EWWW Image Optimizer](https://wordpress.org/plugins/ewww-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ewww-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ewww-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ewww-image-optimizer/reviews/)

## Tags

 * [nginx](https://wordpress.org/support/topic-tag/nginx/)

 * 3 replies
 * 2 participants
 * Last reply from: [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/jfif/#post-15198561)
 * Status: resolved