Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   Caching (http://forum.bytesforall.com/showthread.php?t=10363)

razmaspaz Oct 15, 2010 09:27 AM

Caching
 
I have just implemented caching on my site using wp-cache. Overall the performance is much improved. The two pages that give me trouble are bfa_ata_file=css and bfa_ata_file=js. I removed those files from the wp-cache list so that they are not cached (I got strange css behavior otherwise). Since I can't cache the results, I want to cache them in the browser. What I have noticed is that these files are returned to the browser with a no-cache in the header. I want to change this so that they return a cache-able page. I know the point of externalizing the css was to allow the browser to cache them, but when the header says "no-cache, must-revalidate, max-age=0", it won't get cached. What php file is setting the header for requests to bfa_ata_file?

juggledad Oct 16, 2010 05:16 AM

Where are you seeing the "no-cache, must-revalidate, max-age=0"?

razmaspaz Oct 19, 2010 03:11 PM

1 Attachment(s)
See the attachment for where I see this using firebug

juggledad Oct 20, 2010 12:30 PM

nothing to do with the theme, it is a server setting - see http://www.mnot.net/cache_docs/ for some info - you may be able to change this in your .htaccess file.

everyman Oct 27, 2010 10:35 AM

I am also finding very slow loading of Atahualpa - 3-4 seconds, see http://wordpressacademy.biz, some other themes I have seen load in a second even with lots of data (although I would have to install on my site and test and I can't do that right now.

Unlike the user above, I installed w3 cache and it made no difference, despite verifying that it works and that some things are accomplished (like minifying the html, css and javascript. So it's not a host-side execution or CPU problem.

I run Firefox plugin Page Speed and it reports 6 javascripts, about 20 non-cached images ("expiration not specified"), and 3 css. This doesn't sound too bad, but why is it so slow?

Could the 20 non-cached images be the culprit, should I contact my host to see about that?

Is anyone here getting page load times of less than 3 seconds on their Atahualpa sites? If so please let me check...

everyman Oct 27, 2010 10:51 AM

Ok, correction, I installed wp super cache on http://wordpressacademy.biz and it seems a bit faster (maybe 2.5 seconds rather than 3) but still a lot slower than a static site. I could use some help on this one.

Btw I gather w3 cache is the better cache plugin but I really do NOT want caching of logged-in users as I have a membership system going there and I don't know enough about w3 cache to guarantee that is not happening

everyman Oct 27, 2010 11:30 AM

mm, a bit more info... I am getting 2 second load times for even the simplest of sites (but with medium-heavy CSS and 5-6 plugin-generated javascripts) ie. http://warrior-coach.com/drexel1/

My computer is 4-5 years is this a local problem?

Can anyone try and clock the load time of www.wordpressacademy.biz on refresh?

thanks so much.

PS: 3 seconds may not seem like long but I spend my life on this site and it's annoying trust me. If I need to get faster computer I will)

everyman Oct 28, 2010 02:07 AM

Thanks STB, that is my fear... do other Atahualpa sites load faster than mine? 3-5 seconds is too long in my book.

everyman Oct 28, 2010 02:11 AM

I tested with page-speed firefox pluign, it tells me a lot of javascript and css, and images with no expiration. Javascript and css I don't control and Atahualpa pretty heavy on both... or am I wrong.

juggledad Oct 28, 2010 04:49 AM

remember there are lots of variables on how fast your site loads for someone
- how fast is the server it lives on
- how many other sites live there
- how many are active at the time you go visit it
- how much memory are you allocated
- how many requests to other sites do you do..what's their load
- how many hops thru the internet are you to the site - what's the load on those intermediary sites
- how many posts, graphics, AD's do you display
- How big are the graphics?

for what it's worth, I Firebug reports 10.33s (onload 6.69s)

everyman Oct 28, 2010 05:29 AM

I solved the problem via W3 Cache and Content Delivery Network (CDN), and created a new thread as this is an important topic:

http://forum.bytesforall.com/showthr...7757#post47757


All times are GMT -6. The time now is 11:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.