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)
-   -   ATA W3 Cache and maxcdn reloaded (http://forum.bytesforall.com/showthread.php?t=14825)

scrollpost Jul 6, 2011 01:06 AM

ATA W3 Cache and maxcdn reloaded
 
Hi
Site: http:scrollpost.com

I am trying to optimize my site and I am using http://tools.pingdom.com to test.

Why are files in ata's image folder (/atahualpaxxx/images/xxx.png) inaccessible directly - so they can be loaded on a CDN - and how do I change this? BTW this is not 100% consistent - inputbackgr-blue.gif for example is open. All files are 755.

>>One more point: The inaccessible images are the ones that have been turned off for display, but for some reason there is code somewhere trying to retrieve them anyway - BUT this is slowing down the page load times (according to pingdom).

Thanks
Jack

juggledad Jul 6, 2011 05:52 AM

try changing the permissions to '644'
I ran pingdom on a fresh install with no errors showing and that is what the permissions are set to for 'rss-gray.png' for example

scrollpost Jul 6, 2011 08:13 AM

Thanks. But nothing changed.

Maybe this is a bug? Whether it is 644 for 755 pr 775 shouldn't make a difference anyway.
I am using ATA 364. Perhaps there was a bug that was corrected in a later version?

The key issue as I see it is the "bad" image files are those that don't want themselves displayed.
For example, the wordpress comment system is off, replaced by intense debate.
Maybe pingdom is seeing these files as inaccessible?

juggledad Jul 6, 2011 08:31 AM

I suspect that pingdom is looking in the CSS and trying to retrieve any url that is in it, but not knowing their process, that is a guess.

as for the privileges, it could be tied to the privilege of the folder, the parent folder and .htaccess, restrictions set by the host or something else that I'm unaware of.

privileges and access to files have nothing to do with the theme, they are controlled by the server (Apache)

scrollpost Jul 6, 2011 09:51 AM

These days a simple WP installation doesn't generate an htaccess file, but a multi-site one does.
I am using multi-site.

I believe this could be the offending htaccess line:
RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]

All the privileges are set correctly.

I have written to the host company.

scrollpost Jul 6, 2011 11:35 AM

Answer from the host company:
Quote:

Thank you for contacting us. I have disabled the FilesMatch Apache configuration entry at /etc/httpd/cont/httpd.conf (under scrollpost.com VHOST).
What was it matching? Or not? It wasn't suffix related. Another .png was getting through.

Well well well! This itself shaves off a few seconds on the pingdom score.
And it's not about cacheing, optimizing, encoding or compressing!
Just a simple non-memory related configuration mistake!

juggledad Jul 6, 2011 12:34 PM

Actually, a single site will create an htaccess file the minute you set the permalinks to something other than the default.

As for what a apache setting was matching...beats me, I'm not a apache guru and it's not a theme issue...


All times are GMT -6. The time now is 10:33 PM.

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