Cache and Resource URL question for MCMS2002
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Cache and Resource URL question for MCMS2002




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Cache and Resource URL question for MCMS2002  
Hati Mizu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-22-05 01:49 AM

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





[ Post a follow-up to this message ]



    RE: Cache and Resource URL question for MCMS2002  
Mei Ying [MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-22-05 01:49 AM

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 AESecurit
y
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 uniq
ue
> 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.  On
e
> 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





[ Post a follow-up to this message ]



    RE: Cache and Resource URL question for MCMS2002  
Hati Mizu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-23-05 01:48 AM

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 o
f
> 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 AESecur
ity
> 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:
> 





[ Post a follow-up to this message ]



    RE: Cache and Resource URL question for MCMS2002  
Mei Ying [MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-24-05 12:50 PM

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 instan
ce
> of CMS that communicate with the same database?
>
> "Mei Ying [MVP]" wrote:
> 





[ Post a follow-up to this message ]



    RE: Cache and Resource URL question for MCMS2002  
Hati Mizu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-05 10: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
e2bpvxpvrecnr347dgtp3m
kecudu4hzudbbqwzqnn342ql23cmd/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 remai
n
> 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:
> 





[ Post a follow-up to this message ]



    Re: Cache and Resource URL question for MCMS2002  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-30-05 12:48 PM

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
e2bpvxpvrecnr347dgtp
3mkecudu4hzudbbqwzqnn342ql23cmd/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:
> 







[ Post a follow-up to this message ]



    Re: Cache and Resource URL question for MCMS2002  
Hati Mizu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-30-05 11: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: [url]http://tinyurl.com/6zj44[/url
]
> ----------------------
>
>
> "Hati Mizu" <HatiMizu@discussions.microsoft.com> wrote in message
> news:F158C226-8922-4482-A827-3421A4F3A73A@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:53 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register