Editing content pages

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Editing content pages

Post by AbleMods » Sat Oct 13, 2007 1:31 am

Guys,

If I edit a content page to make the scriplet adjustment for the new [[ConLib:... format, it saves the change but the store page doesn't reflect it.

If I switch the store page into Edit Mode and edit the scriptlet content from there, it takes the change and reflects it immediately.

That supposed to happen?

Also, didn't there used to be a Scriptlet cache refresh option on the Manage Content and Layouts page?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Sat Oct 13, 2007 11:27 am

I updated the caching mechanism - to make it friendly to web gardens and also to improve the ability to edit files directly. Scriptlets are cached to memory to improve performance of the page rendering. The cache is supposed to automatically reset if a scriptlet file changes, where previously clicking the link was required to trigger the cache reset.

I will do some testing on this now.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Sat Oct 13, 2007 11:29 am

FYI, in the meantime if you edited the files directly, a restart of the ASP.NET application will also reset the cache for you. This can be accomplished a few ways:

make a non-significant change to ~/web.config file, like change a comment text

recycle the IIS application pool

restart IIS
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Sat Oct 13, 2007 12:28 pm

I located the problem and have passed a fix on for independent confirmation.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Sat Oct 13, 2007 4:17 pm

I do enjoy a good stroll through a web garden on occasion, as long as the bugs aren't too bad :)
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply