Aliased directories not updating?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Lawrence
-


Joined: 16 Jan 2003
Posts: 207
Location: Brisbane, AU

PostPosted: Tue Aug 23, 2005 1:46 pm    Post subject: Aliased directories not updating? Reply with quote

I run a wiki using the fabulous Aprelium Abyss server. Fabulous, I say.

I have an aliased directory so that the real dir:
e:\data\system\wiki\
can be accessed with
http://address/wiki/, making the URL a little easier to remember.

It works great, and has for months.

I'm tweaking the CSS files for the wiki and it's not working for me at all. If I access the wiki with the alias /wiki/ the new CSS files have no effect. If I access it with the actual path /system/wiki/ it works fine.

Having a look at the code for each URL reveals the only thing changing is the presence of /system/ in the URL to the CSS files, so it's not as if it's looking in a different place.

Does Abyss cache the files when they're aliased, or is something more sinister going on?

EDIT
Nope, it's my ISP. They use SQUID to cache the webpages, and squid - apparently - can't be bothered to update the CSS files.

What a PITA. =)
Back to top View user's profile Send private message Visit poster's website ICQ Number
richardyork
-


Joined: 22 Jun 2004
Posts: 411
Location: United Kingdom

PostPosted: Tue Aug 23, 2005 2:27 pm    Post subject: Reply with quote

Sometimes you have to empty the web browser's cache.

IE: using Ctrl+F5

FireFox: -> Tools -> Options -> Privacy -> Click "Clear All" button (I don't know the shortcut)
_________________
Please SEARCH the forums BEFORE asking questions!
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Tue Aug 23, 2005 2:29 pm    Post subject: Reply with quote

FF's shortcut is shift + F5
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Lawrence
-


Joined: 16 Jan 2003
Posts: 207
Location: Brisbane, AU

PostPosted: Wed Aug 24, 2005 12:34 pm    Post subject: Reply with quote

It's not the browser, but thanks. It's the ISP.
Back to top View user's profile Send private message Visit poster's website ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Aug 24, 2005 12:36 pm    Post subject: Re: Aliased directories not updating? Reply with quote

Lawrence wrote:

EDIT
Nope, it's my ISP. They use SQUID to cache the webpages, and squid - apparently - can't be bothered to update the CSS files.

What a PITA. =)

Yes. This is a problem with SQUID caches. We recommend using versionned file names. For example start with style-10.css. Then if you change it, link your files to style-11.css and rename the CSS file accordingly. This will force the cache to get the new version.
_________________
Support Team
Aprelium - http://www.aprelium.com


Last edited by aprelium on Thu Aug 25, 2005 1:26 pm; edited 1 time in total
Back to top View user's profile Send private message Send e-mail
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Wed Aug 24, 2005 2:34 pm    Post subject: Reply with quote

Would a no-cache header work with Squid?
(All the proxies I knew that used it have since gone down.)
_________________
Back to top View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Aug 25, 2005 1:38 pm    Post subject: Reply with quote

MonkeyNation wrote:
Would a no-cache header work with Squid?
(All the proxies I knew that used it have since gone down.)

You'll have to use these headers to force a "no cache" policy:
Code:

Cache-Control: no-cache
Pragma: no-cache

_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Fri Aug 26, 2005 4:53 am    Post subject: Reply with quote

aprelium wrote:
MonkeyNation wrote:
Would a no-cache header work with Squid?
(All the proxies I knew that used it have since gone down.)

You'll have to use these headers to force a "no cache" policy:
Code:

Cache-Control: no-cache
Pragma: no-cache


Basically what I meant, so yeah.
_________________
Back to top View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group