Activated system cache results in naked CSS

Discussion regarding Joomla! 2.5 Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
bmoore622
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Mar 20, 2008 12:37 pm

Activated system cache results in naked CSS

Post by bmoore622 » Mon Jul 14, 2014 12:09 am

I'm working with https://abpnews.com/ and have a two-layer problem. First, index.php is causing CPU usage to climb very high. I'm on a WiredTree VPS with 8 cores/3GB. Server load bounces between 5.5 and 9.5. Joomla debug reports over 500 queries being run on home page load. I've disabled any unnecessary plugins/components to lighten the load, but still no luck.

To alleviate some of the load on the server, I've turned on global caching and the system cache plugin. When I do this, however, after 20 minutes or so, the site loads as if there is no CSS to style the page. I get the same result with JotCache.

Has anyone experienced similar issues, particularly with the caching problem described above?

EDIT: Here is another clue... when system cache and debug are both turned on, the site works as expected. With system cache on and debug off, I get naked CSS.

User avatar
NathanHawks
Joomla! Ace
Joomla! Ace
Posts: 1900
Joined: Wed Oct 02, 2013 6:17 pm
Location: Washington state, U.S.
Contact:

Re: Activated system cache results in naked CSS

Post by NathanHawks » Tue Jul 15, 2014 7:44 pm

This is a new one for me.

Your web server error log and/or browser console may give some clues, e.g. what error code is being returned when it requests the CSS, etc.

Here's how to open your browser's console:
http://webmasters.stackexchange.com/que ... t-browsers

Not enough information to guess about the CPU load issue, but if you post the results of the Forum Post Assistant, that may help. You should also look at the Warnings and Database tabs under Extension Manager. Also make sure the live_site option is blank (empty quotes) in configuration.php.

Hopefully it's something simple like a redirection loop due to a tiny typo in .htaccess or something.
Save time - hire me for your Joomla to-do list! http://nathanhawks.us/joomla


Locked

Return to “Performance - Joomla! 2.5”