Expire header on Wordpress php files
|
01-26-2012, 04:46 PM
Post: #1
|
|||
|
|||
Expire header on Wordpress php files
I started looking into cache control headers and one of the thing that stood out is the fact that index.php on the root web folder is not cacheable due to the lack of cache control headers.
When I opened up index.php, all I got is this: Quote:<?php Seems like that file isn't going to change for a very long time, so it's probably safe to put a long expire time for it. However, now that I think about it, doesn't all the php files on Wordpress is practically remains the same (only the database content changes from time to time)? Anyway I'd like to hear your opinion on the best way to add a cache header on the index.php and perhaps the other php files as well. Here is the content of the current .htaccess file on cache control: Quote:<IfModule mod_expires.c> Thanks |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Expire header on Wordpress php files - headfonia - 01-26-2012 04:46 PM
RE: Expire header on Wordpress php files - Pothi - 01-26-2012, 10:03 PM
RE: Expire header on Wordpress php files - pmeenan - 01-26-2012, 11:24 PM
RE: Expire header on Wordpress php files - headfonia - 01-27-2012, 12:49 PM
RE: Expire header on Wordpress php files - pmeenan - 01-27-2012, 11:08 PM
|
User(s) browsing this thread: 1 Guest(s)