• Resolved mkunzelman

    (@mkunzelman)


    Trying to use minify for css / js. Site creates links to css / js files that don’t exist. Debug notices report nothing. Page cache works. Footer message in place.

    Setup on a docker works as expected locally, with same pages / css / js and data. I’m getting no errors that I can see, just no files. Compatibility check seems OK in dashboard.

    This is the css link that it generated…
    <link rel=”stylesheet” href=”https://cdn.metalworkingexpo.com/wp-content/cache/minify/379f6.css&#8221; media=”all”>

    The file doesn’t exist locally to even be picked up by the CDN. (nothing in wp-content/cache/minify except a blank index.html file)
    <!–
    Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

    Page Caching using redis (User is logged in)
    Content Delivery Network via cdn.metalworkingexpo.com
    Minified using disk

    Served from: https://www.metalworkingexpo.com @ 2021-02-03 09:18:35 by W3 Total Cache
    –>

    Any help you can offer at this point would be much appreciated.

    Server Modules & Resources:
    Plugin Version: 2.1.0
    PHP Version: 7.4.3;
    Web Server: nginx
    FTP functions: Installed (required for Self-hosted (FTP) CDN support)
    Multibyte String support: Installed (required for Rackspace Cloud Files support)
    cURL extension: Installed (required for Amazon S3, Amazon CloudFront, Rackspace CloudFiles support)
    zlib extension: Installed (required for gzip compression support)
    brotli extension: Not installed (required for brotli compression support)
    Opcode cache: Installed (OPCache)
    Memcached extension: Not installed
    Memcache extension: Not installed
    Redis extension: Installed
    HTML Tidy extension: Not installed (required for HTML Tidy minifier support)
    Mime type detection: Installed (Fileinfo) (required for CDN support)
    Hash function: Installed (hash) (required for NetDNA / MaxCDN CDN purge support)
    Open basedir: Off
    zlib output compression: Off
    set_time_limit: Available
    SSH2 extension: Not installed (required for Self-hosted (FTP) CDN SFTP support)
    WordPress Resources
    /var/www/com_metalworkingexpo/nginx.conf: OK
    /var/www/com_metalworkingexpo/wp-content: OK
    /var/www/com_metalworkingexpo/wp-content/uploads: OK
    Fancy permalinks: /%postname%/
    WP_CACHE define: Defined (true)
    URL rewrite: Enabled
    Network mode: No

    • This topic was modified 3 years, 10 months ago by mkunzelman.
    • This topic was modified 3 years, 10 months ago by mkunzelman.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mkunzelman

    Thank you for your inquiry and I am happy to assist you with this.
    As I can see the Minify is not enabled currently in W3 Total Cache. I am not quite sure what the issue was but most likely you have to purge the CDN cache after you made changes in the configuration.
    When convenient, please re-enable minify, see all settings and purge the cache and then we can take a look and inspect your website.
    Thanks!

    Thread Starter mkunzelman

    (@mkunzelman)

    If I re-enable minify, the css is broken. ( as in, it’s adding a link to a minified css file that isn’t there, so unfortunately, I cant leave it enabled while you look at it, it’s the production site. It works fine on our dev with the same css / js )

    The HASH.css file referenced in the style/javascript links aren’t being written to the disk at all. I get no errors or debug message as to why.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mkunzelman

    Thank you for the information.
    I understand this but we cannot troubleshoot if we don’t see the problem.
    Can you please share the Performance>Minify settings (a screenshot would be great) and check the nginx cond if it contains necessary rules provided in Perfomrance>Install.
    Thanks!

    Thread Starter mkunzelman

    (@mkunzelman)

    I didn’t realize it was the same. We can continue here.

    minify settings

    We haevn’t gotten as far as the nginx settings, as we don’t have any files for the server to serve. There are NO FILES written to the minify directory.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mkunzelman

    Thank you for the information.
    Well, it seems that something is happening since the files are being served from the CDN.
    As I can see you are using default Minify settings and caching to disk. I can only suggest you manually add the nginx rules provided in Performance>Install to your nginx.conf and other suggested files.
    Also, try to disable the CDN and check the wp-content/cache/minify/ folder if the files are being created.
    Thanks!

    Thread Starter mkunzelman

    (@mkunzelman)

    I turn off the cdn and no files are created in the wp-content/cache/minify/ folder.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mkunzelman

    I’ve tested this and every time the files are being created in the minify folder.
    At this point, I can only offer you our Premium support to troubleshoot the issue as this is related to your environment.
    You can contact us via the plugin in Performance>Support.
    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘minify files not created but linked’ is closed to new replies.