• Resolved ark2077

    (@ark2077)


    I’m having a strange issue where my Zoomify images will load very slowly, or not at all. However, if I am logged in as the WordPress admin and load a page with a Zoomify image it will load immediately. This issue is affecting some historic maps that I have placed online.

    Can anyone guess what might cause this behavior? Zoomify had been working for years without any problems.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author SdeWijs

    (@sdewijs)

    Hi,

    If I inspect the network tab in the browser, I see that all requests that should fetch only a part of the .zif file are not handled correctly by the webserver. Normaly you should see requests to a .zif file with status 206, meaning that the browser understands it get’s delivered partial content instead of a final HTTP request.

    But now there are only requests with status 200, which leads to very big and long requests.

    There is something you could check here.

    Please heck if the .htaccess that is used by your WP installation contains this entry:

    
    SetOutputFilter DEFLATE
    SetEnvIfNoCase Request_URI \.zif$ no-gzip dont-vary
    

    ** Edit **
    I do see the HTTP status 206 now in your requests tab. So perhaps this has to do with the responses having the gzip header. This is also resolved by the .htaccess entry above.

    If you use NGINX or some webserver other than Apache, please consult with your webhost to configure the server in a similar manner.

    Regards,
    Sander

    • This reply was modified 4 years, 7 months ago by SdeWijs.
    • This reply was modified 4 years, 7 months ago by SdeWijs.
    Thread Starter ark2077

    (@ark2077)

    I created an htaccess file and added the following code but it didn’t seem to change anything. Is my code faulty somehow?

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    SetOutputFilter DEFLATE
    SetEnvIfNoCase Request_URI \.zif$ no-gzip dont-vary
    </IfModule>
    # END WordPress
    Plugin Author SdeWijs

    (@sdewijs)

    Do you know on what kind of webserver your website is hosted on? If, for example you have a NGINX server, adding a .htaccess file will not do anything at all. Looking at your website, all the Zoomify images seem to have the same issue. So my guess is that the issue is related to the configuration of your webserver.

    The .htaccess snippet basicallly says ‘disable gzip compression for .zif files’. So the webserver should be configured to do the same.

    Regards,
    Sander

    • This reply was modified 4 years, 7 months ago by SdeWijs.
    • This reply was modified 4 years, 7 months ago by SdeWijs.
    Plugin Author SdeWijs

    (@sdewijs)

    I checked the webserver type of your website and it’s not Apache. Do you use Godaddy’s WordPress hosting by any chance?

    I did have an zif file loading issue with another website on Godaddy WordPress hosting once before. I contacted Godaddy to resolve the issue (to disable gzip compression and CDN for .zif files) but without success. I ended up moving the website to another webserver that uses Apache.

    Wish I had better news for you.

    Thread Starter ark2077

    (@ark2077)

    I do use Godaddy. I’m on with their support right now. So far they aren’t sure why it’s behaving this way. They’re moving me up to a higher level of support person. If I get a fix I’ll make sure to post it here.

    Thread Starter ark2077

    (@ark2077)

    After talking with Godaddy support they didn’t have a solution. They did guess that the WordPress update to version 5.8 might have caused the problem. Apparently that update came out last week, which is when we noticed the issue.

    Is anyone else using WordPress 5.8 and running into problems?

    Plugin Author SdeWijs

    (@sdewijs)

    This is a very lame excuse by Godaddy support, not unexpected though, see my previous comment above. The cause of the problem is that Godaddy is unable to disable gzip compression for .zif files. Since their hosting is a one-size-fits-all, they cannot add this specific configuration on their webserver.

    But to prove my point, this is a client website, running WordPress 5.8, with Zoomify working perfectly fine https://homebuildingtimeline.com/articles/

    Thread Starter ark2077

    (@ark2077)

    I was afraid that might be the case. Thanks for explaining the issue to me. If I ever figure out a solution I’ll share it here.

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

The topic ‘Zoomify loading issue’ is closed to new replies.