• Hi! I just installed WP Super Cache to make my website run a bit faster (it’s pretty slow now), however, after it was installed and working for a couple of minutes my website and the icons of the custom menu on the bottom left aren’t showing anymore. You can check out my website at http://www.urban2day.com.

    I correctly changed everything back to the way it was before installing the plugin and I deleted it entirely. I hope the problem is quick and easy to solve, please help me out! Thanks a lot.

    EDIT: No images are visible in WordPress. I just see the broken image icon everywhere, except for the original images like the icons on the top left menu.

Viewing 7 replies - 1 through 7 (of 7 total)
  • As this plugin serves cached files, it is required to refresh your browser after installing it. Did you clear your local browser cache? This is for each page BTW.

    It is also required that your server env. supports one of the caching methods. Check with your host. I do not have such an issue on many sites.

    Also:

    1MiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering

    That’s 1MB!

    That will make any site slow(er).
    https://developers.google.com/speed/pagespeed/insights

    There are also a lot of markup errors (they seem to be all related to the social items, Facebook, etc. – prob one plugin or your theme?

    http://validator.w3.org/

    Thread Starter Marcozzz

    (@marcozzz)

    Thanks a lot man! I think that fixed it, the website should be visible to you by now as well, because apparently my fooling around this afternoon got me a password protection on it.

    But about those loading times, I’m really interested in getting that fixed as well, because going to my website like this isn’t very inviting. I kind of figured everything out along the way of building it, but of course, I don’t know anything about building a proper website.

    Would you have any ideas or suggestions how to get that 1MB down? I think it might be my theme, because it has always been pretty slow. It’s from ‘Elegant Themes’, though, and they seemed to have a lot of people using their themes with fast loading times.

    You can test this by switching to the default unedited theme, deactivate all plugins (but not WP Super Cache), test site speed…(remember to clear cache each time)

    Then switch to your theme and review what is being added, then the plugins ones by one – troubleshoot the issue this way. What loads what and how does this affect site performance?

    It will also help to turn on expires headers by adding this to your .htacess file:

    <IfModule mod_expires.c>
        ExpiresActive on
        ExpiresByType text/css "access plus 60 days"
        ExpiresByType text/javascript "access plus 60 days"
        ExpiresByType image/ico "access plus 60 days"
        ExpiresByType image/jpg "access plus 60 days"
        ExpiresByType image/jpeg "access plus 60 days"
        ExpiresByType image/gif "access plus 60 days"
        ExpiresByType image/png "access plus 60 days"
        ExpiresByType text/css "access plus 60 days"
        ExpiresByType text/html "access plus 60 days"
    </IfModule>

    This makes the browser not have to get these heavy resources except on first page load or server cache refresh.

    You can change the # of days – also, change the garbage collection time in WP Super Cache to 14 days. Note the cache is cleared on new posts or pages and comments also (but not when adding or changing a plugin a site file etc.) Read up on this plugin it does work well.

    Another avenue is a CDN. Combined with above WP can be fast and even on cheap hosting!

    Thread Starter Marcozzz

    (@marcozzz)

    That’s great, thanks again! I installed WP Super Cache again and set most settings to the recommended ones, except for setting the caching to mod_rewrite (adding the affiliated code to the .htaccess file got me big error message) and the CDN support (the warning got me scared something might happen again :P).

    I just left the cache at 60 days, since I assume that’s normal. Are you sure about the 14 days cache timeout for garbage collection though? I both set the timer and cache timeout to 1209600 seconds now.

    I will test all the other plugins and the theme for loading speed later, when I have a bit more time, but this has been a great help!

    Thread Starter Marcozzz

    (@marcozzz)

    By the way, I found a plugin that tells you in detail what is making your website slow. It’s ‘P3 (Plugin Performance Profiler)’. Works great! The multilingual plugin I use was the problem all along, going to uninstall it.

    Are you sure about the 14 days cache timeout for garbage collection though? I both set the timer and cache timeout to 1209600 seconds now.

    This pushed all my hosted WP blogs from a hi B (86)to a low A (90-93) and made return visit page load less than a second.

    The return visits are fast. Read up on Garbage Collection with WP Super Cache – it’s in their documentation – review what it does in general online along with long expires headers. Again, just make sure to clear the cache when site is being modified – this is not adding posts, pages, or comments (as long as these settings are not messed with).

    Oddly, today you have 1.2Mb of js files loading!

    Thread Starter Marcozzz

    (@marcozzz)

    I have been trying to make my website faster based on the things you said (thanks again for that, by the way), but I think that I lack the skills to improve it. I even had to uninstall WP Super Cache, because my newly uploaded images wouldn’t show, even after emptying the cache like you said. Therefore, I hope that someone here would be willing to take a look and help me out. I would greatly appreciate it!

    Since I’m currently abroad, I am using my website for my family and friends to follow me, but I don’t want them to have to constantly return to a slow website. I’ve really been trying, but I can’t change it, so I sincerely hope someone else here can.

    Hope to hear from you soon!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Website broken after installing WP Super Cache’ is closed to new replies.