|
Home > Archive > Microsoft Content Management Server > June 2005 > Cache and Resource URL question for MCMS2002
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Cache and Resource URL question for MCMS2002
|
|
| Hati Mizu 2005-06-21, 8:49 pm |
| Greetings,
We are considering using a search engine appliance and wanted to make sure
our implementation of CMS is correct.
When a resource (such as a jpeg) is added to a posting, CMS generates a
Resource URL for it. In the disk cache - the rdonlyres directory - a unique
file name is generated for the file of the resource that is retrieved from
the database, the first time it is requested.
In our scenario, we have 2 CMS instances pointed to the same database. One
is read-write, the other is read-only. Will the unique file name for the
resource in the rdonlyres directory be the same for the same resource
always?? Will they ever have different file names depending on which CMS
instance it is on?
thank in advance,
Hati
| |
| Mei Ying [MVP] 2005-06-21, 8:49 pm |
| Hi
The URLs store in the search engine's index should be that returned by
Resource.Url property. It's probably not a good idea to point to the URL of
the file system object because you can't guratantee that it will always be
there. The file cache can be cleared at any time (just restart the AESecurity
service) and the file may not have been downloaded to the cache (it's only
there if someone has requested for it before).
--
regards
Mei Ying
---
Blog: http://meiyinglim.blogspot.com
Book: http://www.packtpub.com/book/mcms
Contact: meiyinglim@hotmail.com
---
"Hati Mizu" wrote:
> Greetings,
>
> We are considering using a search engine appliance and wanted to make sure
> our implementation of CMS is correct.
>
> When a resource (such as a jpeg) is added to a posting, CMS generates a
> Resource URL for it. In the disk cache - the rdonlyres directory - a unique
> file name is generated for the file of the resource that is retrieved from
> the database, the first time it is requested.
>
> In our scenario, we have 2 CMS instances pointed to the same database. One
> is read-write, the other is read-only. Will the unique file name for the
> resource in the rdonlyres directory be the same for the same resource
> always?? Will they ever have different file names depending on which CMS
> instance it is on?
>
> thank in advance,
>
> Hati
| |
| Hati Mizu 2005-06-22, 8:48 pm |
| Will the file system object URL always be the same across different instance
of CMS that communicate with the same database?
"Mei Ying [MVP]" wrote:
[vbcol=seagreen]
> Hi
>
> The URLs store in the search engine's index should be that returned by
> Resource.Url property. It's probably not a good idea to point to the URL of
> the file system object because you can't guratantee that it will always be
> there. The file cache can be cleared at any time (just restart the AESecurity
> service) and the file may not have been downloaded to the cache (it's only
> there if someone has requested for it before).
> --
> regards
> Mei Ying
> ---
> Blog: http://meiyinglim.blogspot.com
> Book: http://www.packtpub.com/book/mcms
> Contact: meiyinglim@hotmail.com
> ---
>
>
> "Hati Mizu" wrote:
>
| |
| Mei Ying [MVP] 2005-06-24, 7:50 am |
| Hi
So far, I've looked at the files generated on the servers in our web farm
and the names look identical. But we won't really know if they would remain
that way unless we know the logic behind naming the files. And this bit of
information is not documentated so... Perhaps we could post this question
again when Stefan returns from vacation :-)
--
regards
Mei Ying
---
Blog: http://meiyinglim.blogspot.com
Book: http://www.packtpub.com/book/mcms
Contact: meiyinglim@hotmail.com
---
"Hati Mizu" wrote:
[vbcol=seagreen]
> Will the file system object URL always be the same across different instance
> of CMS that communicate with the same database?
>
> "Mei Ying [MVP]" wrote:
>
| |
| Hati Mizu 2005-06-29, 5:52 pm |
| Hmm..
Well here is our situation: below is a list of URLs for the same image on a
posting but on different CMS instances using the same database
read-only web site:
http://www.mysite.com/NR/rdonlyres/...icipal+Site.jpg
read-write web site:
http://www.mysite.com/NR/rdonlyres/...icipal+Site.jpg
but when you view the source in the placeholder for this page, the image has
the URL is:
/NR/rdonlyres/ e5qdjgm4ylkpbppozade6o4fs44mejyxhocbu2rc
e2bpvxpvrecnr347dgtp3mkecudu4hzudbbqwzqn
n342ql23cmd/Municipal+Site.jpg
Presumably, the 3rd URL is the one used by CMS when it is uncached. However
when it gets cached, it seems the other URLs above are rendered in the
posting for browsers. This is confusing. Is this expected behaviour?
"Mei Ying [MVP]" wrote:
[vbcol=seagreen]
> Hi
>
> So far, I've looked at the files generated on the servers in our web farm
> and the names look identical. But we won't really know if they would remain
> that way unless we know the logic behind naming the files. And this bit of
> information is not documentated so... Perhaps we could post this question
> again when Stefan returns from vacation :-)
>
> --
> regards
> Mei Ying
> ---
> Blog: http://meiyinglim.blogspot.com
> Book: http://www.packtpub.com/book/mcms
> Contact: meiyinglim@hotmail.com
> ---
>
>
> "Hati Mizu" wrote:
>
| |
| Stefan [MSFT] 2005-06-30, 7:48 am |
| Hi Hati,
it seems you did not synchronize the MCMS encryption keys using the
managekey.exe utility.
Check the IIS help file for details.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Hati Mizu" <HatiMizu@discussions.microsoft.com> wrote in message
news:F158C226-8922-4482-A827-3421A4F3A73A@microsoft.com...[vbcol=seagreen]
> Hmm..
>
> Well here is our situation: below is a list of URLs for the same image on
> a
> posting but on different CMS instances using the same database
>
> read-only web site:
> http://www.mysite.com/NR/rdonlyres/...icipal+Site.jpg
>
> read-write web site:
> http://www.mysite.com/NR/rdonlyres/...icipal+Site.jpg
>
> but when you view the source in the placeholder for this page, the image
> has
> the URL is:
> /NR/rdonlyres/ e5qdjgm4ylkpbppozade6o4fs44mejyxhocbu2rc
e2bpvxpvrecnr347dgtp3mkecudu4hzudbbqwzqn
n342ql23cmd/Municipal+Site.jpg
>
> Presumably, the 3rd URL is the one used by CMS when it is uncached.
> However
> when it gets cached, it seems the other URLs above are rendered in the
> posting for browsers. This is confusing. Is this expected behaviour?
>
>
> "Mei Ying [MVP]" wrote:
>
| |
| Hati Mizu 2005-06-30, 6:00 pm |
| Thanks Stefan!
"Stefan [MSFT]" wrote:
> Hi Hati,
>
> it seems you did not synchronize the MCMS encryption keys using the
> managekey.exe utility.
> Check the IIS help file for details.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Hati Mizu" <HatiMizu@discussions.microsoft.com> wrote in message
> news:F158C226-8922-4482-A827-3421A4F3A73A@microsoft.com...
>
>
>
|
|
|
|
|