Difference between revisions of "Template talk:Extension DPL cache"

From Pathfinder Wiki
(Created page with "What is the purpose of this template? And I noticed you removed it because you thought it was slowing things down. However, I have noticed this lag for a few days now. I'm not...")
 
 
Line 1: Line 1:
 
What is the purpose of this template? And I noticed you removed it because you thought it was slowing things down. However, I have noticed this lag for a few days now. I'm not sure what could be causing it. --[[User:W126jep|w126jep]] ([[User talk:W126jep|talk]]) 03:01, 4 November 2017 (UTC)
 
What is the purpose of this template? And I noticed you removed it because you thought it was slowing things down. However, I have noticed this lag for a few days now. I'm not sure what could be causing it. --[[User:W126jep|w126jep]] ([[User talk:W126jep|talk]]) 03:01, 4 November 2017 (UTC)
 +
 +
:I was experimenting with a new Honor_index template to try to cache things, and the DPL extension needed this template to make its caching feature work.  Only I didn't notice a speed-up, so I back it out (in fact, what I did notice were "database is unavailable" messages).  The slowness of the site has attracted some attention from the NAD now, and we're looking at ways to address it.  Turns out we have a two-edged sword in the form of robots.txt.  When we invite the search engines to index the site, they bog it down horribly and make it unusable (pegging the CPU at 100% for long periods of time).  If we boot the robots off, the site becomes more responsive, but then no one can find our content since it is no longer indexed.  For now, we've booted the spiders off. 
 +
:My gut tells me that we have two things that slow the site down, neither of which are things I want to give up: The translation extension, and the DPL extension (which is how we generate our indices).  I've been toying with the idea of writing my own extension to do what we're doing with DPL, but that is a huge undertaking, so it will likely remain firmly in the world of fantasy for now.  We might end up moving to a more powerful web hosting provider, but that remains to be seen. --[[User:Jomegat|Jomegat]] ([[User talk:Jomegat|talk]]) 00:53, 7 November 2017 (UTC)

Latest revision as of 00:54, 7 November 2017

What is the purpose of this template? And I noticed you removed it because you thought it was slowing things down. However, I have noticed this lag for a few days now. I'm not sure what could be causing it. --w126jep (talk) 03:01, 4 November 2017 (UTC)

I was experimenting with a new Honor_index template to try to cache things, and the DPL extension needed this template to make its caching feature work. Only I didn't notice a speed-up, so I back it out (in fact, what I did notice were "database is unavailable" messages). The slowness of the site has attracted some attention from the NAD now, and we're looking at ways to address it. Turns out we have a two-edged sword in the form of robots.txt. When we invite the search engines to index the site, they bog it down horribly and make it unusable (pegging the CPU at 100% for long periods of time). If we boot the robots off, the site becomes more responsive, but then no one can find our content since it is no longer indexed. For now, we've booted the spiders off.
My gut tells me that we have two things that slow the site down, neither of which are things I want to give up: The translation extension, and the DPL extension (which is how we generate our indices). I've been toying with the idea of writing my own extension to do what we're doing with DPL, but that is a huge undertaking, so it will likely remain firmly in the world of fantasy for now. We might end up moving to a more powerful web hosting provider, but that remains to be seen. --Jomegat (talk) 00:53, 7 November 2017 (UTC)