Apr 30, 2013 at 9:54 PM
Edited May 1, 2013 at 1:23 AM
We can reproduce the problem with these steps:
- Browse to the homepage of our Orchard site.
- Wait about 60-minutes.
- Browse again to the homepage, or just refresh.
- At this point, several embedded resource requests receive a 404 response.
- Wait about 1-minute.
- Refresh the homepage again.
- Now, the requests that received a 404 response instead receive the appropriate resources.
The resources that send a 404 are all part of themes or modules that we have created and that we then renamed. The first and second requests to the homepage have different URLs for these modules and theme. For instance:
Request One Minute Later, with Different URLs.
In the second version of each of these requests, the theme name and the module name are different. Why is that? Does it have something to do with our having changed the name of the theme & module? Does the DB still have the old name? Why would the request
We found that the Orchard database had records with the old theme name. So, we deleted those records.
DELETE dbo.Settings_ShellFeatureRecord WHERE Name = 'Bootstrap_GardenFaire'
DELETE dbo.Settings_ShellFeatureStateRecord WHERE Name = 'Bootstrap_GardenFaire'
We also deleted files in the IIS Temporary Compress Files folder.
"C:\inetpub\temp\IIS Temporary Compressed Files\orchard\$^_gzip_C^\INETPUB\ORCHARD\THEMES> > > > \BOOTSTRAP_GARDENFAIRE"
"C:\inetpub\temp\IIS Temporary Compressed Files\orchard\$^_gzip_C^\INETPUB\ORCHARD\MODULES\BIGFONTMAPS"
We then regenerated our warmup pages using Orchard > Dashboard > Settings > Performance. We don't know yet whether this will resolve the problem or not.