View previous topic :: View next topic |
Author |
Message |
Lawrence -
Joined: 16 Jan 2003 Posts: 207 Location: Brisbane, AU
|
Posted: Tue Aug 23, 2005 1:46 pm Post subject: Aliased directories not updating? |
|
|
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 |
 |
 |
richardyork -
Joined: 22 Jun 2004 Posts: 411 Location: United Kingdom
|
Posted: Tue Aug 23, 2005 2:27 pm Post subject: |
|
|
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 |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Aug 23, 2005 2:29 pm Post subject: |
|
|
FF's shortcut is shift + F5 _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Lawrence -
Joined: 16 Jan 2003 Posts: 207 Location: Brisbane, AU
|
Posted: Wed Aug 24, 2005 12:34 pm Post subject: |
|
|
It's not the browser, but thanks. It's the ISP. |
|
Back to top |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Aug 24, 2005 12:36 pm Post subject: Re: Aliased directories not updating? |
|
|
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 |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Wed Aug 24, 2005 2:34 pm Post subject: |
|
|
Would a no-cache header work with Squid?
(All the proxies I knew that used it have since gone down.) _________________
 |
|
Back to top |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Aug 25, 2005 1:38 pm Post subject: |
|
|
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 |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Fri Aug 26, 2005 4:53 am Post subject: |
|
|
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 |
 |
 |
|