Recent Forum Posts
-
Call for stripShow sites for gallery!
posted in forum Announcements by Esn on June 25, 2010 at 9:02 pm
-
Some things I'd like to do - lightboxes, 784px width, CC license
posted in forum Support Requests by Esn on June 15, 2010 at 2:24 pm
-
Archive Image Problem (resolved)
posted in forum Support Requests by Esn on June 9, 2010 at 1:23 pm
-
Can only view one Comic
posted in forum Support Requests by silvestri99 on May 27, 2010 at 10:34 pm
-
Latest comic shows, but not the rest.
posted in forum Support Requests by AlphaNeonic on May 21, 2010 at 5:13 pm
-
Call for stripShow sites for gallery!
Slow performance under PHP 5
OK, so I’ve been neglecting PHP 5 for a while, and only recently updated a few of my sites to run on it. When I did, I found a problem you might run into with stripShow.
If you have a lot of strips and storylines, you may see a serious performance hit under PHP 5 — this is the result of a quirk in the strtotime() function. It is looking up the default timezone for your site, and that takes a moment — it’s doing that several times for each strip, multiplied by each storyline. The delay on my own site added up to about 14 seconds!
There is a solution. It only lags if the default timezone is not set on your PHP site. This is a known issue with PHP 5, and can be read about here.
For the next version of stripShow (which will be 1.6.1, a bug fix release) I’m removing the references to strtotime() from storyline initialization, as I’ve discovered they’re not necessary anyway.