WordPress is one of the most popular CMS(Content Management System) we have today available on World Wide Web.WordPress stores all the information into database.So we can say , Database plays the most important role in any CMS including WordPress.All the data is stored in database and WordPress provides the mechanism by which the data is fetched from database and displayed to user as html.
The most common Database we used today for this purpose is MYSQL.So you can understand that every time fetching data from Database and then displaying to user may take sometime , comparatively more than displaying a static page.So for this purpose, there are several plugins available in WordPress Directory which can actually generate static html files from dynamic WordPress Pages.Once the static html files are generated, WordPress will display these static html files rather than dynamically generating pages.WP Super Cache is one such plugin available and used by most of the WordPress bloggers including me.And I must say there was significant improvement in the page load time.

Issue in WP-Super Cache

Issue in WP-Super Cache

However there are few disadvantages also of using such plugins.Recently I wanted to add few JavaScript to my pages in my blog and I faced a very strange issue.When I am adding those JavaScript the changes were reflected to me in my web browser however when I checked it on other PC , I cannot see my changes.Even I tried checking other web browser in my PC and the changes were not visible.Clearing browsing data also cleared the changes which were visible in the browser which I used for adding JavaScript.I read in some forums that WordPress doesn’t allow JavaScript etc etc which was definitely not true.I knew it because I have added JavaScript in the past to my blogs.Without any clue what to do I tested few plugins which lets you add Javascript to your blogs but the problem still persist.Then while uninstalling those plugins I realized Super Cache Static pages might be the reason behind it.And to my surprise indeed it was.I guess every time it was the static page which was displayed to the user so the changes I was doing were not reflected.
Has anyone else faced this issue before ? Is what I have mentioned is correct ? At least after deactivating WP Super Cache I can see my changes.What’s your experience with such plugins? Share your opinions.

Popularity: 2%

6 Responses to Disadvantage of WordPress Super Cache

  1. RAJ says:

    Hi Rahul
    Thanks for the updated comment.That adds clarity to the approach suggested by you earlier.
    Will try this and let you know about the result.

  2. Rahul Jain says:

    Ha Ha Ha
    Smart web application they have parsed the content

    I wrote often we use:-
    src=”js/sample.js”

    instead use :-
    src=”js/sample.js?ver=1″
    src=”js/sample.js?ver=2″

  3. RAJ says:

    Hi Rahul
    Thanks for suggesting alternate approach.However can you explain this version concept little more ? In your comment I guess some text went missing.As you have mentioned ,it is actually WordPress Super Cache plug in that generate static html pages for WordPress Posts.

  4. Rahul Jain says:

    M not a frequent user of wordpress so have no idea about the Super Cache plugin.
    But as far as my understanding wordpress would be regenerating the static html(s) whenever u r republishing the article so html would have been generated.

    Since JS and CSS are included externally (most of the cases) browser cache these files for faster page loads. Not even the browser your web server and even the proxy server used to access internet cache these files to reduce the turn around time for these request. So at times you may not be able to see the changes done in JS and CSS file even if u clear everything in browser data.

    So as suggested for JS and CSS files u can use versioning.
    Ex. Wherever we have included JS

    instead use

    So everytime ur page loads and needs to include a javascript a new request will be send to web server to serve the file

    If u can try the same approach even with ur Super Cache Pluging Enabled and do provide the feedback for both +ve and -ve results

  5. Abhishek says:

    My experience is more horrible. I tried it twice. The curve in Google Webmaster tool simply goes to the base. That means Google thinks there were no searches done/people clicked in Google search. Analytics dips too, but not much. I use TraceMyIp to track visitors. That shows everything fine. I have not found a single person complaining about this thing!

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Set your Twitter account name in your settings to use the TwitterBar Section.

Switch to our mobile site