EEVblog Electronics Community Forum

EEVblog => EEVblog Specific => Topic started by: choprboy on June 20, 2012, 07:02:58 am

Title: Website updating issues
Post by: choprboy on June 20, 2012, 07:02:58 am
Sorry if this has already been posted somewhere... but I couldn't find it in searching.

There seems to be a problem with the main website's updating/caching to show the latest episodes posted. When I go to the main page, the last episode posted I see is #282 - DIY Video Soldering Microscope. A couple weeks had gone by, I figured Dave had just gone on vacation.... Then, a couple days I came back, skipped around the site a bit and suddenly there were 10 new episodes and uCurrents were back in stock. I figured I just had a bad cache result stuck in my browser the entire time and it was my fault.... but I come back today and it shows #282 only again.

I think I have finally found the problem. The root domain website (eevblog.com) has stopped updating the internal cache, though the www site (www.eevblog.com (http://www.eevblog.com)) is still working correctly. Pulling a clean copy from http://www.eevblog.com (http://www.eevblog.com) you currently see #295 - $30 eBook Reader Teardown with a code comment of:
Code: [Select]
<!-- Dynamic page generated in 0.268 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-06-20 15:05:57 -->
<!-- super cache -->

However, if you pull from http://eevblog.com (http://eevblog.com) you see #282 with a code comment of:
Code: [Select]
<!-- Dynamic page generated in 0.536 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-29 22:38:03 -->
<!-- super cache -->

So the internal server caching on the root domain is bork'n.... So many hours of video to catch up on.


Adrian
Title: Re: Website updating issues
Post by: T4P on June 20, 2012, 07:07:05 am
I have used Super Cache for my blog before and it never ever worked the way i wanted it to work   >:(
Title: Re: Website updating issues
Post by: EEVblog on June 20, 2012, 07:13:49 am
This has only happened recently.
I have never had a problem with SuperCache before, I've been using it from day one.
Maybe something to do with the new Wordpress version I installed a week or so ago I think.
I might try disabling the cache, as I guess my dedicated server should be able to handle the requests?

Dave.
Title: Re: Website updating issues
Post by: choprboy on June 20, 2012, 08:12:44 am
I suppose, if you have a dedicated server, it should be OK... but I have never run Wordpress so... Back when I did run a public server (previous employer) I was regularly generating DB dynamic webpages (with 2-6 SQL queries and parsing a dozen to 100 results in PHP) in well under 0.1sec, I think nomally about 0.04sec with no caching as I vaguely recall. Your pages were showing 0.25-0.5sec each (according to the cache note), but my result was from all hand written/tuned PHP/SQL vs Wordpress, so take it with a grain of salt.

Testing now, I am no longer seeing the cache notes in the code and both are showing #295 as the latest episode. Wget is showing 0.1-0.2sec retrieval time (min resolution is 0.1) with 56kB of data... so it would seem to be fast enough I suppose. I guess it will really depend on your simultaneous user load.


Adrian
Title: Re: Website updating issues
Post by: EEVblog on June 20, 2012, 10:39:32 am
Testing now, I am no longer seeing the cache notes in the code and both are showing #295 as the latest episode. Wget is showing 0.1-0.2sec retrieval time (min resolution is 0.1) with 56kB of data... so it would seem to be fast enough I suppose. I guess it will really depend on your simultaneous user load.

Load is very consistent, with just a small peak for each new episode.
The Wordpress traffic would be down in the noise compared to the forum.

Dave.