<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Page caching mod for sNews 1.7</title>
<link>http://www.mdj.us/</link>
<description>A page caching mod for sNews CMS 1.7. Easy to install, and reduces unnecessary database queries.</description>
<language>en</language>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/page-caching-mod-for-snews-17/#comment-1580</link>
<pubDate>Thu, 12 Jan 2012 13:14:40 +0000</pubDate>
<content:encoded><![CDATA[LOL, no worries. <br />
<br />
I just threw my sitemap add-on up anyways, I should've released it ages ago, it's so simple.]]></content:encoded>
</item>
<item>
<title>BS0D</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/page-caching-mod-for-snews-17/#comment-1579</link>
<pubDate>Thu, 12 Jan 2012 12:33:47 +0000</pubDate>
<content:encoded><![CDATA[Hi Matt,<br />
<br />
I already have a xml sitemap. I've been a webmaster for years so I know all these tricks and I use google analytics &amp; webmasters ;)<br />
I'm just a bit dumb when it comes to PHP so I thought maybe it was something I modified in the code that messed up the indexing ^^<br />
<br />
Again, thanks for all your work, and most of all for sharing it. There are very few resources for snews out there and you seem to be the only one who loves it as much as I do for its simplicity and functionality!]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/page-caching-mod-for-snews-17/#comment-1578</link>
<pubDate>Thu, 12 Jan 2012 10:09:54 +0000</pubDate>
<content:encoded><![CDATA[Google should crawl and index the articles eventually, as they're all linked from the category pages.<br />
<br />
What you really need is an XML sitemap, and then add that sitemap to your site in Google Webmaster Tools.<br />
<br />
I had hacked together a sitemap generator for sNews, I'll add that to my list of sNews things to publish. Check back here in a few days, I'll see if I can clean that up and make it public.]]></content:encoded>
</item>
<item>
<title>BS0D</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/page-caching-mod-for-snews-17/#comment-1575</link>
<pubDate>Thu, 12 Jan 2012 02:11:10 +0000</pubDate>
<content:encoded><![CDATA[Hey Matt,<br />
<br />
Well I know a bunch of google search methods, like &quot;site:mydomain.com&quot; which shows you all the indexed pages for your domain, and only the categories show up there.<br />
I also tried &quot;site: mydomain filetype:pdf intitle:mypdftitle&quot; and other things like that and nothing shows up but the categories, none of the document that i link to in my articles show up.<br />
<br />
For some reason I have to manually submit every single article cause google doesn't seem to see them. I do have a meta &quot;index, follow&quot; though.<br />
it's sort of confusing.]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/page-caching-mod-for-snews-17/#comment-1569</link>
<pubDate>Mon, 09 Jan 2012 21:21:58 +0000</pubDate>
<content:encoded><![CDATA[Hi BS0D,<br />
<br />
No, caching wouldn't have any affect on SEO, it's just serving a saved copy of the HTML.<br />
<br />
What makes you think Google isn't indexing the articles? Are you using Google's Webmaster Tools?<br />
<br />
Does it match using <a href="https://www.google.com/advanced_search" rel="nofollow">https://www.google.com/advanced_search</a> when searching just your domain without any keywords?]]></content:encoded>
</item>
<item>
<title>BS0D</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/page-caching-mod-for-snews-17/#comment-1568</link>
<pubDate>Mon, 09 Jan 2012 21:01:39 +0000</pubDate>
<content:encoded><![CDATA[Hey again! I just have a quick question about the page caching mod...<br />
Does it affect google ranking or SEO in any way? <br />
It seems like google has indexed the categories on my website, but not the articles themselves :(]]></content:encoded>
</item>
<item>
<title>BS0D</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/page-caching-mod-for-snews-17/#comment-1567</link>
<pubDate>Sat, 07 Jan 2012 08:10:18 +0000</pubDate>
<content:encoded><![CDATA[Ah gracias, you are awesome! Yeah, the cache folder is full of little files now.<br />
<br />
Thanks again for the help, and for your awesome work... now I've got a fully optimized and customized CMS :)]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/page-caching-mod-for-snews-17/#comment-1566</link>
<pubDate>Fri, 06 Jan 2012 21:18:29 +0000</pubDate>
<content:encoded><![CDATA[Hi BS0D,<br />
<br />
[q]im not sure i used the right cache folder path... do i need to create the cache folder on my server?[/q]<br />
<br />
Yes, you need to create a directory on your server and point the script to it, i.e. create the cache directory in the same as snews.php, it'll look something like this;<br />
<br />
[code]<br />
/home/BS0D/public_html/snews.php<br />
/home/BS0D/public_html/cache<br />
[/code]<br />
<br />
then set it up in the script;<br />
<br />
[php]$cache_dir = '/home/BSoD/public_html/cache';<br />
[/php]<br />
<br />
[q]how can i verify that my pages are effectively cached, or that there is no sql request?[/q]<br />
<br />
Once you've set up caching properly, you should see the cache folder start filling up with files as people view new pages, and it should empty whenever you edit a page, post a comment, etc.<br />
<br />
To verify SQL queries you can monitor your server, but if you don't have the ability, I will see if I can write up a quick and easy way to display the query count directly from the script and post it back here later.]]></content:encoded>
</item>
<item>
<title>BS0D</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/page-caching-mod-for-snews-17/#comment-1565</link>
<pubDate>Fri, 06 Jan 2012 20:36:33 +0000</pubDate>
<content:encoded><![CDATA[thanks for this awesome mod! <br />
<br />
i do have one question though: how can i verify that my pages are effectively cached, or that there is no sql request?<br />
<br />
im not sure i used the right cache folder path... do i need to create the cache folder on my server?]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/page-caching-mod-for-snews-17/#comment-1313</link>
<pubDate>Wed, 26 Jan 2011 18:36:13 +0000</pubDate>
<content:encoded><![CDATA[A tad harsh on the developers of 1.7 Serpin, but that could be translation. Anyways, yeah, there's a dozen ways to do this better, this was my first attempt a simple, quick way to implement basic caching. <br />
<br />
Honestly, if I was building a system, it would generate unique blocks of content for every dynamic component of the system, i.e. latest comments, articles, etc, then update them as needed and build the page from the components.<br />
<br />
And snews.php is always required, how else would you know if they are logged in? Also, the objective here wasn't to rid the server of all load, more so it is designed to reduce the load on the database.]]></content:encoded>
</item>
</channel>
</rss>

