Title: eldiablock's Replies | WordPress.org

---

# eldiablock

  [  ](https://wordpress.org/support/users/eldiablock/)

 *   [Profile](https://wordpress.org/support/users/eldiablock/)
 *   [Topics Started](https://wordpress.org/support/users/eldiablock/topics/)
 *   [Replies Created](https://wordpress.org/support/users/eldiablock/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/eldiablock/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/eldiablock/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/eldiablock/engagements/)
 *   [Favorites](https://wordpress.org/support/users/eldiablock/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Fastest Cache - WordPress Cache Plugin] JS file content type](https://wordpress.org/support/topic/js-file-content-type/)
 *  Thread Starter [eldiablock](https://wordpress.org/support/users/eldiablock/)
 * (@eldiablock)
 * [4 days, 5 hours ago](https://wordpress.org/support/topic/js-file-content-type/#post-18936189)
 * Hello,
 * I have tested disabling wp fastest cache, and the issue was gone.
 * Then I enabled it again. With both wpfc + server side cache, I have modified 
   the plugin code, replacing
 * `header('Content-type: text/js');`
 * by
 * `header('Content-type: text/javascript');`
 * You can see the result on the same page mentionned previously.
 * And the issue is gone.
 * I truly believe you should modify the code as well in the same way. The expected
   content type for JS files is “text/javascript” and not “text/js”.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Fastest Cache - WordPress Cache Plugin] JS file content type](https://wordpress.org/support/topic/js-file-content-type/)
 *  Thread Starter [eldiablock](https://wordpress.org/support/users/eldiablock/)
 * (@eldiablock)
 * [6 days, 3 hours ago](https://wordpress.org/support/topic/js-file-content-type/#post-18934292)
 * Oh, I see, on some page refresh it’s the recent cache, on some others it’s an
   old one…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Fastest Cache - WordPress Cache Plugin] JS file content type](https://wordpress.org/support/topic/js-file-content-type/)
 *  Thread Starter [eldiablock](https://wordpress.org/support/users/eldiablock/)
 * (@eldiablock)
 * [6 days, 3 hours ago](https://wordpress.org/support/topic/js-file-content-type/#post-18934289)
 * Strange, I have just reset the cache again, I have this :
 *     ```wp-block-code
       <!-- WP Fastest Cache file was created in 0.683 seconds, on 10 June 2026 @ 12h20 -->
       ```
   
 * And before the last refresh it was today as well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Fastest Cache - WordPress Cache Plugin] JS file content type](https://wordpress.org/support/topic/js-file-content-type/)
 *  Thread Starter [eldiablock](https://wordpress.org/support/users/eldiablock/)
 * (@eldiablock)
 * [6 days, 4 hours ago](https://wordpress.org/support/topic/js-file-content-type/#post-18934224)
 * Done, but the issue is still here.
 * Sometimes with multiple refreshes, the issue is gone but it pops again regularly.
 * Chrome says:
 * `Refused to execute script from 'https://patrimoine.sncf.com/wp-content/cache/
   wpfc-minified/2dbmf380/b031.js' because its MIME type ('text/js') is not executable,
   and strict MIME type checking is enabled.`
 * Safari says:
 * `Refused to execute https://patrimoine.sncf.com/wp-content/cache/wpfc-minified/
   2dbmf380/b031.js as script because "X-Content-Type-Options: nosniff" was given
   and its Content-Type is not a script MIME type.`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Fastest Cache - WordPress Cache Plugin] JS file content type](https://wordpress.org/support/topic/js-file-content-type/)
 *  Thread Starter [eldiablock](https://wordpress.org/support/users/eldiablock/)
 * (@eldiablock)
 * [6 days, 5 hours ago](https://wordpress.org/support/topic/js-file-content-type/#post-18934106)
 * Try here [https://patrimoine.sncf.com/jep-en-regions/](https://patrimoine.sncf.com/jep-en-regions/)
   with Chrome
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Fastest Cache - WordPress Cache Plugin] JS file content type](https://wordpress.org/support/topic/js-file-content-type/)
 *  Thread Starter [eldiablock](https://wordpress.org/support/users/eldiablock/)
 * (@eldiablock)
 * [6 days, 6 hours ago](https://wordpress.org/support/topic/js-file-content-type/#post-18934081)
 * Hello, I do have this one this morning :
 * `Refused to execute script from 'https://patrimoine.sncf.com/wp-content/cache/
   wpfc-minified/2dbmf380/i1pcd.js' because its MIME type ('text/js') is not executable,
   and strict MIME type checking is enabled.`
 * The file content seems fine though

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