Board index PBase Questions and Answers style sheets are the cause of the speed problem

Questions and Answers

style sheets are the cause of the speed problem

Ask if you need help using PBase.
twalker294
 
Posts: 54

style sheets are the cause of the speed problem

Post Thu Dec 02, 2004 11:04 pm


I know this has been mentioned in other threads but I thought it deserved its own so that everyone can see it. Turn off style sheets in any gallery and it will pop up instantly. Turn style sheets on and it takes around 15-20 seconds (from here anyway) for the gallery to display.

Surely the Pbase people have figured this out and are working on a fix. Sure would be nice to know instead of having to guess...

Todd

troutrover
 
Posts: 1


Post Thu Dec 02, 2004 11:21 pm


How do you turn style sheets off?

insurancepi
 
Posts: 8

you can only turn them off on your galleries, but that does

Post Thu Dec 02, 2004 11:29 pm


solve the problem, if everyone turned off their style sheets all the galleries would load fast, hopefully they will get the problem fixed soon. All you need to do is log in and go to your galleries and click on edit this gallery (you will have to edit every gallery) then scroll down to you see style sheets, click on the button and choose no style sheets and there you go. You can change the color of the background and text if you want, I think you can click on help and you can find out how to do that. Hope that helps.

wtraub
 
Posts: 60


Post Fri Dec 03, 2004 9:10 am


WOW – that does work. I tried this on a few of my galleries that have been soo slow for a week or so – now they load like they used to a month or so ago. This gallery style or unstyle looks very boring though. I hope this is not the final solution. :?

milindes
 
Posts: 72


Post Fri Dec 03, 2004 9:20 am


Wow! I removed the stylesheet in a couple of galleries and they loaded in a flash.
However the pages look ugly for sure. :)

leandre
 
Posts: 172


Post Fri Dec 03, 2004 9:26 am


milindes wrote:Wow! I removed the stylesheet in a couple of galleries and they loaded in a flash.
However the pages look ugly for sure. :)


Not so ugly if you work a bit your galleries :wink: <b><A HREF="http://www.pbase.com/leandre" target="blank">as you may see here...</A>

wangi
 
Posts: 333


Post Fri Dec 03, 2004 10:31 am


Have just posted this off to support@pbase.com:
Guys, can you confirm that the stylesheet server is a major cause of
the current slow-loading of PBase pages. Setting a Gallery to have no
stylesheet makes it load MUCH faster than a gallery with a stylesheet
selected. Compare:

http://www.pbase.com/wangi

to:

http://www.pbase.com/wangi/leith

Using wget to manually retrieve the CSS files it would seem
css2.pbase.com, which referenced in the HTML source, takes ages to
return, eventually forwarding onto css.pbase.com. A request to
css.pbase.com returns fast. Is something up with css2, can you prevent
it being used in the pages?

css1.pbase.com wrote:lkind@kelvin:~% wget --cache=off 'http://css2.pbase.com/styles/16269.css?t=1102088661'
--15:55:31-- http://css2.pbase.com/styles/16269.css?t=1102088661
=> `16269.css?t=1102088661.3'
Resolving wwwcache.csl.co.uk... done.
Connecting to wwwcache.csl.co.uk[10.100.10.23]:3128... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: http://css.pbase.com/styles/16269.css?t=1102088661 [following]
--15:55:43-- http://css.pbase.com/styles/16269.css?t=1102088661
=> `16269.css?t=1102088661.3'
Connecting to wwwcache.csl.co.uk[10.100.10.23]:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1,745 [text/css]

100%[====================================>] 1,745 1.66M/s ETA 00:00

15:55:43 (1.66 MB/s) - `16269.css?t=1102088661.3' saved [1745/1745]


css.pbase.com wrote:lkind@kelvin:~% wget --cache=off 'http://css.pbase.com/styles/16269.css?t=1102088661'
--15:57:18-- http://css.pbase.com/styles/16269.css?t=1102088661
=> `16269.css?t=1102088661.4'
Resolving wwwcache.csl.co.uk... done.
Connecting to wwwcache.csl.co.uk[10.100.10.23]:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1,745 [text/css]

100%[====================================>] 1,745 1.66M/s ETA 00:00

15:57:18 (1.66 MB/s) - `16269.css?t=1102088661.4' saved [1745/1745]



Thanks, L.

cjyphoto
 
Posts: 24


Post Fri Dec 03, 2004 11:02 am


Okay it sems they may have found the source of the current problem. Are they going to fix it? I'm not going to change all my dang galleries. The site was moving pretty quick last night now it has slowed to a crawl again. :x

wangi
 
Posts: 333


Post Fri Dec 03, 2004 11:07 am


Or, another approach add the following line to your hosts file:

Code: Select all
216.27.31.134 css2.pbase.com


This will redirect any access to the problem css2.pbase.com to the working css.pbase.com. Thus should should be able to view everones galleries quickly...

The hosts file is
Code: Select all
/etc/hosts
if you're using Linux/UNIX or (more likely)
Code: Select all
c:\winnt\system32\drivers\etc\hosts
for Windows XP, or
Code: Select all
c:\windows\system32\drivers\etc\hosts
for XP Home.

ericvision
 


Post Fri Dec 03, 2004 11:37 am


wangi wrote:Or, another approach add the following line to your hosts file:

Code: Select all
216.27.31.134 css2.pbase.com


This will redirect any access to the problem css2.pbase.com to the working css.pbase.com. Thus should should be able to view everones galleries quickly...

The hosts file is
Code: Select all
/etc/hosts
if you're using Linux/UNIX or (more likely)
Code: Select all
c:\winnt\system32\drivers\etc\hosts
for Windows XP, or
Code: Select all
c:\windows\system32\drivers\etc\hosts
for XP Home.


Eh?

insurancepi
 
Posts: 8

ok, how do I add that to my host file?

Post Fri Dec 03, 2004 11:46 am


Thanks

milindes
 
Posts: 72


Post Fri Dec 03, 2004 12:03 pm


Great job Wangi. Pbase works like a charm now.
Thanks,
Milind

lord_of_the_badgers
 
Posts: 440


Post Fri Dec 03, 2004 12:30 pm


well done for tracing the problem :)

but i'd prefer it if they fixed the server rather than us doing all this tweaking!

cjyphoto
 
Posts: 24


Post Fri Dec 03, 2004 1:04 pm


but i'd prefer it if they fixed the server rather than us doing all this tweaking!


Exactly :!: :D

ericvision
 


Post Fri Dec 03, 2004 1:33 pm


Thanks Lee. Did the tweak, and everything is working fine... only I miss the stylesheets. I wish they would hurry up and fix it. Would be nice if they kept us informed! But that is obviously asking too much. :(

Next

Board index PBase Questions and Answers style sheets are the cause of the speed problem

Who is online

Users browsing this forum: SemrushBot and 1 guest