Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Reload resources' does not affect the JavaScriptResourceHandler #207

Open
SergeyZhilyakov opened this issue Mar 29, 2021 · 0 comments
Open

Comments

@SergeyZhilyakov
Copy link

SergeyZhilyakov commented Mar 29, 2021

I noticed that if I click 'Reload resources', the resources loaded via the JavaScriptResourceHandler are not affected. So in order to apply the changes I have to restart the application pool.

The url looks as follows:

http://DOMAIN/JavaScriptResourceHandler.axd?ResourceSet=Global&LocaleId=de&VarName=resources&ResourceType=resdb&ResourceMode=1

Here is the config:

<add key="ConnectionString" value="DefaultConnection" />
<add key="StronglyTypedGlobalResource" value="~/Resources/Global.Designer.cs" />
<add key="ResourceBaseNamespace" value="MY.Resources" />
<add key="ResxBaseFolder" value="~/Resources/" />
<add key="AddMissingResources" value="False" />
<add key="ActiveConfiguration" value="" />
<add key="ResourceAccessMode" value="DbResourceManager" />
<add key="ResourceTableName" value="Localizations" />
<add key="ResxExportProjectType" value="Project" />
<add key="LocalizationFormWebPath" value="~/LocalizationAdmin/" />
<add key="DataProvider" value="SqlServer" />
<add key="StringLocalizerResourcePath" value="Resources" />

I wonder if there is a way to clear the cache when the 'Reload resources' is clicked. Thanks.

Meanwhile it works fine on localhost. As far as I understood, the problem might be in the time zones. In my case the production server is in different time zone.

@SergeyZhilyakov SergeyZhilyakov changed the title Reload resources does not affect JavaScriptResourceHandler 'Reload resources' does not affect the JavaScriptResourceHandler Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant