Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

Caching


  #1  
Old Oct 15, 2010, 09:27 AM
razmaspaz
 
3 posts · Oct 2010
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?
  #2  
Old Oct 16, 2010, 05:16 AM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Where are you seeing the "no-cache, must-revalidate, max-age=0"?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 19, 2010, 03:11 PM
razmaspaz
 
3 posts · Oct 2010
See the attachment for where I see this using firebug
Attached Thumbnails
Click image for larger version

Name:	Screen shot 2010-10-19 at 4.07.18 PM.png
Views:	402
Size:	65.2 KB
ID:	831  
  #4  
Old Oct 20, 2010, 12:30 PM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Oct 27, 2010, 10:35 AM
everyman
 
79 posts · Nov 2009
Philadelphia
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...
__________________
Marc Beneteau - Get your free eBook and video
"WordPress Quick Start: Your first site in 2 hours"
http://wpacademy.tv
  #6  
Old Oct 27, 2010, 10:51 AM
everyman
 
79 posts · Nov 2009
Philadelphia
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
__________________
Marc Beneteau - Get your free eBook and video
"WordPress Quick Start: Your first site in 2 hours"
http://wpacademy.tv
  #7  
Old Oct 27, 2010, 11:30 AM
everyman
 
79 posts · Nov 2009
Philadelphia
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)
__________________
Marc Beneteau - Get your free eBook and video
"WordPress Quick Start: Your first site in 2 hours"
http://wpacademy.tv
  #8  
Old Oct 28, 2010, 02:07 AM
everyman
 
79 posts · Nov 2009
Philadelphia
Thanks STB, that is my fear... do other Atahualpa sites load faster than mine? 3-5 seconds is too long in my book.
__________________
Marc Beneteau - Get your free eBook and video
"WordPress Quick Start: Your first site in 2 hours"
http://wpacademy.tv
  #9  
Old Oct 28, 2010, 02:11 AM
everyman
 
79 posts · Nov 2009
Philadelphia
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.
__________________
Marc Beneteau - Get your free eBook and video
"WordPress Quick Start: Your first site in 2 hours"
http://wpacademy.tv
  #10  
Old Oct 28, 2010, 04:49 AM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old Oct 28, 2010, 05:29 AM
everyman
 
79 posts · Nov 2009
Philadelphia
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
__________________
Marc Beneteau - Get your free eBook and video
"WordPress Quick Start: Your first site in 2 hours"
http://wpacademy.tv

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Caching WordPress with WP-Cache 2, WP Super Cache & PHP Speedy Flynn Installing & running WordPress 9 Dec 3, 2009 04:15 PM
Caching: plugin vs. browser paulae Plugins & Atahualpa 2 Nov 8, 2009 10:51 AM


All times are GMT -6. The time now is 04:48 AM.


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